Open tslmy opened 8 months ago
hi @tslmy thanks for filing an issue. Good call-out. the output of tools very often shows up in the subsequent LLM call but you are right - it's probably a good idea to capture this as part of the span. We will work with the LlamaIndex team to get visibility into this!
There is
llm.output_messages
for LLM calls. There isembedding.vector
for embedding model calls. There isretrieval.documents
for retrieval results. But there is notool_call.output
for tool calls:https://github.com/Arize-ai/open-inference-spec/blob/d03ce2f508ff97e601478e96b2c0a22d9d0b5b11/trace/spec/semantic_conventions.md?plain=1#L42-L43
Should we add it?
I believe this is the cause of https://github.com/run-llama/llama_index/issues/9770 .