Documentation Index

Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt

Use this file to discover all available pages before exploring further.

Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Get Embedding for Text

Prev Next
Step Details
Introduced in Version9.13
Last Modified in Version9.27
LocationAI > Common

The Get Embedding for Text step generates numerical vector representations (embeddings) for input text. These embeddings capture the semantic meaning of the text and can be used in downstream tasks such as similarity search, clustering, classification, and retrieval-augmented workflows.

This step in the AI.Common module provides a unified interface for generating embeddings across supported AI providers.

Prerequisites

This step requires installing the AI.Common module along with a supported provider module.

All provider modules must be added as Project Dependencies before they are available for selection.

Each provider must also be configured in System > Settings with the required credentials (such as API keys, endpoints, or project configurations).

Important
The Properties panel for this step has been updated to improve usability and configuration.
Only the OpenAI provider supports this step and must be added as a Project Dependency to be available for selection.

Properties

Settings

PropertyDescriptionData Type
Override Default Provider (v9.27+)Enables selection of a specific AI provider configured in the system.Boolean
ProviderSpecifies the AI provider used to generate embeddings. Only providers added as project dependencies are available.---
Get Provider from FlowAllows the embedding provider to be passed dynamically from the Flow. Disables Override Default Provider when enabled.Boolean
Select ModelEnables selection of the embedding model.Boolean
ModelSpecifies the embedding model used to generate vector representations.---
Get Model from FlowAllows the model name to be passed dynamically from the Flow. Disables Select Model when enabled.Boolean
System PromptDefines instructions for how the input text should be processed when generating embeddings.String
Select System PromptAllows selection of a predefined system prompt. Disables manual System Prompt input when enabled.Boolean
Get System Prompt from FlowAllows the system prompt to be passed dynamically from the Flow. Disables Select System Prompt when enabled.Boolean
Use TextMerge System PromptEnables the use of a TextMerge-based system prompt. Disables Get System Prompt from Flow when enabled.Boolean
TextMerge System PromptDisplays the "Pick or Create TextMerge System Prompt" option when Use TextMerge System Prompt is enabled.---
PromptSpecifies the input text for which the embedding is generated.String
Select PromptAllows selection of a predefined input text from the AI Prompt Manager. Disables direct Prompt input when enabled.Boolean
Get Prompt from FlowAllows the input text to be passed dynamically from the Flow. Disables Select Prompt when enabled.Boolean
Use TextMerge PromptEnables the use of a TextMerge-based input for generating embeddings. Disables Get Prompt from Flow when enabled.Boolean
TextMerge PromptDisplays the "Pick or Create TextMerge Prompt" option when Use TextMerge Prompt is enabled.---

Inputs

PropertyDescriptionData Type
Message HistoryProvides prior conversation context to generate more accurate and contextual responses.String
Response Schema (v9.15+)Defines the structured JSON format the response must follow, enabling consistent and machine-readable outputs.Any

Outputs

PropertyDescriptionData Type
Chat ResponseThe generated response returned by the AI provider based on the provided input.String
Reason (Failed outcome)The reason for failure if the request does not complete successfully.String

Example Inputs and Outputs

The following images demonstrate how text input is converted into embeddings and returned as vector output:


Step Changes

DescriptionVersionRelease DateDeveloper Task
Removed the "Decisions.AI" prefix from LLM provider names in the provider picker and updated the default Max Iterations value to 5.
9.27June 2026[DT-047294]
Updated Properties panel UI and restricted provider selection to project dependencies.9.27June 2026[DT-046761]