# 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/8d76a5d134a9b24438555191ac24f67e6ec4093c/libs/aws/langchain_aws/vectorstores/inmemorydb/schema.py#L166)