Skip to content

Commit 8a96abf

Browse files
authored
Update README.md
1 parent eda33d8 commit 8a96abf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and [`pydantic-ai-harness`](https://github.com/pydantic/pydantic-ai-harness).
77

88
Drop `MongoDBMemoryCapability` into an agent's `capabilities=[...]` array and it gains
99
durable, cross-session, semantically-searchable memory — backed by MongoDB documents +
10-
Atlas Vector Search. Anchored to [pydantic-ai-harness#255](https://github.com/pydantic/pydantic-ai-harness/issues/255).
10+
MongoDB Vector Search. Anchored to [pydantic-ai-harness#255](https://github.com/pydantic/pydantic-ai-harness/issues/255).
1111

1212
## Why
1313

@@ -16,7 +16,7 @@ inflates tokens and hits context limits. This capability gives the agent a tiere
1616

1717
- **Short-term / episodic** — recent turns, semantically searchable via `$vectorSearch`.
1818
- **Long-term structured profile** — durable user preferences (always injected).
19-
- **Semantic recall** — Voyage 3.5 embeddings + Atlas Vector Search, with **prefiltering**.
19+
- **Semantic recall** — Voyage 3.5 embeddings + MongoDB Vector Search, with **prefiltering**.
2020

2121
## Install
2222

@@ -33,7 +33,7 @@ from pydantic_ai_mongodb_memory import MongoDBMemoryCapability
3333
memory = MongoDBMemoryCapability(
3434
connection_string="mongodb+srv://...",
3535
database_name="agent_memory",
36-
semantic_recall=True, # uses Atlas Vector Search + voyage-3.5
36+
semantic_recall=True, # uses MongoDB Vector Search + voyage-3.5
3737
)
3838

3939
agent = Agent("google:gemini-2.0-flash", capabilities=[memory])
@@ -70,7 +70,7 @@ Both auto-load `demo/.env` (`ATLAS_URI`, `VOYAGE_API_KEY`, `GEMINI_API_KEY`).
7070

7171
```bash
7272
python demo/main.py # data-level: seed team dataset, multi-turn, scope isolation, $vectorSearch
73-
python demo/agent_demo.py # a Gemini agent: cross-session memory + Atlas Vector Search w/ department prefilter
73+
python demo/agent_demo.py # a Gemini agent: cross-session memory + MongoDB Vector Search w/ department prefilter
7474
```
7575

7676
`agent_demo.py` proves the headline value: an agent told "only staff Engineering" in

0 commit comments

Comments
 (0)