Optionalbackground?: booleanInput only. Whether to run the model interaction in the background.
Optionalcached_content?: stringThe name of the cached content used as context to serve the prediction.
Optionalenvironment?: Environment | stringThe environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
Optionalgeneration_config?: GenerationConfigConfiguration parameters for model interactions.
The input for the interaction.
The model that will complete your prompt.\n\nSee models for additional details.
Optionalprevious_interaction_id?: stringThe ID of the previous interaction, if any.
Optionalresponse_format?: ResponseFormat[] | ResponseFormatEnforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
Optionalresponse_mime_type?: stringThe mime type of the response. This is required if response_format is set.
Optionalresponse_modalities?: ResponseModality[]The requested modalities of the response (TEXT, IMAGE, AUDIO).
Optionalservice_tier?: ServiceTierOptionalstore?: booleanInput only. Whether to store the response and request for later retrieval.
Optionalstream?: booleanInput only. Whether the interaction will be streamed.
Optionalsystem_instruction?: stringSystem instruction for the interaction.
Optionaltools?: Tool[]A list of tool declarations the model may call during interaction.
Optionalwebhook_config?: WebhookConfigMessage for configuring webhook events for a request.
Parameters for creating model interactions