> 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/understanding-project-components/attributes.md). Agents can also search and read this documentation through its [MCP server](https://documentation.virtuedeep.tech/~gitbook/mcp).

# Attributes

Learn what attributes are and how they group and shape actions.

Attributes characterize [actions](https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/actions.md) by shaping their nature and context. You can consider attributes as “folders” that group actions.

For example, you can declare (create and define) an attribute called "Greetings" that contains salutation statements such as "*Hello, how are you today?*" and "*Hi!*".

All actions must be classified by attributes; you must organize actions with common features under a common label.

{% hint style="info" %}

### Attribute personalization

Attributes help to determine the action that is selected for delivery as a result of triggering a logic. Instead of mapping a specific action to a logic, you configure the attribute that groups related actions. This enables you to incorporate personalization in logics using attributes.

For example, you can declare an attribute called "ambient\_music" that contains three content actions, which are links to three different soothing music (audio) files. You can then map a logic output to this attribute so that any of these calming songs are played when the logic's variables are satisfied.

You can also enable the condition that allows EDAA™, the underlying technology that powers Affective Computing (powered by Virtue), to generate actions inside an attribute that are coherent with the attribute's purpose. Doing this would help you enhance the level of personalization that your solution can deliver.
{% endhint %}

## One attribute, many action types

Attributes used to be divided into three separate kinds — content, interaction and triggered action. They are not any more. There is one kind of attribute, and the type belongs to the actions inside it rather than to the attribute itself.

A single attribute can hold actions of all three types at once:

| Action type      | What it delivers                        |
| ---------------- | --------------------------------------- |
| Media            | Content shown to the user               |
| Interaction      | A conversational turn                   |
| Triggered action | An action performed in your application |

An attribute named "Welcome" might hold two interactions, two media items and one triggered action. That is one attribute, not three.

## How a logic output chooses an action

A [logic](https://documentation.virtuedeep.tech/affective-computing-by-virtue/designing-solutions-powered-by-affective-computing/understanding-project-components/logics.md) output names **a type** and **an attribute**. When the logic fires, only the actions of that type inside the attribute are eligible, and one of them is delivered through an interaction channel output.

Taking the "Welcome" attribute above:

| The output asks for | What can be delivered       |
| ------------------- | --------------------------- |
| Interaction         | One of the two interactions |
| Media               | One of the two media items  |
| Triggered action    | The single triggered action |

So one attribute can serve three different outputs, each receiving the kind of action it asked for. An attribute that holds no action of the requested type is not offered for that output at all.

This is what makes the grouping worth doing: you curate a set of related actions once, and each output draws the appropriate kind from it.

## Attributes belong to your account

Attributes and the actions inside them belong to your account rather than to a single project, so the same attribute can be used by logics across several projects. You can still filter attribute listings by project, project domain or project function when you want to see what a particular project draws on.

## Creating and managing attributes

An attribute is created empty, carrying nothing but a name. Actions arrive afterwards through feeding.

You can create and manage attributes using the Portal, our no-code SaaS GUI platform, or through a low-code integration with our APIs.

### Working with attributes using the Portal

{% content-ref url="/pages/QffXR5LWEuKEbdx4RTLy" %}
[Feeding actions and attributes](https://documentation.virtuedeep.tech/guides/using-the-portal/feeding-actions-and-attributes.md)
{% endcontent-ref %}

### Working with attributes using APIs

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

***

### Related information

{% content-ref url="/pages/FUx2jB0tZ6mGCqddmii9" %}
[Action and attribute feeding](https://documentation.virtuedeep.tech/affective-computing-by-virtue/about-our-framework/edaa-tm-features/action-and-attribute-feeding.md)
{% endcontent-ref %}
