# InMemoryDBModel

> **Class** in `langchain_aws`

📖 [View in docs](https://reference.langchain.com/python/langchain-aws/vectorstores/inmemorydb/schema/InMemoryDBModel)

Schema for MemoryDB index.

## Signature

```python
InMemoryDBModel()
```

## Extends

- `BaseModel`

## Properties

- `text`
- `tag`
- `numeric`
- `extra`
- `vector`
- `content_key`
- `content_vector_key`
- `content_vector`
- `vector_dtype`
- `is_empty`
- `metadata_keys`

## Methods

- [`add_content_field()`](https://reference.langchain.com/python/langchain-aws/vectorstores/inmemorydb/schema/InMemoryDBModel/add_content_field)
- [`add_vector_field()`](https://reference.langchain.com/python/langchain-aws/vectorstores/inmemorydb/schema/InMemoryDBModel/add_vector_field)
- [`as_dict()`](https://reference.langchain.com/python/langchain-aws/vectorstores/inmemorydb/schema/InMemoryDBModel/as_dict)
- [`get_fields()`](https://reference.langchain.com/python/langchain-aws/vectorstores/inmemorydb/schema/InMemoryDBModel/get_fields)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-aws/blob/ea22fe3d744a3248b0b74ed555e9c34844b35a54/libs/aws/langchain_aws/vectorstores/inmemorydb/schema.py#L166)