Siddhant Rao
Siddhant Rao
@nirga is anyone working on this?. if not can I take a shot at this?
Hey @apuwk I'm already working on this task
Hey @nirga . I am working on this and I have some code ready. I need your assistance to get some more clarity : 1. In order to test whether...
Added code against PR #1371 @nirga I have made some changes, I have written the function definition of `set_tools_attributes` and have called it within the `_set_input_attributes` function in `packages/opentelemetry-instrumentation-anthropic/opentelemetry/instrumentation/anthropic/__init__.py` file....
@nirga You were right, after changing the version, things are working now. Submitted PR #1372 Please review.
@nirga My friend Dwisha is working on the sample app for this as well, just FYI
@nirga The response of tool_use as the finish reason is already captured [here](https://github.com/traceloop/openllmetry/pull/1372/commits/79ee02ada803da986c31dc51cd79ca57da7cf8b5#diff-f47bd14f210d9764e30d470ea4c66c8c406df4888014309bdb152b1efb975bc3R664): When you say instrumentation of tool_use, do you mean setting the response attributes of the [Chain of...
@nirga if I have to set the response attributes as mentioned above? Which spans do I use? I ask because the only response attribute within the opentelemetry-semconv-ai package I have...
@nirga done, I have captured spans for tool_use in response as well, I have used SpanAttributes.LLM_COMPLETIONS as that is what was used in the OpenAI code.