open-telemetry / open-telemetry/opentelemetry-python-genai
Check if anthropic and open AI instrumentations set `gen_ai.request.top_k` and `gen_ai.request.choice.count` sem convs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 39
- Forks
- 63
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 175
Description
Check out https://github.com/open-telemetry/semantic-conventions-genai/blob/main/docs/gen-ai/gen-ai-spans.md for what these are.
These were missing from the GenAi util inference invocation so might have been missed entirely.. I'm adding them in https://github.com/open-telemetry/opentelemetry-python-genai/pull/119
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the GenAI span semantic conventions at the linked gen-ai-spans.md page and inspect the GenAI util inference invocation mentioned in the issue. Compare the Anthropic and OpenAI instrumentations for gen_ai.request.top_k and gen_ai.request.choice.count, then verify whether tests cover both attributes; the referenced pull request shows related work is already underway elsewhere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100