Skip to content
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

Merged
merged 3 commits into from
May 21, 2024
Merged

feat(llm-monitoring): Docs for LLM monitoring #1285

merged 3 commits into from
May 21, 2024

Conversation

colin-sentry
Copy link
Member

No description provided.

Copy link

vercel bot commented May 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2024 4:09pm

Comment on lines 18 to 27
| 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` |
Copy link
Member

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?

Copy link
Member Author

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

@colin-sentry colin-sentry merged commit f2092c6 into master May 21, 2024
4 of 5 checks passed
@colin-sentry colin-sentry deleted the llm branch May 21, 2024 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants