@John Jairo Parra
There are different ways to do it – some simpler than others.
In OpenAI’s ‘Completion’ endpoint, the only way to include memory is by sending all previous interactions (all questions and answers). To do this using the native integration, you need to manage this history yourself, and keep concatenating all questions and answers in the Prompt you send so the AI has context. It's quite a bit of work!
If you do it using the API (connecting Manychat directly to OpenAI), you have more control and options. You’ll still need to manage the memory, but you have flexibility in how you do it. We have a course on how to do this and also a ready-to-install template (you can literally get it working in 5 minutes). That template already handles all the memory—you just need to set your Prompt.
If you want to level up in complexity, you can use an OpenAI Assistant. Assistants have built-in memory (managed by OpenAI), but the integration is much more complex. We also have a ready-to-install template for that.
Take a look at the content we have at https://superarmeonline.com (it’s in Spanish though!)– you’ll find both the courses and the templates there.
And if you have any questions, I’m here to help!