# IndexConfig

> **Class** in `langgraph.store`

📖 [View in docs](https://reference.langchain.com/python/langgraph.store/base/IndexConfig)

Configuration for indexing documents for semantic search in the store.

If not provided to the store, the store will not support vector search.
In that case, all `index` arguments to `put()` and `aput()` operations will be ignored.

## Signature

```python
IndexConfig()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    dims: int,
    embed: Embeddings | EmbeddingsFunc | AEmbeddingsFunc | str,
    fields: list[str] | None,
)
```

| Name | Type |
|------|------|
| `dims` | `int` |
| `embed` | `Embeddings \| EmbeddingsFunc \| AEmbeddingsFunc \| str` |
| `fields` | `list[str] \| None` |


## Properties

- `dims`
- `embed`
- `fields`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/916025d2f6d9f6ddb2628bd248bc4f3db632d9a8/libs/checkpoint/langgraph/store/base/__init__.py#L570)