Is there a way to access incremental ChatResult.chat_history as the conversation proceeds ? #4310
prasenmukh
started this conversation in
General
Replies: 1 comment 2 replies
-
|
This is addressed in v0.4 AgentChat. It produces a stream of messages as an async generator. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way I can register functions with initiate_chat() so that I can keep receiving the incremental chat_history messages. I would need incremental OpenAI responses to show it on my custom UI. One way is to set my own stdin and stdout and then try to parse stdout. Is there a better way around so that I don't have to write a stdout parser.
Beta Was this translation helpful? Give feedback.
All reactions