Exado icon

Exado

Interact with the Exado AI API: RAG chat, OpenAI-compatible completions/embeddings, documents, conversations, FAQ.

Embedding → Create

AI-generated

Summary

Generate vector embeddings for one or multiple text inputs using a specified OpenAI-compatible model, optionally returning the embeddings in float array or Base64 encoding format.

Inputs

  • Input (required) — Text to embed; for multiple inputs, separate each input by a newline. The node sends these as an array to the API.
  • Model Name or ID (required) — Select the embedding model from a loaded list of OpenAI-compatible models or specify its ID using an expression.
  • Encoding Format — Choose the encoding format of the output embeddings: either 'float' for numerical arrays or 'base64' for a Base64 string encoding.

Output shape

a single JSON object containing the generated embeddings corresponding to the input text(s)

If multiple input texts are provided separated by newlines, the node sends them as an array and returns an embedding for each. The output includes the embeddings in the selected encoding format, consistent with the API response.

Examples

Example 1: Create embeddings for multiple pieces of text

Set 'Input' to multiple lines of text, select a model from 'Model Name or ID', and choose 'Encoding Format'. The node outputs embeddings vectors for each input line.

Links

Discussion