Skip to content

MixedChat_Agents - recreating conversation #8657

Closed Answered by crickman
JP-droidic asked this question in Q&A
Discussion options

You must be logged in to vote

We are currently working on a feature to serialize and deserialize AgentChat (which AgentGroupChat will fully support). If your scenario is bound to a mixed agent scenario, then this feature is likely required. We hope to have this available within the next few weeks.

If you are using one agent type (only ChatCompletionAgent or OpenAIAssistantAgent), then you could preserve either the ChatHistory or ThreadId in storage for retreival. If your service has the concept of a user-session, then you'd retrieve the appropriate state according to that session-key (which is likely component of the URI in your REST API).

Note: For the ChatHistory case, I might store each message as separate documen…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JP-droidic
Comment options

Answer selected by sophialagerkranspandey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants