Skip to main content

Mistral: Embeddings

Deprecated

This function is deprecated and can no longer be added to new workflows. Existing workflows using it keep running. Use the generic Embeddings function instead.

Generate embeddings using Mistral embeddings API on mistral-embed model.

Pre-requisite: Install Mistral AI application Profile > {Organization} > Applications to grant Zparse access.

Parameters

Applicationrequired

Select configured Mistral AI application.

Input

JSON Embeddingsrequired

Accepts a JSON payload or a File. Embeddings request with model like:

{
"embeddings": [
{
"identifier": <String>, # Unique identifier for given claim
"claim": <String>, # Actual text from which we will generate embeddings vector
"vector": [], # Empty before embeddings
"payload": <Json>, # Additional metadata to join to your claim
}
]
}

Output

JSON Embeddingsrequired

Embeddings request with model like:

{
"embeddings": [
{
"identifier": <String>, # Unique identifier for given claim
"claim": <String>, # Actual text from which embeddings vector was generated
"vector": [f32, f32, ...], # Actual vector after embeddings generation
"payload": <Json>, # Additional metadata to join to your claim
}
]
}