Skip to content

MistralAI

Open, efficient, helpful and trustworthy AI models through ground-breaking innovations.

Categories: artificial-intelligence

Type: mistral/v1


Connections

Version: 1

Bearer Token

Properties

NameLabelTypeControl TypeDescriptionRequired
tokenTokenSTRINGTEXTtrue

Actions

Ask

Name: ask

Ask anything you want.

Properties

NameLabelTypeControl TypeDescriptionRequired
modelModelSTRING
Options mistral-large-latest, mistral-medium-latest, mistral-small-latest, open-mistral-7b, open-mixtral-8x22b, open-mixtral-8x7b, pixtral-12b-2409, pixtral-large-latest
SELECTID of the model to use.true
messagesMessagesARRAY
Items [{STRING(role), STRING(content), [FILE_ENTRY](attachments)}]
ARRAY_BUILDERA list of messages comprising the conversation so far.true
responseResponseOBJECT
Properties {STRING(responseFormat), STRING(responseSchema)}
OBJECT_BUILDERThe response from the API.false
maxTokensMax TokensINTEGERINTEGERThe maximum number of tokens to generate in the chat completion.null
temperatureTemperatureNUMBERNUMBERControls randomness: Higher values will make the output more random, while lower values like will make it more focused and deterministic.null
topPTop PNUMBERNUMBERAn alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.null
stopStopARRAY
Items [STRING]
ARRAY_BUILDERUp to 4 sequences where the API will stop generating further tokens.null
seedSeedINTEGERINTEGERKeeping the same seed would output the same response.null
safePromptSafe promptBOOLEAN
Options true, false
SELECTShould the prompt be safe for work?null

JSON Example

{
"label" : "Ask",
"name" : "ask",
"parameters" : {
"model" : "",
"messages" : [ {
"role" : "",
"content" : "",
"attachments" : [ {
"extension" : "",
"mimeType" : "",
"name" : "",
"url" : ""
} ]
} ],
"response" : {
"responseFormat" : "",
"responseSchema" : ""
},
"maxTokens" : 1,
"temperature" : 0.0,
"topP" : 0.0,
"stop" : [ "" ],
"seed" : 1,
"safePrompt" : false
},
"type" : "mistral/v1/ask"
}