ChatHistory Serialization & Deserialization with GroupChatOrchestration #12396
Replies: 2 comments
-
Hi @hellodhana, Thank you for your question! I am assuming you want to invoke the group chat orchestration with some context. This is possible by sending a list of messages to invoke the orchestration. And to save the conversation, you need to overwrite the Please note that in the new orchestrations, the agents do not share a single chat history as agents may perform internal processing before responding to a request thus the internal processing steps (tool calling) aren't shared. Feel free to reach out if you need further assistance. |
Beta Was this translation helpful? Give feedback.
-
Hi @TaoChenOSU , @hellodhana ! I would like to follow up on the conversation because serialization/deserialization of After doing some investigation, it appears that extending First, you need to define your own orchestration class:
The key here is Then the idea is to fill chat history from previous conversations because you will have to create a new instance of
It’s a much simpler solution than extending Good luch with your chat app 😊 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am migrating from AgentGroupChat to GroupChatOrchestration. We use teams chatbot for our Multiagent orchestration and we serialize and deserialize messages between every user conversation. Earlier we used serialize/deserialize functionality from ChatHistory to do this.
How to do this with GroupChatOrchestration and InProcessRuntime? What is recommended approach to persist context between multi turn conversation?
Beta Was this translation helpful? Give feedback.
All reactions