You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, @tkanhe-karini! I'm here to help you with any bugs, questions, or contributions you have. Let's work together to solve the issue you're facing.
The completion.0.content attribute is missing in the traces when using the Cohere reranker because the _set_span_rerank_response function does not set this attribute. It sets attributes for each document in the rerank response using the LLM_COMPLETIONS prefix, but not specifically as completion.0.content[1].
Which component is this bug for?
Cohere Instrumentation
📜 Description
When using cohere reranker, in traces I'm getting prompt.0.content but completion.0.content attribute is missing.
👟 Reproduction steps
I'm using the following code:
👍 Expected behavior
The traces should contain the completion.0.content attributes.
👎 Actual Behavior with Screenshots
Getting the following traces. It contains prompt.0.content but completion.0.content is missing.
🤖 Python Version
3.10
📃 Provide any additional context for the Bug.
dependencies:
👀 Have you spent some time to check if this bug has been raised before?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: