Request Headers
Authorization token (required).
Request Body
The retry token provided by a previous incomplete or failed function execution.
If true, vector completion tasks use cached votes from the global ObjectiveAI votes cache when available. Has lower priority than `retry_token`, higher priority than `from_rng`.
If true, any remaining votes from vector completion tasks are generated via RNG. Has lower priority than `retry_token` or `from_cache`.
Strategy for function execution. Defaults to 'default'. Use 'swiss_system' for vector functions to run tournament-style ranking across multiple rounds.
Variants
Default strategy for function execution.
Properties
Swiss system strategy for vector function execution.
Properties
How many vector responses for each execution. Default is 10.
How many sequential rounds of comparison. Default is 3.
If provided, a reasoning summary for the Function Execution will be generated. This reasoning summary attempts to detail why the final Output is what it is, based on AI assertions made during execution.
Properties
The Ensemble LLM to use for this completion. May be a unique ID or an inline definition.
Variants
The unique identifier for the Ensemble LLM.
An LLM to be used within an Ensemble or standalone with Chat Completions.
Properties
The full ID of the LLM to use.
For Vector Completions only, specifies the LLM's voting output mode. For "instruction", the assistant is instructed to output a key. For "json_schema", the assistant is constrained to output a valid key using a JSON schema. For "tool_call", the assistant is instructed to output a tool call to select the key.
Variants
For Vector Completions only, whether to use synthetic reasoning prior to voting. Works for any LLM, even those that do not have native reasoning capabilities.
For Vector Completions only, whether to use logprobs to make the vote probabilistic. This means that the LLM can vote for multiple keys based on their logprobabilities. Allows LLMs to express native uncertainty when voting.
A list of messages exchanged in a chat conversation. These will be prepended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
A list of messages exchanged in a chat conversation. These will be appended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
This setting aims to control the repetition of tokens based on how often they appear in the input. It tries to use less frequently those tokens that appear more in the input, proportional to how frequently they occur. Token penalty scales with the number of occurrences. Negative values will encourage token reuse.
Accepts a JSON object that maps tokens (specified by their token ID in the tokenizer) to an associated bias value from -100 to 100. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.
Values
An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.
This setting aims to control the presence of tokens in the output. It tries to encourage the model to use tokens that are less present in the input, proportional to their presence in the input. Token presence scales with the number of occurrences. Negative values will encourage more diverse token usage.
The assistant will stop when any of the provided strings are generated.
Variants
Generation will stop when this string is generated.
Generation will stop when any of these strings are generated.
Items
This setting influences the variety in the model’s responses. Lower values lead to more predictable and typical responses, while higher values encourage more diverse and less common responses. At 0, the model always gives the same response for a given input.
This setting limits the model’s choices to a percentage of likely tokens: only the top tokens whose probabilities add up to P. A lower value makes the model’s responses more predictable, while the default setting allows for a full range of token choices. Think of it like a dynamic Top-K.
This sets the upper limit for the number of tokens the model can generate in response. It won’t produce more than this limit. The maximum value is the context length minus the prompt length.
Represents the minimum probability for a token to be considered, relative to the probability of the most likely token. (The value changes depending on the confidence level of the most probable token.) If your Min-P is set to 0.1, that means it will only allow for tokens that are at least 1/10th as probable as the best possible option.
Options for selecting the upstream provider of this model.
Properties
Whether to allow fallback providers if the preferred provider is unavailable.
Whether to require that the provider supports all specified parameters.
An ordered list of provider names to use when selecting a provider for this model.
Items
A list of provider names to restrict selection to when selecting a provider for this model.
Items
A list of provider names to ignore when selecting a provider for this model.
Items
Specifies the quantizations to allow when selecting providers for this model.
Items
Options for controlling reasoning behavior of the model.
Properties
Enables or disables reasoning for supported models.
The maximum number of tokens to use for reasoning in a response.
Constrains effort on reasoning for supported reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
Variants
Controls the verbosity of the reasoning summary for supported reasoning models.
Variants
Helps to reduce the repetition of tokens from the input. A higher value makes the model less likely to repeat tokens, but too high a value can make the output less coherent (often with run-on sentences that lack small words). Token penalty scales based on original token’s probability.
Consider only the top tokens with “sufficiently high” probabilities based on the probability of the most likely token. Think of it like a dynamic Top-P. A lower Top-A value focuses the choices based on the highest probability token but with a narrower scope. A higher Top-A value does not necessarily affect the creativity of the output, but rather refines the filtering process based on the maximum probability.
This limits the model’s choice of tokens at each step, making it choose from a smaller set. A value of 1 means the model will always pick the most likely next token, leading to predictable results. By default this setting is disabled, making the model to consider all choices.
Controls the verbosity and length of the model response. Lower values produce more concise responses, while higher values produce more detailed and comprehensive responses.
Variants
Fallback Ensemble LLMs to use if the primary Ensemble LLM fails.
Items
The unique identifier for the Ensemble LLM.
An LLM to be used within an Ensemble or standalone with Chat Completions.
Properties
The full ID of the LLM to use.
For Vector Completions only, specifies the LLM's voting output mode. For "instruction", the assistant is instructed to output a key. For "json_schema", the assistant is constrained to output a valid key using a JSON schema. For "tool_call", the assistant is instructed to output a tool call to select the key.
Variants
For Vector Completions only, whether to use synthetic reasoning prior to voting. Works for any LLM, even those that do not have native reasoning capabilities.
For Vector Completions only, whether to use logprobs to make the vote probabilistic. This means that the LLM can vote for multiple keys based on their logprobabilities. Allows LLMs to express native uncertainty when voting.
A list of messages exchanged in a chat conversation. These will be prepended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
A list of messages exchanged in a chat conversation. These will be appended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
This setting aims to control the repetition of tokens based on how often they appear in the input. It tries to use less frequently those tokens that appear more in the input, proportional to how frequently they occur. Token penalty scales with the number of occurrences. Negative values will encourage token reuse.
Accepts a JSON object that maps tokens (specified by their token ID in the tokenizer) to an associated bias value from -100 to 100. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.
Values
An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.
This setting aims to control the presence of tokens in the output. It tries to encourage the model to use tokens that are less present in the input, proportional to their presence in the input. Token presence scales with the number of occurrences. Negative values will encourage more diverse token usage.
The assistant will stop when any of the provided strings are generated.
Variants
Generation will stop when this string is generated.
Generation will stop when any of these strings are generated.
Items
This setting influences the variety in the model’s responses. Lower values lead to more predictable and typical responses, while higher values encourage more diverse and less common responses. At 0, the model always gives the same response for a given input.
This setting limits the model’s choices to a percentage of likely tokens: only the top tokens whose probabilities add up to P. A lower value makes the model’s responses more predictable, while the default setting allows for a full range of token choices. Think of it like a dynamic Top-K.
This sets the upper limit for the number of tokens the model can generate in response. It won’t produce more than this limit. The maximum value is the context length minus the prompt length.
Represents the minimum probability for a token to be considered, relative to the probability of the most likely token. (The value changes depending on the confidence level of the most probable token.) If your Min-P is set to 0.1, that means it will only allow for tokens that are at least 1/10th as probable as the best possible option.
Options for selecting the upstream provider of this model.
Properties
Whether to allow fallback providers if the preferred provider is unavailable.
Whether to require that the provider supports all specified parameters.
An ordered list of provider names to use when selecting a provider for this model.
Items
A list of provider names to restrict selection to when selecting a provider for this model.
Items
A list of provider names to ignore when selecting a provider for this model.
Items
Specifies the quantizations to allow when selecting providers for this model.
Items
Options for controlling reasoning behavior of the model.
Properties
Enables or disables reasoning for supported models.
The maximum number of tokens to use for reasoning in a response.
Constrains effort on reasoning for supported reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
Variants
Controls the verbosity of the reasoning summary for supported reasoning models.
Variants
Helps to reduce the repetition of tokens from the input. A higher value makes the model less likely to repeat tokens, but too high a value can make the output less coherent (often with run-on sentences that lack small words). Token penalty scales based on original token’s probability.
Consider only the top tokens with “sufficiently high” probabilities based on the probability of the most likely token. Think of it like a dynamic Top-P. A lower Top-A value focuses the choices based on the highest probability token but with a narrower scope. A higher Top-A value does not necessarily affect the creativity of the output, but rather refines the filtering process based on the maximum probability.
This limits the model’s choice of tokens at each step, making it choose from a smaller set. A value of 1 means the model will always pick the most likely next token, leading to predictable results. By default this setting is disabled, making the model to consider all choices.
Controls the verbosity and length of the model response. Lower values produce more concise responses, while higher values produce more detailed and comprehensive responses.
Variants
A value provided as input to a function.
Variants
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
Values
Items
Options for selecting the upstream provider of this completion.
Properties
Specifies whether to allow providers which collect data.
Variants
Whether to enforce Zero Data Retention (ZDR) policies when selecting providers.
Specifies the sorting strategy for provider selection.
Variants
Properties
Maximum price for prompt tokens.
Maximum price for completion tokens.
Maximum price for image generation.
Maximum price for audio generation.
Maximum price per request.
Preferred minimum throughput for the provider.
Preferred maximum latency for the provider.
Minimum throughput for the provider.
Maximum latency for the provider.
If specified, upstream systems will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result.
The maximum total time in milliseconds to spend on retries when a transient error occurs.
The maximum time in milliseconds to wait for the first chunk of a streaming response.
The maximum time in milliseconds to wait between subsequent chunks of a streaming response.
A function defined inline.
Variants
A scalar function defined inline. Each task's output expression must return a number in [0,1]. The function's output is the weighted average of all task outputs using profile weights. If there is only one task, its output becomes the function's output directly.
Properties
Defines arrays used by mapped tasks. A task with `map: i` references the i-th sub-array. The task is compiled once per element in that sub-array, producing multiple task instances. If the sub-array is empty, no task instances are produced (effectively skipping the task). Each compiled instance's expressions receive the current element as `map`. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A list of expressions, each evaluating to a 1D array of Inputs. The i-th expression produces the i-th sub-array.
Items
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The list of tasks to be executed as part of the function. Each will first be compiled using the parent function's input.
Items
A scalar function task expression.
Properties
The remote source hosting the repository.
Variants
The owner of the repository containing the function.
The name of the repository containing the function.
The commit SHA of the repository containing the function.
An expression which evaluates to a boolean indicating whether to skip this task. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Index into the function's `input_maps` 2D array. When present, this task is compiled once per element in `input_maps[map]`, producing multiple task instances. Each compiled instance's expressions receive the current element as `map`.
A value provided as input to a function.
Variants
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
Values
Items
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which transforms the task result into a FunctionOutput. Receives `output` as one of 4 variants depending on task type: a single FunctionOutput (for non-mapped function tasks), an array of FunctionOutputs (for mapped function tasks), a VectorCompletionOutput (for non-mapped vector completion tasks), or an array of VectorCompletionOutputs (for mapped vector completion tasks). Must return a FunctionOutput valid for the parent function's type: scalar functions require a number in [0,1], vector functions require an array of numbers summing to ~1. The function's final output is the weighted average of all task outputs using profile weights. Receives: `input`, `output`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A vector function task expression.
Properties
The remote source hosting the repository.
Variants
The owner of the repository containing the function.
The name of the repository containing the function.
The commit SHA of the repository containing the function.
An expression which evaluates to a boolean indicating whether to skip this task. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Index into the function's `input_maps` 2D array. When present, this task is compiled once per element in `input_maps[map]`, producing multiple task instances. Each compiled instance's expressions receive the current element as `map`.
A value provided as input to a function.
Variants
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
Values
Items
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which transforms the task result into a FunctionOutput. Receives `output` as one of 4 variants depending on task type: a single FunctionOutput (for non-mapped function tasks), an array of FunctionOutputs (for mapped function tasks), a VectorCompletionOutput (for non-mapped vector completion tasks), or an array of VectorCompletionOutputs (for mapped vector completion tasks). Must return a FunctionOutput valid for the parent function's type: scalar functions require a number in [0,1], vector functions require an array of numbers summing to ~1. The function's final output is the weighted average of all task outputs using profile weights. Receives: `input`, `output`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A vector completion task expression.
Properties
An expression which evaluates to a boolean indicating whether to skip this task. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Index into the function's `input_maps` 2D array. When present, this task is compiled once per element in `input_maps[map]`, producing multiple task instances. Each compiled instance's expressions receive the current element as `map`.
A list of messages exchanged in a chat conversation.
Variants
A list of messages exchanged in a chat conversation.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
Properties
Variants
The text content.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Variants
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
Properties
Variants
The text content.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Variants
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
Variants
The text content.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Variants
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An audio rich content part.
Properties
The audio data and its format.
Variants
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A video rich content part.
Properties
Variants
The video URL definition.
Variants
Properties
URL of the video.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Variants
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Variants
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
Variants
The text content.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Variants
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An audio rich content part.
Properties
The audio data and its format.
Variants
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A video rich content part.
Properties
Variants
The video URL definition.
Variants
Properties
URL of the video.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Variants
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The ID of the tool call that this message is responding to.
Variants
The ID of the tool call that this message is responding to.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
Variants
The text content.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Variants
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An audio rich content part.
Properties
The audio data and its format.
Variants
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A video rich content part.
Properties
Variants
The video URL definition.
Variants
Properties
URL of the video.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Variants
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Variants
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The refusal message by the assistant.
Variants
The refusal message by the assistant.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Tool calls made by the assistant.
Variants
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
Variants
The unique identifier for the tool call.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The name and arguments of the function called.
Properties
The name of the function called.
Variants
The name of the function called.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The arguments passed to the function.
Variants
The arguments passed to the function.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The reasoning provided by the assistant.
Variants
The reasoning provided by the assistant.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A list of tools that the assistant can call. These are readonly and will only be useful for explaining prior tool calls or otherwise influencing behavior.
Variants
A list of tools that the assistant can call.
Items
A function tool that the assistant can call.
Properties
The definition of a function tool.
Properties
The name of the function.
Variants
The name of the function.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The description of the function.
Variants
The description of the function.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The JSON schema defining the parameters of the function.
Variants
Values
Null
Boolean
Number
String
Array (values may be expressions)
Items
A JSON value.
Object (values may be expressions)
Values
A JSON value.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Whether to enforce strict adherence to the parameter schema.
Variants
Whether to enforce strict adherence to the parameter schema.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A list of possible assistant responses which the LLMs in the Ensemble will vote on. The output scores will be of the same length, each corresponding to one response. The winner is the response with the highest score.
Variants
A list of possible assistant responses which the LLMs in the Ensemble will vote on. The output scores will be of the same length, each corresponding to one response. The winner is the response with the highest score.
Items
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which transforms the task result into a FunctionOutput. Receives `output` as one of 4 variants depending on task type: a single FunctionOutput (for non-mapped function tasks), an array of FunctionOutputs (for mapped function tasks), a VectorCompletionOutput (for non-mapped vector completion tasks), or an array of VectorCompletionOutputs (for mapped vector completion tasks). Must return a FunctionOutput valid for the parent function's type: scalar functions require a number in [0,1], vector functions require an array of numbers summing to ~1. The function's final output is the weighted average of all task outputs using profile weights. Receives: `input`, `output`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A placeholder scalar function task expression. Always outputs 0.5.
Properties
An input schema defining the structure of function inputs.
Variants
An object input schema.
Properties
The description of the object input.
The properties of the object input.
Values
The required properties of the object input.
Items
An array input schema.
Properties
The description of the array input.
The minimum number of items in the array input.
The maximum number of items in the array input.
A string input schema.
Properties
The description of the string input.
The enumeration of allowed string values.
Items
A number input schema.
Properties
The description of the number input.
The minimum allowed value for the number input.
The maximum allowed value for the number input.
An integer input schema.
Properties
The description of the integer input.
The minimum allowed value for the integer input.
The maximum allowed value for the integer input.
A boolean input schema.
Properties
The description of the boolean input.
An image input schema.
Properties
The description of the image input.
An audio input schema.
Properties
The description of the audio input.
A video input schema.
Properties
The description of the video input.
A file input schema.
Properties
The description of the file input.
A union of schemas - input must match at least one.
Properties
The possible schemas that the input can match.
Items
An expression which evaluates to a boolean indicating whether to skip this task. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Index into the function's `input_maps` 2D array. When present, this task is compiled once per element in `input_maps[map]`, producing multiple task instances. Each compiled instance's expressions receive the current element as `map`.
A value provided as input to a function.
Variants
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
Values
Items
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which transforms the task result into a FunctionOutput. Receives `output` as one of 4 variants depending on task type: a single FunctionOutput (for non-mapped function tasks), an array of FunctionOutputs (for mapped function tasks), a VectorCompletionOutput (for non-mapped vector completion tasks), or an array of VectorCompletionOutputs (for mapped vector completion tasks). Must return a FunctionOutput valid for the parent function's type: scalar functions require a number in [0,1], vector functions require an array of numbers summing to ~1. The function's final output is the weighted average of all task outputs using profile weights. Receives: `input`, `output`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A placeholder vector function task expression. Always outputs an equalized vector.
Properties
An input schema defining the structure of function inputs.
Variants
An object input schema.
Properties
The description of the object input.
The properties of the object input.
Values
The required properties of the object input.
Items
An array input schema.
Properties
The description of the array input.
The minimum number of items in the array input.
The maximum number of items in the array input.
A string input schema.
Properties
The description of the string input.
The enumeration of allowed string values.
Items
A number input schema.
Properties
The description of the number input.
The minimum allowed value for the number input.
The maximum allowed value for the number input.
An integer input schema.
Properties
The description of the integer input.
The minimum allowed value for the integer input.
The maximum allowed value for the integer input.
A boolean input schema.
Properties
The description of the boolean input.
An image input schema.
Properties
The description of the image input.
An audio input schema.
Properties
The description of the audio input.
A video input schema.
Properties
The description of the video input.
A file input schema.
Properties
The description of the file input.
A union of schemas - input must match at least one.
Properties
The possible schemas that the input can match.
Items
The length of the output vector.
Variants
The fixed length of the output vector.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Splits the function input into an array of sub-inputs, one per output element. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Recombines a variable-size, arbitrarily-ordered subset of sub-inputs back into one input. Receives: `input` (an array of sub-inputs).
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which evaluates to a boolean indicating whether to skip this task. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Index into the function's `input_maps` 2D array. When present, this task is compiled once per element in `input_maps[map]`, producing multiple task instances. Each compiled instance's expressions receive the current element as `map`.
A value provided as input to a function.
Variants
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
Values
Items
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which transforms the task result into a FunctionOutput. Receives `output` as one of 4 variants depending on task type: a single FunctionOutput (for non-mapped function tasks), an array of FunctionOutputs (for mapped function tasks), a VectorCompletionOutput (for non-mapped vector completion tasks), or an array of VectorCompletionOutputs (for mapped vector completion tasks). Must return a FunctionOutput valid for the parent function's type: scalar functions require a number in [0,1], vector functions require an array of numbers summing to ~1. The function's final output is the weighted average of all task outputs using profile weights. Receives: `input`, `output`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A vector function defined inline. Each task's output expression must return an array of numbers summing to ~1. The function's output is the weighted average of all task outputs using profile weights. If there is only one task, its output becomes the function's output directly.
Properties
Defines arrays used by mapped tasks. A task with `map: i` references the i-th sub-array. The task is compiled once per element in that sub-array, producing multiple task instances. If the sub-array is empty, no task instances are produced (effectively skipping the task). Each compiled instance's expressions receive the current element as `map`. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A list of expressions, each evaluating to a 1D array of Inputs. The i-th expression produces the i-th sub-array.
Items
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The list of tasks to be executed as part of the function. Each will first be compiled using the parent function's input.
Items
A scalar function task expression.
Properties
The remote source hosting the repository.
Variants
The owner of the repository containing the function.
The name of the repository containing the function.
The commit SHA of the repository containing the function.
An expression which evaluates to a boolean indicating whether to skip this task. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Index into the function's `input_maps` 2D array. When present, this task is compiled once per element in `input_maps[map]`, producing multiple task instances. Each compiled instance's expressions receive the current element as `map`.
A value provided as input to a function.
Variants
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
Values
Items
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which transforms the task result into a FunctionOutput. Receives `output` as one of 4 variants depending on task type: a single FunctionOutput (for non-mapped function tasks), an array of FunctionOutputs (for mapped function tasks), a VectorCompletionOutput (for non-mapped vector completion tasks), or an array of VectorCompletionOutputs (for mapped vector completion tasks). Must return a FunctionOutput valid for the parent function's type: scalar functions require a number in [0,1], vector functions require an array of numbers summing to ~1. The function's final output is the weighted average of all task outputs using profile weights. Receives: `input`, `output`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A vector function task expression.
Properties
The remote source hosting the repository.
Variants
The owner of the repository containing the function.
The name of the repository containing the function.
The commit SHA of the repository containing the function.
An expression which evaluates to a boolean indicating whether to skip this task. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Index into the function's `input_maps` 2D array. When present, this task is compiled once per element in `input_maps[map]`, producing multiple task instances. Each compiled instance's expressions receive the current element as `map`.
A value provided as input to a function.
Variants
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
Values
Items
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which transforms the task result into a FunctionOutput. Receives `output` as one of 4 variants depending on task type: a single FunctionOutput (for non-mapped function tasks), an array of FunctionOutputs (for mapped function tasks), a VectorCompletionOutput (for non-mapped vector completion tasks), or an array of VectorCompletionOutputs (for mapped vector completion tasks). Must return a FunctionOutput valid for the parent function's type: scalar functions require a number in [0,1], vector functions require an array of numbers summing to ~1. The function's final output is the weighted average of all task outputs using profile weights. Receives: `input`, `output`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A vector completion task expression.
Properties
An expression which evaluates to a boolean indicating whether to skip this task. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Index into the function's `input_maps` 2D array. When present, this task is compiled once per element in `input_maps[map]`, producing multiple task instances. Each compiled instance's expressions receive the current element as `map`.
A list of messages exchanged in a chat conversation.
Variants
A list of messages exchanged in a chat conversation.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
Properties
Variants
The text content.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Variants
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
Properties
Variants
The text content.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Variants
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
Variants
The text content.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Variants
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An audio rich content part.
Properties
The audio data and its format.
Variants
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A video rich content part.
Properties
Variants
The video URL definition.
Variants
Properties
URL of the video.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Variants
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Variants
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
Variants
The text content.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Variants
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An audio rich content part.
Properties
The audio data and its format.
Variants
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A video rich content part.
Properties
Variants
The video URL definition.
Variants
Properties
URL of the video.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Variants
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The ID of the tool call that this message is responding to.
Variants
The ID of the tool call that this message is responding to.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
Variants
The text content.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Variants
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An audio rich content part.
Properties
The audio data and its format.
Variants
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A video rich content part.
Properties
Variants
The video URL definition.
Variants
Properties
URL of the video.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Variants
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Variants
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The refusal message by the assistant.
Variants
The refusal message by the assistant.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Tool calls made by the assistant.
Variants
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
Variants
The unique identifier for the tool call.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The name and arguments of the function called.
Properties
The name of the function called.
Variants
The name of the function called.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The arguments passed to the function.
Variants
The arguments passed to the function.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The reasoning provided by the assistant.
Variants
The reasoning provided by the assistant.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A list of tools that the assistant can call. These are readonly and will only be useful for explaining prior tool calls or otherwise influencing behavior.
Variants
A list of tools that the assistant can call.
Items
A function tool that the assistant can call.
Properties
The definition of a function tool.
Properties
The name of the function.
Variants
The name of the function.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The description of the function.
Variants
The description of the function.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
The JSON schema defining the parameters of the function.
Variants
Values
Null
Boolean
Number
String
Array (values may be expressions)
Items
A JSON value.
Object (values may be expressions)
Values
A JSON value.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Whether to enforce strict adherence to the parameter schema.
Variants
Whether to enforce strict adherence to the parameter schema.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A list of possible assistant responses which the LLMs in the Ensemble will vote on. The output scores will be of the same length, each corresponding to one response. The winner is the response with the highest score.
Variants
A list of possible assistant responses which the LLMs in the Ensemble will vote on. The output scores will be of the same length, each corresponding to one response. The winner is the response with the highest score.
Items
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which transforms the task result into a FunctionOutput. Receives `output` as one of 4 variants depending on task type: a single FunctionOutput (for non-mapped function tasks), an array of FunctionOutputs (for mapped function tasks), a VectorCompletionOutput (for non-mapped vector completion tasks), or an array of VectorCompletionOutputs (for mapped vector completion tasks). Must return a FunctionOutput valid for the parent function's type: scalar functions require a number in [0,1], vector functions require an array of numbers summing to ~1. The function's final output is the weighted average of all task outputs using profile weights. Receives: `input`, `output`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A placeholder scalar function task expression. Always outputs 0.5.
Properties
An input schema defining the structure of function inputs.
Variants
An object input schema.
Properties
The description of the object input.
The properties of the object input.
Values
The required properties of the object input.
Items
An array input schema.
Properties
The description of the array input.
The minimum number of items in the array input.
The maximum number of items in the array input.
A string input schema.
Properties
The description of the string input.
The enumeration of allowed string values.
Items
A number input schema.
Properties
The description of the number input.
The minimum allowed value for the number input.
The maximum allowed value for the number input.
An integer input schema.
Properties
The description of the integer input.
The minimum allowed value for the integer input.
The maximum allowed value for the integer input.
A boolean input schema.
Properties
The description of the boolean input.
An image input schema.
Properties
The description of the image input.
An audio input schema.
Properties
The description of the audio input.
A video input schema.
Properties
The description of the video input.
A file input schema.
Properties
The description of the file input.
A union of schemas - input must match at least one.
Properties
The possible schemas that the input can match.
Items
An expression which evaluates to a boolean indicating whether to skip this task. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Index into the function's `input_maps` 2D array. When present, this task is compiled once per element in `input_maps[map]`, producing multiple task instances. Each compiled instance's expressions receive the current element as `map`.
A value provided as input to a function.
Variants
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
Values
Items
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which transforms the task result into a FunctionOutput. Receives `output` as one of 4 variants depending on task type: a single FunctionOutput (for non-mapped function tasks), an array of FunctionOutputs (for mapped function tasks), a VectorCompletionOutput (for non-mapped vector completion tasks), or an array of VectorCompletionOutputs (for mapped vector completion tasks). Must return a FunctionOutput valid for the parent function's type: scalar functions require a number in [0,1], vector functions require an array of numbers summing to ~1. The function's final output is the weighted average of all task outputs using profile weights. Receives: `input`, `output`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A placeholder vector function task expression. Always outputs an equalized vector.
Properties
An input schema defining the structure of function inputs.
Variants
An object input schema.
Properties
The description of the object input.
The properties of the object input.
Values
The required properties of the object input.
Items
An array input schema.
Properties
The description of the array input.
The minimum number of items in the array input.
The maximum number of items in the array input.
A string input schema.
Properties
The description of the string input.
The enumeration of allowed string values.
Items
A number input schema.
Properties
The description of the number input.
The minimum allowed value for the number input.
The maximum allowed value for the number input.
An integer input schema.
Properties
The description of the integer input.
The minimum allowed value for the integer input.
The maximum allowed value for the integer input.
A boolean input schema.
Properties
The description of the boolean input.
An image input schema.
Properties
The description of the image input.
An audio input schema.
Properties
The description of the audio input.
A video input schema.
Properties
The description of the video input.
A file input schema.
Properties
The description of the file input.
A union of schemas - input must match at least one.
Properties
The possible schemas that the input can match.
Items
The length of the output vector.
Variants
The fixed length of the output vector.
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Splits the function input into an array of sub-inputs, one per output element. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Recombines a variable-size, arbitrarily-ordered subset of sub-inputs back into one input. Receives: `input` (an array of sub-inputs).
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which evaluates to a boolean indicating whether to skip this task. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Index into the function's `input_maps` 2D array. When present, this task is compiled once per element in `input_maps[map]`, producing multiple task instances. Each compiled instance's expressions receive the current element as `map`.
A value provided as input to a function.
Variants
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
Values
Items
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
An expression which transforms the task result into a FunctionOutput. Receives `output` as one of 4 variants depending on task type: a single FunctionOutput (for non-mapped function tasks), an array of FunctionOutputs (for mapped function tasks), a VectorCompletionOutput (for non-mapped vector completion tasks), or an array of VectorCompletionOutputs (for mapped vector completion tasks). Must return a FunctionOutput valid for the parent function's type: scalar functions require a number in [0,1], vector functions require an array of numbers summing to ~1. The function's final output is the weighted average of all task outputs using profile weights. Receives: `input`, `output`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Splits the function input into an array of sub-inputs, one per output element. The array length must equal `output_length`. Each sub-input, when executed independently, must produce `output_length = 1`. Used by execution strategies (e.g., swiss_system) that process subsets of the split inputs in parallel pools. Only required when using such a strategy. Receives: `input`.
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
Recombines a variable-size, arbitrarily-ordered subset of sub-inputs (produced by `input_split`) into a single input. The merged input is then executed as a normal function call. Used by execution strategies (e.g., swiss_system) that group sub-inputs into pools for parallel evaluation. Only required when using such a strategy. Receives: `input` (an array of sub-inputs).
Variants
A JMESPath expression which evaluates to a value.
Properties
A JMESPath expression.
A Starlark expression which evaluates to a value.
Properties
A Starlark expression.
A function profile defined inline.
Variants
A tasks-based function profile defined inline.
Properties
The list of task profiles.
Items
The identifiers for a remote function profile.
Properties
The remote source hosting the repository.
Variants
The owner of the repository containing the profile.
The name of the repository containing the profile.
The commit SHA of the repository containing the profile.
An auto function profile defined inline. Applies a single ensemble and weights to all vector completion tasks.
Properties
The Ensemble to use for this completion. May be a unique ID or an inline definition.
Variants
The unique identifier for the Ensemble.
An ensemble of LLMs.
Properties
The list of LLMs that make up the ensemble.
Items
An LLM to be used within an Ensemble, including optional fallbacks and count.
Properties
The full ID of the LLM to use.
For Vector Completions only, specifies the LLM's voting output mode. For "instruction", the assistant is instructed to output a key. For "json_schema", the assistant is constrained to output a valid key using a JSON schema. For "tool_call", the assistant is instructed to output a tool call to select the key.
Variants
For Vector Completions only, whether to use synthetic reasoning prior to voting. Works for any LLM, even those that do not have native reasoning capabilities.
For Vector Completions only, whether to use logprobs to make the vote probabilistic. This means that the LLM can vote for multiple keys based on their logprobabilities. Allows LLMs to express native uncertainty when voting.
A list of messages exchanged in a chat conversation. These will be prepended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
A list of messages exchanged in a chat conversation. These will be appended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
This setting aims to control the repetition of tokens based on how often they appear in the input. It tries to use less frequently those tokens that appear more in the input, proportional to how frequently they occur. Token penalty scales with the number of occurrences. Negative values will encourage token reuse.
Accepts a JSON object that maps tokens (specified by their token ID in the tokenizer) to an associated bias value from -100 to 100. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.
Values
An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.
This setting aims to control the presence of tokens in the output. It tries to encourage the model to use tokens that are less present in the input, proportional to their presence in the input. Token presence scales with the number of occurrences. Negative values will encourage more diverse token usage.
The assistant will stop when any of the provided strings are generated.
Variants
Generation will stop when this string is generated.
Generation will stop when any of these strings are generated.
Items
This setting influences the variety in the model’s responses. Lower values lead to more predictable and typical responses, while higher values encourage more diverse and less common responses. At 0, the model always gives the same response for a given input.
This setting limits the model’s choices to a percentage of likely tokens: only the top tokens whose probabilities add up to P. A lower value makes the model’s responses more predictable, while the default setting allows for a full range of token choices. Think of it like a dynamic Top-K.
This sets the upper limit for the number of tokens the model can generate in response. It won’t produce more than this limit. The maximum value is the context length minus the prompt length.
Represents the minimum probability for a token to be considered, relative to the probability of the most likely token. (The value changes depending on the confidence level of the most probable token.) If your Min-P is set to 0.1, that means it will only allow for tokens that are at least 1/10th as probable as the best possible option.
Options for selecting the upstream provider of this model.
Properties
Whether to allow fallback providers if the preferred provider is unavailable.
Whether to require that the provider supports all specified parameters.
An ordered list of provider names to use when selecting a provider for this model.
Items
A list of provider names to restrict selection to when selecting a provider for this model.
Items
A list of provider names to ignore when selecting a provider for this model.
Items
Specifies the quantizations to allow when selecting providers for this model.
Items
Options for controlling reasoning behavior of the model.
Properties
Enables or disables reasoning for supported models.
The maximum number of tokens to use for reasoning in a response.
Constrains effort on reasoning for supported reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
Variants
Controls the verbosity of the reasoning summary for supported reasoning models.
Variants
Helps to reduce the repetition of tokens from the input. A higher value makes the model less likely to repeat tokens, but too high a value can make the output less coherent (often with run-on sentences that lack small words). Token penalty scales based on original token’s probability.
Consider only the top tokens with “sufficiently high” probabilities based on the probability of the most likely token. Think of it like a dynamic Top-P. A lower Top-A value focuses the choices based on the highest probability token but with a narrower scope. A higher Top-A value does not necessarily affect the creativity of the output, but rather refines the filtering process based on the maximum probability.
This limits the model’s choice of tokens at each step, making it choose from a smaller set. A value of 1 means the model will always pick the most likely next token, leading to predictable results. By default this setting is disabled, making the model to consider all choices.
Controls the verbosity and length of the model response. Lower values produce more concise responses, while higher values produce more detailed and comprehensive responses.
Variants
A count greater than one effectively means that there are multiple instances of this LLM in an ensemble.
A list of fallback LLMs to use if the primary LLM fails.
Items
An LLM to be used within an Ensemble or standalone with Chat Completions.
Properties
The full ID of the LLM to use.
For Vector Completions only, specifies the LLM's voting output mode. For "instruction", the assistant is instructed to output a key. For "json_schema", the assistant is constrained to output a valid key using a JSON schema. For "tool_call", the assistant is instructed to output a tool call to select the key.
Variants
For Vector Completions only, whether to use synthetic reasoning prior to voting. Works for any LLM, even those that do not have native reasoning capabilities.
For Vector Completions only, whether to use logprobs to make the vote probabilistic. This means that the LLM can vote for multiple keys based on their logprobabilities. Allows LLMs to express native uncertainty when voting.
A list of messages exchanged in a chat conversation. These will be prepended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
A list of messages exchanged in a chat conversation. These will be appended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
This setting aims to control the repetition of tokens based on how often they appear in the input. It tries to use less frequently those tokens that appear more in the input, proportional to how frequently they occur. Token penalty scales with the number of occurrences. Negative values will encourage token reuse.
Accepts a JSON object that maps tokens (specified by their token ID in the tokenizer) to an associated bias value from -100 to 100. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.
Values
An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.
This setting aims to control the presence of tokens in the output. It tries to encourage the model to use tokens that are less present in the input, proportional to their presence in the input. Token presence scales with the number of occurrences. Negative values will encourage more diverse token usage.
The assistant will stop when any of the provided strings are generated.
Variants
Generation will stop when this string is generated.
Generation will stop when any of these strings are generated.
Items
This setting influences the variety in the model’s responses. Lower values lead to more predictable and typical responses, while higher values encourage more diverse and less common responses. At 0, the model always gives the same response for a given input.
This setting limits the model’s choices to a percentage of likely tokens: only the top tokens whose probabilities add up to P. A lower value makes the model’s responses more predictable, while the default setting allows for a full range of token choices. Think of it like a dynamic Top-K.
This sets the upper limit for the number of tokens the model can generate in response. It won’t produce more than this limit. The maximum value is the context length minus the prompt length.
Represents the minimum probability for a token to be considered, relative to the probability of the most likely token. (The value changes depending on the confidence level of the most probable token.) If your Min-P is set to 0.1, that means it will only allow for tokens that are at least 1/10th as probable as the best possible option.
Options for selecting the upstream provider of this model.
Properties
Whether to allow fallback providers if the preferred provider is unavailable.
Whether to require that the provider supports all specified parameters.
An ordered list of provider names to use when selecting a provider for this model.
Items
A list of provider names to restrict selection to when selecting a provider for this model.
Items
A list of provider names to ignore when selecting a provider for this model.
Items
Specifies the quantizations to allow when selecting providers for this model.
Items
Options for controlling reasoning behavior of the model.
Properties
Enables or disables reasoning for supported models.
The maximum number of tokens to use for reasoning in a response.
Constrains effort on reasoning for supported reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
Variants
Controls the verbosity of the reasoning summary for supported reasoning models.
Variants
Helps to reduce the repetition of tokens from the input. A higher value makes the model less likely to repeat tokens, but too high a value can make the output less coherent (often with run-on sentences that lack small words). Token penalty scales based on original token’s probability.
Consider only the top tokens with “sufficiently high” probabilities based on the probability of the most likely token. Think of it like a dynamic Top-P. A lower Top-A value focuses the choices based on the highest probability token but with a narrower scope. A higher Top-A value does not necessarily affect the creativity of the output, but rather refines the filtering process based on the maximum probability.
This limits the model’s choice of tokens at each step, making it choose from a smaller set. A value of 1 means the model will always pick the most likely next token, leading to predictable results. By default this setting is disabled, making the model to consider all choices.
Controls the verbosity and length of the model response. Lower values produce more concise responses, while higher values produce more detailed and comprehensive responses.
Variants
The weights for each LLM in the ensemble.
Variants
Legacy representation: a simple list of weights. Must be of the same length as the Ensemble's `llms` field, ignoring count.
Items
Profile entries with explicit `weight` and optional `invert` for each LLM in the ensemble.
Items
An entry in a vector completion profile with an explicit weight and optional invert flag.
Properties
The weight for this LLM in the ensemble. Must be between 0 and 1.
If true, invert this LLM's vote distribution before combining. When omitted or false, the vote distribution is used as-is.
A placeholder profile for placeholder function tasks.
The weights for each task used in weighted averaging of task outputs. Can be either a list of weights or a list of objects with `weight` and optional `invert`.
Variants
Legacy representation: a simple list of weights. Must be of the same length as the Ensemble's `llms` field, ignoring count.
Items
Profile entries with explicit `weight` and optional `invert` for each LLM in the ensemble.
Items
An entry in a vector completion profile with an explicit weight and optional invert flag.
Properties
The weight for this LLM in the ensemble. Must be between 0 and 1.
If true, invert this LLM's vote distribution before combining. When omitted or false, the vote distribution is used as-is.
An auto function profile defined inline. Applies a single ensemble and weights to all vector completion tasks.
Properties
The Ensemble to use for this completion. May be a unique ID or an inline definition.
Variants
The unique identifier for the Ensemble.
An ensemble of LLMs.
Properties
The list of LLMs that make up the ensemble.
Items
An LLM to be used within an Ensemble, including optional fallbacks and count.
Properties
The full ID of the LLM to use.
For Vector Completions only, specifies the LLM's voting output mode. For "instruction", the assistant is instructed to output a key. For "json_schema", the assistant is constrained to output a valid key using a JSON schema. For "tool_call", the assistant is instructed to output a tool call to select the key.
Variants
For Vector Completions only, whether to use synthetic reasoning prior to voting. Works for any LLM, even those that do not have native reasoning capabilities.
For Vector Completions only, whether to use logprobs to make the vote probabilistic. This means that the LLM can vote for multiple keys based on their logprobabilities. Allows LLMs to express native uncertainty when voting.
A list of messages exchanged in a chat conversation. These will be prepended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
A list of messages exchanged in a chat conversation. These will be appended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
This setting aims to control the repetition of tokens based on how often they appear in the input. It tries to use less frequently those tokens that appear more in the input, proportional to how frequently they occur. Token penalty scales with the number of occurrences. Negative values will encourage token reuse.
Accepts a JSON object that maps tokens (specified by their token ID in the tokenizer) to an associated bias value from -100 to 100. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.
Values
An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.
This setting aims to control the presence of tokens in the output. It tries to encourage the model to use tokens that are less present in the input, proportional to their presence in the input. Token presence scales with the number of occurrences. Negative values will encourage more diverse token usage.
The assistant will stop when any of the provided strings are generated.
Variants
Generation will stop when this string is generated.
Generation will stop when any of these strings are generated.
Items
This setting influences the variety in the model’s responses. Lower values lead to more predictable and typical responses, while higher values encourage more diverse and less common responses. At 0, the model always gives the same response for a given input.
This setting limits the model’s choices to a percentage of likely tokens: only the top tokens whose probabilities add up to P. A lower value makes the model’s responses more predictable, while the default setting allows for a full range of token choices. Think of it like a dynamic Top-K.
This sets the upper limit for the number of tokens the model can generate in response. It won’t produce more than this limit. The maximum value is the context length minus the prompt length.
Represents the minimum probability for a token to be considered, relative to the probability of the most likely token. (The value changes depending on the confidence level of the most probable token.) If your Min-P is set to 0.1, that means it will only allow for tokens that are at least 1/10th as probable as the best possible option.
Options for selecting the upstream provider of this model.
Properties
Whether to allow fallback providers if the preferred provider is unavailable.
Whether to require that the provider supports all specified parameters.
An ordered list of provider names to use when selecting a provider for this model.
Items
A list of provider names to restrict selection to when selecting a provider for this model.
Items
A list of provider names to ignore when selecting a provider for this model.
Items
Specifies the quantizations to allow when selecting providers for this model.
Items
Options for controlling reasoning behavior of the model.
Properties
Enables or disables reasoning for supported models.
The maximum number of tokens to use for reasoning in a response.
Constrains effort on reasoning for supported reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
Variants
Controls the verbosity of the reasoning summary for supported reasoning models.
Variants
Helps to reduce the repetition of tokens from the input. A higher value makes the model less likely to repeat tokens, but too high a value can make the output less coherent (often with run-on sentences that lack small words). Token penalty scales based on original token’s probability.
Consider only the top tokens with “sufficiently high” probabilities based on the probability of the most likely token. Think of it like a dynamic Top-P. A lower Top-A value focuses the choices based on the highest probability token but with a narrower scope. A higher Top-A value does not necessarily affect the creativity of the output, but rather refines the filtering process based on the maximum probability.
This limits the model’s choice of tokens at each step, making it choose from a smaller set. A value of 1 means the model will always pick the most likely next token, leading to predictable results. By default this setting is disabled, making the model to consider all choices.
Controls the verbosity and length of the model response. Lower values produce more concise responses, while higher values produce more detailed and comprehensive responses.
Variants
A count greater than one effectively means that there are multiple instances of this LLM in an ensemble.
A list of fallback LLMs to use if the primary LLM fails.
Items
An LLM to be used within an Ensemble or standalone with Chat Completions.
Properties
The full ID of the LLM to use.
For Vector Completions only, specifies the LLM's voting output mode. For "instruction", the assistant is instructed to output a key. For "json_schema", the assistant is constrained to output a valid key using a JSON schema. For "tool_call", the assistant is instructed to output a tool call to select the key.
Variants
For Vector Completions only, whether to use synthetic reasoning prior to voting. Works for any LLM, even those that do not have native reasoning capabilities.
For Vector Completions only, whether to use logprobs to make the vote probabilistic. This means that the LLM can vote for multiple keys based on their logprobabilities. Allows LLMs to express native uncertainty when voting.
A list of messages exchanged in a chat conversation. These will be prepended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
A list of messages exchanged in a chat conversation. These will be appended to every prompt sent to this LLM. Useful for setting context or influencing behavior.
Items
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Developer-provided instructions that the model should follow, regardless of messages sent by the user.
Properties
Simple content.
Variants
Plain text content.
An array of simple content parts.
Items
A simple content part.
Properties
The text content.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by an end user, containing prompts or additional context information.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
Messages sent by tools in response to tool calls made by the assistant.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
The ID of the tool call that this message is responding to.
Messages sent by the model in response to user messages.
Properties
Rich content.
Variants
Plain text content.
An array of rich content parts.
Items
A text rich content part.
Properties
The text content.
An image rich content part.
Properties
The URL of the image and its optional detail level.
Properties
Either a URL of the image or the base64 encoded image data.
Specifies the detail level of the image.
Variants
An audio rich content part.
Properties
The audio data and its format.
Properties
Base64 encoded audio data.
The format of the encoded audio data.
Variants
A video rich content part.
Properties
Variants
Properties
URL of the video.
A file rich content part.
Properties
The file to be used as input, either as base64 data, an uploaded file ID, or a URL.
Properties
The base64 encoded file data, used when passing the file to the model as a string.
The ID of an uploaded file to use as input.
The name of the file, used when passing the file to the model as a string.
The URL of the file, used when passing the file to the model as a URL.
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
The refusal message by the assistant.
Tool calls made by the assistant.
Items
A function tool call made by the assistant.
Properties
The unique identifier for the tool call.
The name and arguments of the function called.
Properties
The name of the function called.
The arguments passed to the function.
The reasoning provided by the assistant.
This setting aims to control the repetition of tokens based on how often they appear in the input. It tries to use less frequently those tokens that appear more in the input, proportional to how frequently they occur. Token penalty scales with the number of occurrences. Negative values will encourage token reuse.
Accepts a JSON object that maps tokens (specified by their token ID in the tokenizer) to an associated bias value from -100 to 100. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.
Values
An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and reasoning tokens.
This setting aims to control the presence of tokens in the output. It tries to encourage the model to use tokens that are less present in the input, proportional to their presence in the input. Token presence scales with the number of occurrences. Negative values will encourage more diverse token usage.
The assistant will stop when any of the provided strings are generated.
Variants
Generation will stop when this string is generated.
Generation will stop when any of these strings are generated.
Items
This setting influences the variety in the model’s responses. Lower values lead to more predictable and typical responses, while higher values encourage more diverse and less common responses. At 0, the model always gives the same response for a given input.
This setting limits the model’s choices to a percentage of likely tokens: only the top tokens whose probabilities add up to P. A lower value makes the model’s responses more predictable, while the default setting allows for a full range of token choices. Think of it like a dynamic Top-K.
This sets the upper limit for the number of tokens the model can generate in response. It won’t produce more than this limit. The maximum value is the context length minus the prompt length.
Represents the minimum probability for a token to be considered, relative to the probability of the most likely token. (The value changes depending on the confidence level of the most probable token.) If your Min-P is set to 0.1, that means it will only allow for tokens that are at least 1/10th as probable as the best possible option.
Options for selecting the upstream provider of this model.
Properties
Whether to allow fallback providers if the preferred provider is unavailable.
Whether to require that the provider supports all specified parameters.
An ordered list of provider names to use when selecting a provider for this model.
Items
A list of provider names to restrict selection to when selecting a provider for this model.
Items
A list of provider names to ignore when selecting a provider for this model.
Items
Specifies the quantizations to allow when selecting providers for this model.
Items
Options for controlling reasoning behavior of the model.
Properties
Enables or disables reasoning for supported models.
The maximum number of tokens to use for reasoning in a response.
Constrains effort on reasoning for supported reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
Variants
Controls the verbosity of the reasoning summary for supported reasoning models.
Variants
Helps to reduce the repetition of tokens from the input. A higher value makes the model less likely to repeat tokens, but too high a value can make the output less coherent (often with run-on sentences that lack small words). Token penalty scales based on original token’s probability.
Consider only the top tokens with “sufficiently high” probabilities based on the probability of the most likely token. Think of it like a dynamic Top-P. A lower Top-A value focuses the choices based on the highest probability token but with a narrower scope. A higher Top-A value does not necessarily affect the creativity of the output, but rather refines the filtering process based on the maximum probability.
This limits the model’s choice of tokens at each step, making it choose from a smaller set. A value of 1 means the model will always pick the most likely next token, leading to predictable results. By default this setting is disabled, making the model to consider all choices.
Controls the verbosity and length of the model response. Lower values produce more concise responses, while higher values produce more detailed and comprehensive responses.
Variants
The weights for each LLM in the ensemble.
Variants
Legacy representation: a simple list of weights. Must be of the same length as the Ensemble's `llms` field, ignoring count.
Items
Profile entries with explicit `weight` and optional `invert` for each LLM in the ensemble.
Items
An entry in a vector completion profile with an explicit weight and optional invert flag.
Properties
The weight for this LLM in the ensemble. Must be between 0 and 1.
If true, invert this LLM's vote distribution before combining. When omitted or false, the vote distribution is used as-is.
Whether to stream the response as a series of chunks.
Response Body
The unique identifier of the function execution.
The tasks executed as part of the function execution.
Items
A function execution task.
Properties
The unique identifier of the function execution.
The tasks executed as part of the function execution.
When true, indicates that one or more tasks encountered errors during execution.
A reasoning summary generation.
Properties
The unique identifier of the chat completion.
The unique identifier of the upstream chat completion.
The list of choices in this chat completion.
Items
A choice in a unary chat completion response.
Properties
A message generated by the assistant.
Properties
The content of the message.
The refusal message, if any.
The role of the message author.
Variants
The tool calls made by the assistant, if any.
Items
A function tool call made by the assistant.
Properties
The unique identifier of the function tool.
Properties
The name of the function.
The arguments passed to the function.
The reasoning provided by the assistant, if any.
The images generated by the assistant, if any.
Items
Properties
Properties
The Base64 URL of the generated image.
The reason why the assistant ceased to generate further tokens.
Variants
The index of the choice in the list of choices.
The log probabilities of the tokens generated by the model.
Properties
The log probabilities of the tokens in the content.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The log probabilities of the tokens in the refusal.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The Unix timestamp (in seconds) when the chat completion was created.
The unique identifier of the Ensemble LLM used for this chat completion.
The upstream model used for this chat completion.
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
The cost multiplier applied to upstream costs for computing ObjectiveAI costs.
Whether the completion used a BYOK (Bring Your Own Key) API Key.
The provider used for this chat completion.
When non-null, indicates that an error occurred during the chat completion.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
The output of the function execution.
Variants
The scalar output of the function execution.
The vector output of the function execution.
Items
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
When non-null, indicates that an error occurred during the function execution.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
A token which may be used to retry the function execution.
The UNIX timestamp (in seconds) when the function execution chunk was created.
The unique identifier of the function being executed.
The unique identifier of the profile being used.
The object type.
Variants
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
The index of the task in the sequence of tasks.
The index of the task amongst all mapped and non-skipped compiled tasks. Used internally.
The path of this task which may be used to navigate which nested task this is amongst the root functions tasks and sub-tasks.
Items
The Swiss system round number (1-indexed).
The index of this task within its Swiss system pool.
A vector completion task.
Properties
The unique identifier of the vector completion.
The list of chat completions created for this vector completion.
Items
A chat completion generated in the pursuit of a vector completion.
Properties
The unique identifier of the chat completion.
The unique identifier of the upstream chat completion.
The list of choices in this chat completion.
Items
A choice in a unary chat completion response.
Properties
A message generated by the assistant.
Properties
The content of the message.
The refusal message, if any.
The role of the message author.
Variants
The tool calls made by the assistant, if any.
Items
A function tool call made by the assistant.
Properties
The unique identifier of the function tool.
Properties
The name of the function.
The arguments passed to the function.
The reasoning provided by the assistant, if any.
The images generated by the assistant, if any.
Items
Properties
Properties
The Base64 URL of the generated image.
The reason why the assistant ceased to generate further tokens.
Variants
The index of the choice in the list of choices.
The log probabilities of the tokens generated by the model.
Properties
The log probabilities of the tokens in the content.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The log probabilities of the tokens in the refusal.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The Unix timestamp (in seconds) when the chat completion was created.
The unique identifier of the Ensemble LLM used for this chat completion.
The upstream model used for this chat completion.
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
The cost multiplier applied to upstream costs for computing ObjectiveAI costs.
Whether the completion used a BYOK (Bring Your Own Key) API Key.
The provider used for this chat completion.
The index of the completion amongst all chat completions.
An error encountered during the generation of this chat completion.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
The list of votes for responses in the request from the Ensemble LLMs within the provided Ensemble.
Items
A vote from an Ensemble LLM within a Vector Completion.
Properties
The unique identifier of the Ensemble LLM which generated this vote.
The index of the Ensemble LLM in the Ensemble.
The flat index of the Ensemble LLM in the expanded Ensemble, accounting for counts.
The vote generated by this Ensemble LLM. It is of the same length of the number of responses provided in the request. If the Ensemble LLM used logprobs, may be a probability distribution; otherwise, one of the responses will have a value of 1 and the rest 0.
Items
The weight assigned to this vote.
Whether this vote came from a previous Vector Completion which was retried. `from_cache` will also be `true`.
Whether this vote came from the global ObjectiveAI votes cache.
Whether this vote was generated via RNG.
The scores for each response in the request, aggregated from the votes of the Ensemble LLMs.
Items
The weights assigned to each response in the request, aggregated from the votes of the Ensemble LLMs.
Items
The Unix timestamp (in seconds) when the vector completion was created.
The unique identifier of the Ensemble used for this vector completion.
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
The index of the task in the sequence of tasks.
The index of the task amongst all mapped and non-skipped compiled tasks. Used internally.
The path of this task which may be used to navigate which nested task this is amongst the root functions tasks and sub-tasks.
Items
When non-null, indicates that an error occurred during the vector completion task.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
When true, indicates that one or more tasks encountered errors during execution.
A reasoning summary generation.
Properties
The unique identifier of the chat completion.
The unique identifier of the upstream chat completion.
The list of choices in this chat completion.
Items
A choice in a unary chat completion response.
Properties
A message generated by the assistant.
Properties
The content of the message.
The refusal message, if any.
The role of the message author.
Variants
The tool calls made by the assistant, if any.
Items
A function tool call made by the assistant.
Properties
The unique identifier of the function tool.
Properties
The name of the function.
The arguments passed to the function.
The reasoning provided by the assistant, if any.
The images generated by the assistant, if any.
Items
Properties
Properties
The Base64 URL of the generated image.
The reason why the assistant ceased to generate further tokens.
Variants
The index of the choice in the list of choices.
The log probabilities of the tokens generated by the model.
Properties
The log probabilities of the tokens in the content.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The log probabilities of the tokens in the refusal.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The Unix timestamp (in seconds) when the chat completion was created.
The unique identifier of the Ensemble LLM used for this chat completion.
The upstream model used for this chat completion.
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
The cost multiplier applied to upstream costs for computing ObjectiveAI costs.
Whether the completion used a BYOK (Bring Your Own Key) API Key.
The provider used for this chat completion.
When non-null, indicates that an error occurred during the chat completion.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
The output of the function execution.
Variants
The scalar output of the function execution.
The vector output of the function execution.
Items
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
When non-null, indicates that an error occurred during the function execution.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
A token which may be used to retry the function execution.
The UNIX timestamp (in seconds) when the function execution chunk was created.
The unique identifier of the function being executed.
The unique identifier of the profile being used.
The object type.
Variants
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
Response Body (Streaming)
The unique identifier of the function execution.
The tasks executed as part of the function execution.
Items
A chunk of a function execution task.
Properties
The unique identifier of the function execution.
The tasks executed as part of the function execution.
When true, indicates that one or more tasks encountered errors during execution.
A chunk of a reasoning summary generation.
Properties
The unique identifier of the chat completion.
The unique identifier of the upstream chat completion.
The list of choices in this chunk.
Items
A choice in a streaming chat completion response.
Properties
A delta in a streaming chat completion response.
Properties
The content added in this delta.
The refusal message added in this delta.
The role of the message author.
Variants
Tool calls made in this delta.
Items
A function tool call made by the assistant.
Properties
The index of the tool call in the sequence of tool calls.
The unique identifier of the function tool.
Properties
The name of the function.
The arguments passed to the function.
The reasoning added in this delta.
Images added in this delta.
Items
Properties
Properties
The Base64 URL of the generated image.
The reason why the assistant ceased to generate further tokens.
Variants
The index of the choice in the list of choices.
The log probabilities of the tokens generated by the model.
Properties
The log probabilities of the tokens in the content.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The log probabilities of the tokens in the refusal.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The Unix timestamp (in seconds) when the chat completion was created.
The unique identifier of the Ensemble LLM used for this chat completion.
The upstream model used for this chat completion.
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
The cost multiplier applied to upstream costs for computing ObjectiveAI costs.
Whether the completion used a BYOK (Bring Your Own Key) API Key.
The provider used for this chat completion.
When present, indicates that an error occurred during the chat completion.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
The output of the function execution.
Variants
The scalar output of the function execution.
The vector output of the function execution.
Items
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
When present, indicates that an error occurred during the function execution.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
A token which may be used to retry the function execution.
The UNIX timestamp (in seconds) when the function execution chunk was created.
The unique identifier of the function being executed.
The unique identifier of the profile being used.
The object type.
Variants
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
The index of the task in the sequence of tasks.
The index of the task amongst all mapped and non-skipped compiled tasks. Used internally.
The path of this task which may be used to navigate which nested task this is amongst the root functions tasks and sub-tasks.
Items
The Swiss system round number (1-indexed).
The index of this task within its Swiss system pool.
A chunk of a vector completion task.
Properties
The unique identifier of the vector completion.
The list of chat completion chunks created for this vector completion.
Items
A chat completion chunk generated in the pursuit of a vector completion.
Properties
The unique identifier of the chat completion.
The unique identifier of the upstream chat completion.
The list of choices in this chunk.
Items
A choice in a streaming chat completion response.
Properties
A delta in a streaming chat completion response.
Properties
The content added in this delta.
The refusal message added in this delta.
The role of the message author.
Variants
Tool calls made in this delta.
Items
A function tool call made by the assistant.
Properties
The index of the tool call in the sequence of tool calls.
The unique identifier of the function tool.
Properties
The name of the function.
The arguments passed to the function.
The reasoning added in this delta.
Images added in this delta.
Items
Properties
Properties
The Base64 URL of the generated image.
The reason why the assistant ceased to generate further tokens.
Variants
The index of the choice in the list of choices.
The log probabilities of the tokens generated by the model.
Properties
The log probabilities of the tokens in the content.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The log probabilities of the tokens in the refusal.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The Unix timestamp (in seconds) when the chat completion was created.
The unique identifier of the Ensemble LLM used for this chat completion.
The upstream model used for this chat completion.
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
The cost multiplier applied to upstream costs for computing ObjectiveAI costs.
Whether the completion used a BYOK (Bring Your Own Key) API Key.
The provider used for this chat completion.
The index of the completion amongst all chat completions.
An error encountered during the generation of this chat completion.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
The list of votes for responses in the request from the Ensemble LLMs within the provided Ensemble.
Items
A vote from an Ensemble LLM within a Vector Completion.
Properties
The unique identifier of the Ensemble LLM which generated this vote.
The index of the Ensemble LLM in the Ensemble.
The flat index of the Ensemble LLM in the expanded Ensemble, accounting for counts.
The vote generated by this Ensemble LLM. It is of the same length of the number of responses provided in the request. If the Ensemble LLM used logprobs, may be a probability distribution; otherwise, one of the responses will have a value of 1 and the rest 0.
Items
The weight assigned to this vote.
Whether this vote came from a previous Vector Completion which was retried. `from_cache` will also be `true`.
Whether this vote came from the global ObjectiveAI votes cache.
Whether this vote was generated via RNG.
The scores for each response in the request, aggregated from the votes of the Ensemble LLMs.
Items
The weights assigned to each response in the request, aggregated from the votes of the Ensemble LLMs.
Items
The Unix timestamp (in seconds) when the vector completion was created.
The unique identifier of the Ensemble used for this vector completion.
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
The index of the task in the sequence of tasks.
The index of the task amongst all mapped and non-skipped compiled tasks. Used internally.
The path of this task which may be used to navigate which nested task this is amongst the root functions tasks and sub-tasks.
Items
When present, indicates that an error occurred during the vector completion task.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
When true, indicates that one or more tasks encountered errors during execution.
A chunk of a reasoning summary generation.
Properties
The unique identifier of the chat completion.
The unique identifier of the upstream chat completion.
The list of choices in this chunk.
Items
A choice in a streaming chat completion response.
Properties
A delta in a streaming chat completion response.
Properties
The content added in this delta.
The refusal message added in this delta.
The role of the message author.
Variants
Tool calls made in this delta.
Items
A function tool call made by the assistant.
Properties
The index of the tool call in the sequence of tool calls.
The unique identifier of the function tool.
Properties
The name of the function.
The arguments passed to the function.
The reasoning added in this delta.
Images added in this delta.
Items
Properties
Properties
The Base64 URL of the generated image.
The reason why the assistant ceased to generate further tokens.
Variants
The index of the choice in the list of choices.
The log probabilities of the tokens generated by the model.
Properties
The log probabilities of the tokens in the content.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The log probabilities of the tokens in the refusal.
Items
The token which was selected by the sampler for this position as well as the logprobabilities of the top options.
Properties
The token string which was selected by the sampler.
The byte representation of the token which was selected by the sampler.
Items
The log probability of the token which was selected by the sampler.
The log probabilities of the top tokens for this position.
Items
The log probability of a token in the list of top tokens.
Properties
The token string.
The byte representation of the token.
Items
The log probability of the token.
The Unix timestamp (in seconds) when the chat completion was created.
The unique identifier of the Ensemble LLM used for this chat completion.
The upstream model used for this chat completion.
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.
The cost multiplier applied to upstream costs for computing ObjectiveAI costs.
Whether the completion used a BYOK (Bring Your Own Key) API Key.
The provider used for this chat completion.
When present, indicates that an error occurred during the chat completion.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
The output of the function execution.
Variants
The scalar output of the function execution.
The vector output of the function execution.
Items
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
When present, indicates that an error occurred during the function execution.
Properties
The status code of the error.
The message or details of the error.
Variants
Null
Boolean
Number
String
Array
Items
A JSON value.
Object
Values
A JSON value.
A token which may be used to retry the function execution.
The UNIX timestamp (in seconds) when the function execution chunk was created.
The unique identifier of the function being executed.
The unique identifier of the profile being used.
The object type.
Variants
Token and cost usage statistics for the completion.
Properties
The number of tokens generated in the completion.
The number of tokens in the prompt.
The total number of tokens used in the prompt or generated in the completion.
Detailed breakdown of generated completion tokens.
Properties
The number of accepted prediction tokens in the completion.
The number of generated audio tokens in the completion.
The number of generated reasoning tokens in the completion.
The number of rejected prediction tokens in the completion.
Detailed breakdown of prompt tokens.
Properties
The number of audio tokens in the prompt.
The number of cached tokens in the prompt.
The number of prompt tokens written to cache.
The number of video tokens in the prompt.
The cost in credits incurred for this completion.
Detailed breakdown of upstream costs incurred.
Properties
The cost incurred upstream.
The cost incurred by upstream's upstream.
The total cost in credits incurred including upstream costs.