---
title: "Index Text Chunk"
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/vector/indextextchunk
markdown: https://docs.nodetool.ai/nodes/vector/indextextchunk.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/vector/indextextchunk.md
---

# Index Text Chunk

**Type:** `vector.IndexTextChunk`

**Namespace:** `vector`

## Description

Index a single text chunk.
    vector, embedding, collection, RAG, index, text, chunk

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| collection | `collection` | The collection to index | `{"type":"collection","name":""}` |
| document_id | `str` | The document ID to associate with the text chunk | `` |
| text | `str` | The text to index | `` |
| metadata | `dict` | The metadata to associate with the text chunk | `{}` |

## Outputs

_(none)_

## Related Nodes

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