OPENAPI / COMPONENTS / SCHEMAS

Chat Completion Request data structure

ChatCompletionRequest

Structural definition for Chat Completion Request in the Mistral AI API contract.

object23properties
frequency_penaltystring

frequency penalty value in the Mistral AI API contract.

guardrailsstring

guardrails value in the Mistral AI API contract.

max_tokensstring

max tokens value in the Mistral AI API contract.

messagesarrayrequired

messages value in the Mistral AI API contract.

metadatastring

metadata value in the Mistral AI API contract.

modelstringrequired

model value in the Mistral AI API contract.

nstring

n value in the Mistral AI API contract.

parallel_tool_callsboolean

parallel tool calls value in the Mistral AI API contract.

predictionPrediction

prediction value in the Mistral AI API contract.

presence_penaltystring

presence penalty value in the Mistral AI API contract.

prompt_cache_keystring

prompt cache key value in the Mistral AI API contract.

prompt_modestring

prompt mode value in the Mistral AI API contract.

random_seedstring

random seed value in the Mistral AI API contract.

reasoning_effortstring

reasoning effort value in the Mistral AI API contract.

response_formatResponseFormat

response format value in the Mistral AI API contract.

safe_promptboolean

safe prompt value in the Mistral AI API contract.

service_tierstring

service tier value in the Mistral AI API contract.

stopstring

stop value in the Mistral AI API contract.

streamboolean

stream value in the Mistral AI API contract.

temperaturestring

temperature value in the Mistral AI API contract.

tool_choicestring

tool choice value in the Mistral AI API contract.

toolsstring

tools value in the Mistral AI API contract.

top_pstring

top p value in the Mistral AI API contract.