Blocks
Embeddings
Generate Open AI embeddings
Convert text into numerical vector representations using OpenAI's embedding models. Transform text data into embeddings for semantic search, clustering, and other vector-based operations.
Toolsopenai
Block Preview
Embeddings
Generate Open AI embeddings
Usage
- Add the block to your workflow and connect it to the upstream step.
- Configure any required credentials or tokens in the inputs.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the openai block with monitoring enabled in production.
Inputs (UI)
Input Text
long-inputPlaceholder: Enter text to generate embeddings for
Layout: full
Model
dropdownLayout: full
Options: text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002
API Key
short-inputPlaceholder: Enter your OpenAI API key
Layout: full
Inputs (API)
input
stringRequired
model
stringOptional
apiKey
stringRequired
Outputs
Primary response type:
{
"embeddings": "json",
"model": "string",
"usage": "json"
}Tool Access
openai_embeddings