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.

Back to Catalog
Toolsopenai

Block Preview

OpenAI

Embeddings

Generate Open AI embeddings

Usage

  1. Add the block to your workflow and connect it to the upstream step.
  2. Configure any required credentials or tokens in the inputs.
  3. Fill in required inputs and optional parameters for the run.
  4. Run a test execution, inspect outputs, and iterate before deploying.
  5. Deploy the openai block with monitoring enabled in production.

Inputs (UI)

Input Text

long-input

Placeholder: Enter text to generate embeddings for

Layout: full

Model

dropdown

Layout: full

Options: text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002

API Key

short-input

Placeholder: Enter your OpenAI API key

Layout: full

Inputs (API)

input

string

Required

model

string

Optional

apiKey

string

Required

Outputs

Primary response type:

{
  "embeddings": "json",
  "model": "string",
  "usage": "json"
}

Tool Access

openai_embeddings
Embeddings | NowFlow Blocks