Pre-Fill Assistant history on a thread

Hello All,

I have build a chat bot that works well on new chat starting with assistant as an agent.
I have 2 scenarios that i can not 100% get it right. I have one assistant with proper instructions and threads created to represent each chat conversation with users.

1- Assume I have a chat initiated by customer and human. can can I backfill this date on a new thread and let assistant continue the conversation.
2- Assume a human take over the chat in the middle of a conversation. How can we pass this missing data to assistant and let the assistant continue.

Thanks in advance

1 Like