OpenAI message history for conversation

Hey! Have a problem that the AI connection with OpenAI does not remember a customer's entire conversation, including what the customer wrote previously. How do I make it remember previously sent messages? 👍🏻
I want to be able to have a dialogue with the customer where the AI connection has to remember to be able to answer a question where previous messages from the conversation are taken into account. #help-and-questions
10 Replies
Baptiste
Baptiste14mo ago
Hey man Have you tried the Basic ChatGPT template? Right off the bat it stores the conversation history and pass it to OpenAI block As an alternative you can use the "Ask assistant" action. Where the memory is automatically handled by OpenAI assistant.
Johan Lindberg
Johan LindbergOP14mo ago
Hey! I did use the Basic ChatGPT template. Check out the PM I just sent to you @Baptiste
Baptiste
Baptiste14mo ago
Can you just provide a video recording showing the issue? Because I am not sure to understand what the issue is then 😅
Johan Lindberg
Johan LindbergOP14mo ago
Yeah, send it 🙂 @Baptiste
lazmo88
lazmo8814mo ago
@Baptiste does Typebot fully support openai custom assistants and new memory functions?
Baptiste
Baptiste14mo ago
Yes see the « Ask assistant » action in the OpenAI block
Jonathan DUMONT
Jonathan DUMONT12mo ago
Interesting, how does that work, exactly, example if I want to recall the memory of a previous chat to add more context. My user identify themselves via their email I saw on the OpenAI side it creates a VectorDB per chat ? Am I wrong by trying to recall this DB ?
Baptiste
Baptiste12mo ago
As long as you provide the same Thread ID, it will continue the thread
Jonathan DUMONT
Jonathan DUMONT12mo ago
And how you pass the thread id to OpenAI assistant or vectorDB ?
Baptiste
Baptiste12mo ago
OpenAI: https://docs.typebot.io/editor/blocks/integrations/openai#ask-assistant Typebot does not have an integration with vectorDB for now

Did you find this page helpful?