Files
openrouter-python-sdk-retry…/docs/components/taskclassificationmodel.mdx

11 lines
4.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "TaskClassificationModel"
---
## Fields
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id` | *str* | :heavy_check_mark: | Model identifier (permaslug). | openai/gpt-4.1-mini |
| `tag_token_share` | *float* | :heavy_check_mark: | Fraction of this classification's sampled token volume attributed to this model (01). Sums to ≤1 across the returned models (only top-N are included and unattributed requests are excluded). | 0.75 |
| `tag_usage_share` | *float* | :heavy_check_mark: | Fraction of this classification's sampled requests attributed to this model (01). Sums to ≤1 across the returned models (only top-N are included and unattributed requests are excluded). | 0.55 |