microsoft / autogen

A programming framework for agentic AI 🤖
https://microsoft.github.io/autogen/
Creative Commons Attribution 4.0 International
30.83k stars 4.5k forks source link

How can I correspond the database data in runtime_logging with actual runtime outputs? #2670

Open kev1nzh37 opened 4 months ago

kev1nzh37 commented 4 months ago

Describe the issue

For example, consider the following runtime output:

kevaaa (to Assistant):

call me sager

--------------------------------------------------------------------------------

>>>>>>>> USING AUTO REPLY...
Assistant(to kevaaa):

Of course, Sager. How can I assist you today?

I can find detailed information about this entry in the database file, but I can't figure out their correlation.

For instance, I want to know from which agent a particular entry in the chat_completions table originated? Who was it responding to? Additionally, the IDs in the agents table do not correspond to any responses.

I would like to use runtime_logging to perfectly reconstruct the output logs. How can I achieve this?

Steps to reproduce

No response

Screenshots and logs

No response

Additional Information

No response

ekzhu commented 4 months ago

It's not possible now due to the the outputs are not part of the logs. We can add these output events to runtime logging. See #2423

lalo commented 4 months ago

https://github.com/microsoft/autogen/pull/2526

LLotme commented 1 month ago

:::