mgtaskiran
mgtaskiran2mo ago

mgtaskiran - Hi all, i have question about savi...

Hi all, i have question about saving open ai thread id in database and retrieve it when it is used before.. I saved the information by using create document and get the document information in under nodes. but I cant get the assistant to remember previous conversations and use them ...
2 Replies
Gaurav Chadha
Gaurav Chadha2mo ago
Hi @mgtaskiran, you can query your BuildShip collection again to get the threadId and get the array of ThreadId and then pass it to the Assistant's threadID, here's a sample remix flow of Telegram Nutribot which stores the threadId in collection and use history to send the threadIds to Assistant - https://app.buildship.com/remix/321eba1c-4e42-483c-8df0-89e0e0ae2715 You can specifically refer to these nodes in the workflow to understand the history logic. - Get History - Get Thread ID - Create ID
BuildShip - Visual backend workflow builder
Visually build workflows and powerful backend logic for your apps. Powered by AI, connect to anything with or without code.
mgtaskiran
mgtaskiranOP2mo ago
thank you!

Did you find this page helpful?