Python class
InputTokensDetails
InputTokensDetailsβ
class max.pipelines.request.InputTokensDetails(*, cached_tokens=None, text_tokens=None, audio_tokens=None, image_tokens=None)
Bases: BaseModel
Detailed token count information for input.
-
Parameters:
audio_tokensβ
cached_tokensβ
image_tokensβ
model_configβ
model_config: ClassVar[ConfigDict] = {'frozen': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
text_tokensβ
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!