docs: fix Oracle vector store setup and search examples (#7111)

This commit is contained in:
Elif Sema Balcioglu
2026-09-01 19:19:48 +05:30
committed by GitHub
parent 71fba8d464
commit c33ca27f5e
2 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -1081,7 +1081,7 @@ def test_documentation():
},
]
m.add(messages, user_id="alice", metadata={"category": "movies"})
results = m.search("What movie to watch?", user_id="alice", limit=2)["results"]
results = m.search("What movie to watch?", filters={"user_id": "alice"}, top_k=2)["results"]
assert len(results) == 2
assert all(res["user_id"] == "alice" for res in results)
m.reset()