Skip to content

Commit 60c8e56

Browse files
authored
docs: add reasoning attributes (#100)
1 parent 5339e8c commit 60c8e56

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openllmetry/contributing/semantic-conventions.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ This is a work in progress, and we welcome your feedback and contributions!
3434
- `gen_ai.usage.prompt_tokens` - The number of tokens used for the prompt in the request
3535
- `gen_ai.usage.completion_tokens` - The number of tokens used for the completion response
3636
- `gen_ai.usage.total_tokens` - The total number of tokens used
37+
- `gen_ai.usage.reasoning_tokens` (OpenAI) - The total number of reasoning tokens used as a part of `completion_tokens`
38+
- `gen_ai.request.reasoning_effort` (OpenAI) - Reasoning effort mentioned in the request (e.g. `minimal`, `low`, `medium`, or `high`)
39+
- `gen_ai.request.reasoning_summary` (OpenAI) - Level of reasoning summary mentioned in the request (e.g. `auto`, `concise`, or `detailed`)
40+
- `gen_ai.response.reasoning_effort` (OpenAI) - Actual reasoning effort used
3741

3842
- `llm.request.type` - The type of request (e.g. `completion`, `chat`, etc.)
3943
- `llm.usage.total_tokens` - The total number of tokens used

0 commit comments

Comments
 (0)