---
title: Index | Developer Documentation
---

An index is the basic container for organizing your data. Besides managed indexes using [LlamaCloud](/typescript/framework/modules/data/data_index/managed/index.md), LlamaIndex.TS supports three indexes:

- `VectorStoreIndex` - will send the top-k `Node`s to the LLM when generating a response. The default top-k is 2.
- `SummaryIndex` - will send every `Node` in the index to the LLM in order to generate a response
- `KeywordTableIndex` extracts and provides keywords from `Node`s to the LLM

```
import { Document, VectorStoreIndex } from "llamaindex";


const document = new Document({ text: "test" });


const index = await VectorStoreIndex.fromDocuments([document]);
```

## API Reference

- [SummaryIndex](/typescript/framework-api-reference/classes/summaryindex/index.md)
- [VectorStoreIndex](/typescript/framework-api-reference/classes/vectorstoreindex/index.md)
- [KeywordTableIndex](/typescript/framework-api-reference/classes/keywordtableindex/index.md)
