Actions8
- Chat Actions
- Completion Actions
- Embedding Actions
- Image Actions
- Audio Actions
- Model Actions
- Moderation Actions
Embedding → Create Embedding
AI-generatedSummary
Creates an embedding for the provided text by sending the selected model and input to the LiteLLM /embeddings endpoint. Returns each item in the response’s data array as a separate n8n output item.
Inputs
- Model (required) — The embedding model to use; must not be empty or whitespace.
- Input (required) — The text to embed; must not be empty or whitespace.
- Encoding Format — Optional output format: Float (
float, the default) or Base64 (base64).
Output shape
A list of items, one per entry in the response’s data array; each entry becomes an output item’s json value.
Returns no items if the response has no
dataentries. Requires LiteLLM API credentials.