ChatCompletionToolChoiceOption
Controls which (if any) tool is called by the model.
none means the model will not call any tool and instead generates a message.
auto means the model can pick between generating a message or calling one or more tools.
required means the model must call one or more tools.
Specifying a particular tool via {"type": "function", "function": {"name": "my_function"}} forces the model to call that tool.
none is the default when no tools are present. auto is the default if tools are present.
One OfChunkingStrategyRequestParam
objectThe chunking strategy used to chunk the file(s). If not set, will use the auto strategy.
One OfAlways auto.
Allowed values:auto
CompleteUploadRequest
objectThe ordered list of Part IDs.
The optional md5 checksum for the file contents to verify if the bytes uploaded matches what you expect.
CompletionUsage
objectUsage statistics for the completion request.
Number of tokens in the generated completion.
Default:0
Number of tokens in the prompt.
Default:0
Total number of tokens used in the request (prompt + completion).
Default:0
Breakdown of tokens used in a completion.
Show Child Parameters
Breakdown of tokens used in the prompt.
Show Child Parameters
CostsResult
objectThe aggregated costs details of the specific time bucket.
Allowed values:organization.costs.result
The monetary value in its associated currency.
Show Child Parameters
When group_by=line_item, this field provides the line item of the grouped costs result.
When group_by=project_id, this field provides the project ID of the grouped costs result.