I have set up a ChatGPT Action for my Whataspp ManyChat workflow, but it is not able to maintain a natural conversation because it does not retain the context of the previous messages. Is there a workaround to handle this scenario?
That’s correct
OpenAI Completions (what the ChatGPT integration uses) does not maintain a memory - to do that, you need to use Assistants API, which is a different and more complex integration - not natively supported in Manychat.
The option you have to add memory with the ChatGPT integration is to send all conversation history in your prompt (all previous messages and replies). This takes a bunch of logic in your Manychat automation, but it’s totally possible.
If you want to go with the Assistants API route, I have a tried & tested template that I sell that handles the integration and that I use with all my clients. This is a Manychat automation that connects directly to OpenAI’s Assistants API. If you’re interested, send me a private message and we can go into details.
Could you point me towards the documentation/thread explaining how this can be done in ManyChat? I have not been able to find any such resource.
I would prefer to keep my automation under a single roof, if possible.
And then you adjust your prompt so that it considers the entire message history.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.