ChatGPT memory key

I used Zappier before where there is a memory key option in ChatGPT module, where chatgpt keeps history of the conversation with each client. How can i do that with Make? It makes conversational outputs so much better.

thank you, K

According to the OpenAI API documentation,

Because the models have no memory of past requests, all relevant information must be supplied as part of the conversation history in each request.
OpenAI Platform

You can use the data store or any connected third-party module to store such data so you can retrieve and append them to a future request.

3 Likes

Thanks, yeah its what i was thinking, but i am not sure how to go about it.
I wanted to be sure that i am not missing something in the chatGPT settings and module.

does anyone have any idea how to pass in the old conversation to chatgpt so that we can let chatgpt to follow the context ?

@yyshin You’ll need to build the JSON of previous + current messages, then pass it to the “Messages” field using the “Map” toggle:

Screenshot_2023-09-25_130922

For more information, see the linked Chat completions API.

2 Likes