-
Notifications
You must be signed in to change notification settings - Fork 6
Adding RubyLLM Support #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
14bb1e6
987d252
6b2bc5f
3e0b4c5
da3f2b4
6509a5d
c17e1eb
f7a7591
9392c5e
668e15e
ada94a8
c4c1666
cbcfb22
3d4fc21
ee923fe
679792b
a557af9
3e089d9
365e69e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,6 +30,18 @@ module SpanAttributes | |
|
|
||
| # Deprecated | ||
| TRACELOOP_CORRELATION_ID = "traceloop.correlation.id" | ||
|
|
||
| # Gen AI | ||
| GEN_AI_REQUEST_MODEL = "gen_ai.request.model" | ||
| GEN_AI_RESPONSE_MODEL = "gen_ai.response.model" | ||
| GEN_AI_USAGE_OUTPUT_TOKENS = "gen_ai.usage.output_tokens" | ||
| GEN_AI_USAGE_INPUT_TOKENS = "gen_ai.usage.input_tokens" | ||
| GEN_AI_COMPLETIONS = "gen_ai.completion" | ||
| GEN_AI_PROMPTS = "gen_ai.prompt" | ||
| GEN_AI_SYSTEM = "gen_ai.system" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result:
What to use instead:
Sources: 🏁 Script executed: # Check the file context around lines 31-32 and 41-42
cat -n semantic_conventions_ai/lib/opentelemetry/semantic_conventions.rb | sed -n '25,50p'Repository: traceloop/openllmetry-ruby Length of output: 1250 Mark
🤖 Prompt for AI Agents |
||
| GEN_AI_PROVIDER = "gen_ai.provider.name" | ||
| GEN_AI_CONVERSATION_ID = "gen_ai.conversation.id" | ||
| GEN_AI_BEDROCK_GUARDRAILS = "gen_ai.bedrock.guardrail" | ||
| end | ||
|
|
||
| module LLMRequestTypeValues | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just replace the existing ones
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and remove references to llm semantics?