Docs: fix example (#3972)

This commit is contained in:
Ykoh
2025-03-21 16:39:39 -04:00
committed by GitHub
parent 7085b149e5
commit 765b04adfd
@@ -78,7 +78,7 @@ class AsyncPostgresStore(AsyncBatchedBaseStore, BasePostgresStore[_ainternal.Con
await store.aput(("docs",), "doc3", {"text": "Other guide"}, index=False) # don't index
# Search by similarity
results = await store.asearch(("docs",), "programming guides", limit=2)
results = await store.asearch(("docs",), query="programming guides", limit=2)
```
Using connection pooling for better performance: