LangChain Reference home page
Search...
โK
Ask AI
GitHub
Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
โI
Chat LangChain
What can I help with?
Enter
to send
ยท
Shift+Enter
new line
What are deep agents and how do I get started?
How do I build a React app around a Deep Agent?
How do I stream subagent output to my frontend with useStream?
Menu
Navigation
Projects
Amazon Nova
Anthropic
AstraDB
AWS
Overview
Chat Models
LLMs
Embeddings
Retrievers
Azure AI
Azure Cosmos DB
Azure Dynamic Sessions
Azure PostgreSQL
Azure Storage
Cerebras
Chroma
Cohere
Db2
DeepSeek
Elasticsearch
Exa
Fireworks
Google (Community)
Google GenAI (Gemini)
Google Vertex AI
Groq
HuggingFace
IBM
LiteLLM
Milvus
Mistral AI
Neo4J
Nomic
Nvidia AI Endpoints
Ollama
OpenAI
OpenRouter
Parallel
Perplexity
Pinecone
Postgres
Qdrant
Redis
Sema4
Snowflake
SQLServer
Tavily
Together
Unstructured
Upstage
Weaviate
xAI
Language
Python
JavaScript
Theme
Light
Dark
Python
langchain-aws
vectorstores
inmemorydb
schema
InMemoryDBModel
Class
v0.2.14 (latest)
โ
Since v0.1
InMemoryDBModel
Copy
InMemoryDBModel
(
)
Bases
BaseModel
Attributes
Methods
View source on GitHub
Version History
attribute
text
:
List
[
TextFieldSchema
]
attribute
tag
:
Optional
[
List
[
TagFieldSchema
]]
attribute
numeric
:
Optional
[
List
[
NumericFieldSchema
]]
attribute
extra
:
Optional
[
List
[
InMemoryDBField
]]
attribute
vector
:
Optional
[
List
[
Union
[
FlatVectorField
,
HNSWVectorField
]]]
attribute
content_key
:
str
attribute
content_vector_key
:
str
attribute
content_vector
:
Union
[
FlatVectorField
,
HNSWVectorField
]
attribute
vector_dtype
:
np
.
dtype
attribute
is_empty
:
bool
attribute
metadata_keys
:
List
[
str
]
method
add_content_field
method
add_vector_field
method
as_dict
method
get_fields
Schema for MemoryDB index.