Files
openrouter-python-sdk-retry…/src/openrouter/components/taskclassificationmodel.py
T
github-actions[bot]GitHubspeakeasybotspeakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
5e0b1a2b69 chore: 🐝 Update SDK - Generate 0.10.1 (#366)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2026-06-25 22:01:36 +00:00

26 lines
1.3 KiB
Python
Raw 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.
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
from __future__ import annotations
from openrouter.types import BaseModel
from typing_extensions import TypedDict
class TaskClassificationModelTypedDict(TypedDict):
id: str
r"""Model identifier (permaslug)."""
tag_token_share: float
r"""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)."""
tag_usage_share: float
r"""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)."""
class TaskClassificationModel(BaseModel):
id: str
r"""Model identifier (permaslug)."""
tag_token_share: float
r"""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)."""
tag_usage_share: float
r"""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)."""