T
Typebot3mo ago
Pareil

Saving the Typebot ChatGPT Assistant Conversation

Hello, I have a flow that runs text using the ChatGPT assistant. I have two variables: one that stores the user's last message and another for the assistant's last message. However, I can't find any way to save the entire conversation thread with Typebot, to keep track of what was said by my leads.
6 Replies
Pareil
PareilOP3mo ago
The issue is that an input can only have one associated variable
michaelvips
michaelvips3mo ago
the entire conversation thread you can get on open ai api, using the thread id
LiAm
LiAm3mo ago
hey @Pareil Im facing the same issue right now
Pareil
PareilOP3mo ago
@LiAm I found a solution that's not elegant at all, but it allows me to save the response. Basically, I create an intermediate variable between the steps that sets the content into a second variable. When I move from one step to another in my process, I store the previous message in a new variable so that I can keep a record of it.
No description
Baptiste
Baptiste3mo ago
If you use OpenAI Assistant, the conversation is stored on OpenAI's side, you can retrieve it with the OpenAI API like @michaelvips is mentioning
Pareil
PareilOP3mo ago
Je suis d'accord mais on doit passer par une requête http... Etc je n'ai pas trouvé de moyen direct d'envoyer la discussion sans faire une requête http

Did you find this page helpful?