# VectorstoreIndexCreator

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/indexes/vectorstore/VectorstoreIndexCreator)

Logic for creating indexes.

## Signature

```python
VectorstoreIndexCreator()
```

## Extends

- `BaseModel`

## Properties

- `vectorstore_cls`
- `embedding`
- `text_splitter`
- `vectorstore_kwargs`
- `model_config`

## Methods

- [`from_loaders()`](https://reference.langchain.com/python/langchain-classic/indexes/vectorstore/VectorstoreIndexCreator/from_loaders)
- [`afrom_loaders()`](https://reference.langchain.com/python/langchain-classic/indexes/vectorstore/VectorstoreIndexCreator/afrom_loaders)
- [`from_documents()`](https://reference.langchain.com/python/langchain-classic/indexes/vectorstore/VectorstoreIndexCreator/from_documents)
- [`afrom_documents()`](https://reference.langchain.com/python/langchain-classic/indexes/vectorstore/VectorstoreIndexCreator/afrom_documents)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/b302691ff9ad841804e93e5addbdc53b6974473b/libs/langchain/langchain_classic/indexes/vectorstore.py#L193)