-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
feat(llm-monitoring): Docs for LLM monitoring #1285
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| Attribute | Type | Description | Examples | | ||
|-----------------------------|---------|-------------------------------------------------------|------------------------------------------| | ||
| `ai.input_messages` | string | The input messages sent to the model | `[{"role": "user", "message": "hello"}]` | | ||
| `ai.completion_tоkens.used` | int | The number of tokens used to respond to the message | `10` | | ||
| `ai.prompt_tоkens.used` | int | The number of tokens used to process just the prompt | `20` | | ||
| `ai.total_tоkens.used` | int | The total number of tokens used to process the prompt | `30` | | ||
| `ai.model_id` | list | The vendor-specific ID of the model used | `"gpt-4"` | | ||
| `ai.streaming` | boolean | Whether the request was streamed back | `true` | | ||
| `ai.responses` | list | The response messages sent back by the AI model | `["hello", "world"]` | | ||
| `ai.pipeline.name` | string | The description of the parent ai.pipeline span | `My AI pipeline` | |
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.
Are these all optional or are some required?
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.
everything but streaming
is required
No description provided.