Picture8.png

AI Agents can leverage any textual context to inform their reasoning and produce better results for the customer. Contextual information can come from the Cognigy.AI Context, but the AI Agent can also be given access to the Cognigy.AI Contact Profile information of the current user in order to personalize the experience. In AI Agents we call this Long-Term Memory.

The Cognigy.AI Contact Profile stores general contact information like name, email and alike. It also can contain more descriptive information (called Memories) like "The user wants to be called by their first name.", "The user's favorite color is orange.", "The user's anniversary is on August 1st.", or "The user prefers an aisle seat on long-distance flights."

Long-term memory is ideal for remembering user-specific details across conversations or sessions. Once stored against the Contact Profile, the information will be available the next time a user chats or calls.

You can also use short-term memory, which allows you to utilize data specific to the current conversation. Unlike long-term memory, short-term memory is not stored or saved after the conversation ends.

To enable access to the customer’s contact profile, you only need the following step:

  1. Configure the AI Agent Node settings in the memory handling section of the AI Agent Node.
    For example, you might set the Long-Term Memory Injection option to “Inject full Contact Profile” to give the AI Agent full access to the customer’s Contact Profile, including all fields and memories.

    Alternatively, you can use the Data Privacy & Security settings on the AI Agent level to configure the usage of Contact Profile Information for all jobs to which this AI Agent was assigned.
    Picture9.png

  2. To simulate having a profile, you can add an Update Profile Node to the top of your Flow.
    Insert an Update Profile node at the start of your Flow and configure it to set fields such as the user's first name as an example. You could also use a code node and update the properties of the profile object (e.g. profile.firstname = “Sascha”;)

When speaking to the AI Agent now, the AI Agent will know your first name and use it flexibly in the conversation.


➡️ Now. let's deploy your AI Agent!


Comments

0 comments

Please sign in to leave a comment.

Was this article helpful?
0 out of 0 found this helpful