Skip to content

Is there a simple way I can extract agent output from Autogen? Or save the output to local drive? #1846

Answered by ekzhu
mraguth asked this question in Q&A
Discussion options

You must be logged in to vote

chat_result = proxy.initiate_chat(assistant, message="...")

You can take a look at the chat_result object which contains the output, including messages, summary, and token usage.

If you are looking for logging, you can take a look at the logging example: https://github.com/microsoft/autogen/blob/main/notebook/agentchat_logging.ipynb

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
1 reply
@mraguth
Comment options

Answer selected by mraguth
Comment options

You must be logged in to vote
6 replies
@sonichi
Comment options

@wmwxwa
Comment options

wmwxwa Mar 11, 2024
Collaborator

@wmwxwa
Comment options

wmwxwa Mar 11, 2024
Collaborator

@mraguth
Comment options

@mraguth
Comment options

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