Jina - Generate embeddings action ​

The Generate embeddings action creates vector embeddings for text in Jina.

Input ​

Input fieldDescription
ModelSelect an embedding model, or enter a custom model ID.
InputEnter one or more strings to embed.
TaskOptional. Select the intended use for the embedding, such as Retrieval query, Retrieval passage, or Classification.
DimensionsOptional. Enter the number of dimensions for the output embedding.
Embedding typeOptional. Select the embedding encoding. Options are float, base64, binary, or ubinary.
NormalizedOptional. Select Yes or No to normalize the embedding vector.
Late chunkingOptional. Select Yes or No to enable late chunking.
TruncateOptional. Select Yes or No to truncate input that exceeds the model's token limit.
Input typeOptional. Select the input type for ColBERT-style models. Options are Query or Document.
Return multivectorOptional. Select Yes or No to return multi-vector embeddings.
Return tokenized inputOptional. Select Yes or No to return the tokenized input.

Output ​

The following are a representative set of output fields. Refer to the Jina Embeddings documentation for more information on available output fields.

Output fieldDescription
ModelThe model used.
ObjectThe response type, for example list.
UsageToken usage.
Total tokens (Usage)Token usage.
DataAn array of embedding results.
Object (Data)The result type. Typically embedding or embeddings when Return multivector is Yes.
Index (Data)The input's position in the Input array, starting at 0.
Embedding (Data)The embedding vector.

Last updated: