You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am writing a tech support chatbot. The problem is the user can engage the chatbot after the user has had a long conversation with a tech support agent. When the chatbot is first engaged, I want to pre-fill its memory or system prompt with a summary of the conversation up to the point where the chatbot was engaged by the user.
Is this even possible? I know I can create a custom tool that would be able to summarize the thread, but I just need the summary of the thread to be generated when the chatbot is first called by the user. Could I use variables? Its not clear if each chatId will get its own instance of the variables, or if the variables are global and shared by all chatIds?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am writing a tech support chatbot. The problem is the user can engage the chatbot after the user has had a long conversation with a tech support agent. When the chatbot is first engaged, I want to pre-fill its memory or system prompt with a summary of the conversation up to the point where the chatbot was engaged by the user.
Is this even possible? I know I can create a custom tool that would be able to summarize the thread, but I just need the summary of the thread to be generated when the chatbot is first called by the user. Could I use variables? Its not clear if each chatId will get its own instance of the variables, or if the variables are global and shared by all chatIds?
Beta Was this translation helpful? Give feedback.
All reactions