Setting up Memory For AI

Modified on Tue, 1 Aug, 2023 at 9:41 PM

Memory simply gives your AI the ability to remember previous conversations, making the interaction more intuitive. You can see the following toggle upon creating a new AI project or when configuring an AI project:

Memory via SSE or HTTP Request

The system uses the Channel Token in your SSE or HTTP Request endpoint call as the unique identifier for memory. For instance, if your SSE call is:

https://payload.vextapp.com/sse/${assigned_sse_token}/post/helloworld

Then the helloworld is your unique identifier. The system now will remember up to 5 queries (query + response) and up to 5 minutes for anything related to the helloworld unique identifier.


We recommend using your user's "User ID" as the channel token here as it:

  • Is unique and has zero to no chance of overlapping/repeating
  • Is user-specific; memory is tied to a designated user

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article