.chat()
response, I'm trying to collect information about the steps executed by the agent. I mainly need to know the source of that response. Most of the time, I'm using high level APIs for simplicity, but if you think I have some way making this customization going to a low-level api, I'll be glad to hear from you.source_nodes
prop and this is great. I'm able to identify the nodes used to compose that response.source_nodes
here: https://github.com/run-llama/llama_index/blob/be63bae53227f1360472477eb2afa993791c09ce/llama-index-core/llama_index/core/objects/base.py#L47-L49source_nodes
and I'm able to access it in the response. But ObjectRetriever
is not saving the source_nodes
to the response. So even though the nodes are object functions metadata, I'd like to have access to those.