Find answers from the community

Updated 6 months ago

Is there a way to add additional logging

At a glance

The community member is looking for an easy way to add additional logging to see what chunks are received. One community member suggests checking the response.source_nodes to see the chunks, and another community member wants to see what information the agents are getting from tools and how they are reasoning about that information.

The consensus from the comments is that there is no easy way to add additional logging, but the community members suggest using existing callback handlers like Arize or OpenTelemetry, or writing a custom logging solution. One community member provides a link to documentation on observability options.

Useful resources
Is there a way to add additional logging easily? To see what chunks are received etc
L
m
4 comments
You can check the chunks in the response object

response.soure_nodes
My response is just text, and I'm using agents so I want to see what info they are getting from tools and how they are reasoning about that info
well, no (easy) way to log -- youd have to use an existing callback handler (I would use arize, openllmetry) or write your own

https://docs.llamaindex.ai/en/stable/module_guides/observability/observability.html#partner-one-click-integrations
Add a reply
Sign up and join the conversation on Discord