> For the complete documentation index, see [llms.txt](https://documentation.virtuedeep.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/how-to-set-up-a-solution.md).

# How to set up a solution

Learn about the different aspects of setting up your solution.

Setting up a solution that leverages Affective Computing (powered by Virtue)'s capabilities includes the following stages:

1. [#understanding-how-affective-computing-fits-into-your-solution-ecosystem](#understanding-how-affective-computing-fits-into-your-solution-ecosystem "mention")
2. [Connecting a language model to your tenant](#connecting-a-language-model)
3. [Creating one or multiple Affective Computing (powered by Virtue) projects](#creating-and-managing-projects)
4. [Parameterizing the projects](#parameterizing-a-project)

## Understanding how Affective Computing fits into your solution ecosystem

The first step to getting started with Affective Computing is identifying how you want to leverage our platform's capabilities:

1. Identify your solution's domain and define its real-world applications.
2. Identify which [Affective Computing by Virtue services](https://documentation.virtuedeep.tech/affective-computing-by-virtue/affective-computing-by-virtue.md) you need.
3. Determine whether you need to build a solution from scratch or integrate an existing solution with Virtue's platform.

### Building a blue-ocean solution

You can develop a solution that taps into a completely blue-ocean market.

> "Blue-ocean" is a term that refers to new, unknown, or unexplored market spaces where innovators are not obstructed by limitations or competitors. It is an analogy that describes exploring the vast and untapped potential for growth in an uncontested market. The strategy for venturing into blue ocean markets often involves creative and transformative thinking.

Infusing emotion analysis into your solution to improve its human-centricity embodies the concept of a blue-ocean venture in the current technological landscape.

Virtue aims to help you thrive in these markets with our proprietary Affective Computing AIaaS, which helps you factor in authentic human emotions and safeguard human contributions and privacy.

### Building a domain-specific solution

You can build a solution that caters to a specific domain.

{% hint style="info" %}
A **solution** is the pairing of a domain and a function, held as one named thing on the platform rather than as two fields you set per project. You establish your solution's domain by picking the solution when you create a project, and the domain and function come with it.

See [Working with solutions](https://documentation.virtuedeep.tech/guides/using-the-public-apis/working-with-solutions.md).
{% endhint %}

### Considerations when building a solution from scratch

When building a solution from scratch, it is critical to identify its goals and desired impact, carefully design its workflow, and plan and develop its components in a way that enables it to integrate with Affective Computing by Virtue.

{% hint style="success" %}
Remember, Virtue's framework serves as the engine for providing human-centric capabilities to *your* solution that you can design and build based on your unique requirements.
{% endhint %}

:heavy\_check\_mark: Think about how your end-users would interact with your solution. For example, would your users use a custom app that they would need to download onto their personal devices?

> Consider a digital museum guide that provides information to visitors when they explore various interactive exhibits.
>
> This is an excellent use case for elevating user experiences by incorporating personalization. By integrating Affective Computing by Virtue, you can, for example, deliver personalized content tailored to each user's personality and emotional state when they visit specific exhibits.

{% hint style="success" %}
You must factor in integration with Affective Computing when designing and developing this interface.

For example, this could include doing the following:

1. Authenticating your interface to send requests to our public APIs.
2. Set up a script to pass user inputs in real time from the interface to Affective Computing by Virtue through the **interact\_value** parameter of the `Interaction/Interact` API.
   {% endhint %}

:heavy\_check\_mark: Plan how you want to collect the different physiological, behavioral, and environmental inputs (that your solution requires to achieve its goal) from users.

> Consider a system designed to ensure that taxi drivers adhere to safety protocols when driving.
>
> This is an excellent use case for tailoring preventative measures to users' individual personalities and emotional states for maximum efficiency by integrating Affective Computing by Virtue.
>
> For example, you can monitor each driver's heart rate, identify their state of mind based on their speech, and proactively deliver actions that reinforce safety standards.

{% hint style="success" %}
You must procure compatible devices or sensors (to collect real-time user inputs) and properly configure their integration with Affective Computing by Virtue.

For example, if your solution requires information about users' heart rates, this might include doing the following:

1. Procuring our recommended heart rate monitors for users.
2. Configuring the connection at the device's end (for example, over BLE or using an integration with your sensor's SDKs).
3. Authenticating the sensor to send requests to our public APIs.
4. Ensuring that heart rate measurements (in bpm) are sent by your sensor through the **beats\_Per\_Minute** parameter of the `Interaction/Interact` API.
   {% endhint %}

:heavy\_check\_mark: If your solution involves using simulation to validate an experience or coach an AI system, plan where and how you want to implement the virtual experience.

> Consider an enhancement to apparel design practices using simulation with virtual users who have personalities cloned from that of real users.
>
> This is an excellent use case for integrating Affective Computing by Virtue and leveraging our simulation capabilities to infuse personalization into the design process.

{% hint style="success" %}
You must use an external 3D game engine (for example, Unreal Engine) to implement the simulation and manage the physical aspects of the virtual environment.

You might need to define workflows and other components on this external platform and must properly integrate its output channels with Affective Computing by Virtue.

For example, this could include doing the following:

1. Configuring components on the external platform that generate the inputs you need for your solution.
2. Creating interaction channels (when parameterizing your Affective Computing project) that correspond to the inputs.
3. Authenticating your app on the external platform to send requests to our public APIs.
4. Ensuring that the inputs passed to the `Interaction/Interact` API include the respective interaction channel IDs in the **interact\_value** parameter.
   {% endhint %}

## Connecting a language model

Your tenant must have a language model connected before it can feed any content into a project. Connect one in the Portal under **Developers Hub → Third-party Connections → Language Models (LM)**: either bring your own provider, AWS Bedrock for example, or select one of the open-source models the platform offers. Offered models may carry an add-on price.

{% content-ref url="/pages/qcRsFuvHGY8dYnWtKWOP" %}
[Configuring LLMs](https://documentation.virtuedeep.tech/guides/using-the-public-apis/configuring-llms.md)
{% endcontent-ref %}

## Creating and managing projects

A project is an automated application that allows you to define and adjust its parameters to implement a solution with clear objectives that delivers a high degree of personalization.

You can create and manage projects using the Portal or our public APIs.

#### Working with projects using the Portal

{% content-ref url="/pages/IOlFBEcUNXQ8wa9s2BR2" %}
[Creating a project](https://documentation.virtuedeep.tech/guides/using-the-portal/creating-a-project.md)
{% endcontent-ref %}

#### Working with projects using APIs

{% content-ref url="/pages/VEhbJEAUV5ePt2qSfqrx" %}
[Working with projects](https://documentation.virtuedeep.tech/guides/using-the-public-apis/working-with-projects.md)
{% endcontent-ref %}

## Parameterizing a project

Parametrization is synonymous with configuration; it refers to the initial settings that you must specify for different [project components](https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components.md) to properly set up your project(s).

Parameterization is the information architecture that generates the outcome you aim to observe through your solution.

{% hint style="warning" %}
Parametrization is a critical step when setting up your solution as it affects the overall success of the framework.

For example, before declaring (creating and configuring) a triggered action (a situation in which the solution delivers an action to an end-user in response to a specific event or condition), you must first understand the conditions of delivering the action.
{% endhint %}

When working with simulation solutions (that require two projects for raw data collection and simulation, respectively), you must keep the parameterization consistent across the projects to ensure their interconnection.

By understanding and translating your solution's real-world goals to your project parameterization and linking it to your solution's performance, you can reduce the risk of unplanned behavior when running the solution.

### Parameterizing project components using the Portal

You can parameterize the following project components using the Portal, our no-code SaaS GUI platform:

<table><thead><tr><th width="276">Project component</th><th>Detailed information</th></tr></thead><tbody><tr><td><a href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-data-inputs.md">Data inputs</a></td><td><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-portal/defining-data-inputs.md">Defining data inputs</a></td></tr><tr><td><a data-mention href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/actions.md">Actions</a> and <a data-mention href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/attributes.md">Attributes</a></td><td><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-portal/feeding-actions-and-attributes.md">Feeding actions and attributes</a></td></tr><tr><td><a data-mention href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/interaction-channels.md">Interaction channels</a></td><td><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-portal/creating-interaction-channels.md">Creating interaction channels</a></td></tr><tr><td><a data-mention href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/logics.md">Logics</a></td><td><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-portal/creating-logic-blueprints.md">Creating logic blueprints</a></td></tr></tbody></table>

{% hint style="danger" %}
You can parameterize only *some* project components using the Portal.

For simulation solution projects, you must parameterize additional key project components, namely [Entities](https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/entities.md) and [Objects](https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/objects.md), that shape and determine how the simulation is implemented.

To parameterize these components and later run the simulation, you must use our APIs.
{% endhint %}

### Parameterizing project components using APIs

You can parameterize the following project components through a low-code integration with our APIs:

<table><thead><tr><th width="257">Project component</th><th>Detailed information</th></tr></thead><tbody><tr><td><a data-mention href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/entities.md">Entities</a></td><td><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-and-managing-entities.md">Creating and managing entities</a></td></tr><tr><td><a data-mention href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/objects.md">Objects</a></td><td><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-public-apis/creating-and-managing-objects.md">Creating and managing objects</a></td></tr><tr><td><a href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-data-inputs.md">Data inputs</a></td><td><ul><li><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-public-apis/working-with-projects/create-a-project.md">Create a project</a></li><li><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-public-apis/viewing-available-data-inputs-interaction-setups.md">Viewing available data inputs (interaction setups)</a></li></ul></td></tr><tr><td><a data-mention href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/actions.md">Actions</a></td><td><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-public-apis/working-with-actions-and-attributes.md">Working with actions and attributes</a></td></tr><tr><td><a data-mention href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/attributes.md">Attributes</a></td><td><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-public-apis/working-with-actions-and-attributes.md">Working with actions and attributes</a></td></tr><tr><td><a data-mention href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/interaction-channels.md">Interaction channels</a></td><td><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-public-apis/working-with-interaction-channels.md">Working with interaction channels</a></td></tr><tr><td><a data-mention href="https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/logics.md">Logics</a></td><td><a data-mention href="https://documentation.virtuedeep.tech/guides/using-the-public-apis/working-with-logics.md">Working with logics</a></td></tr></tbody></table>

***

#### Related information

{% content-ref url="/pages/v4HIEGP2vZzr1fBGoIPh" %}
[Tutorials](https://documentation.virtuedeep.tech/guides/tutorials.md)
{% endcontent-ref %}

{% content-ref url="/pages/lIVbQ0sMd062EHwLrfCg" %}
[Project management](https://documentation.virtuedeep.tech/affective-computing-by-virtue/about-our-framework/sentio-features/project-management.md)
{% endcontent-ref %}
