InvokeModelTokensRequestDict¶
Dictionary Type¶
InvokeModelTokensRequestDict
¶
Bases: TypedDict
Dictionary form of InvokeModelTokensRequest.
Attributes¶
body
instance-attribute
¶
The request body to count tokens for, formatted according to the model's expected input format. To learn about the input format for different models, see Model inference parameters and responses.