---
title: "Embedding"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/openai/text/embedding
markdown: https://docs.nodetool.ai/nodes/openai/text/embedding.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/openai/text/embedding.md
---

# Embedding

**Type:** `openai.text.Embedding`

**Namespace:** `openai.text`

## Description

Generate vector representations of text for semantic analysis.
    embeddings, similarity, search, clustering, classification

    Uses OpenAI's embedding models to create dense vector representations of text.
    These vectors capture semantic meaning, enabling:
    - Semantic search
    - Text clustering
    - Document classification
    - Recommendation systems
    - Anomaly detection
    - Measuring text similarity and diversity

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| input | `str` |  | `` |
| model | `enum` |  | `text-embedding-3-small` |
| chunk_size | `int` |  | `4096` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `list` |  |

## Related Nodes

Browse other nodes in the [openai.text](./) namespace.
