The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
Docs: where context filter (#547)
sw8fbarf0742dffa2ab
diff --git a/docs/advanced/query_configuration.mdx b/docs/advanced/query_configuration.mdxindex b71eba111..f3c39acb5 100644--- a/docs/advanced/query_configuration.mdx+++ b/docs/advanced/query_configuration.mdx@@ -67,6 +67,8 @@ _coming soon_|stream|control if response is streamed back to the user.|bool|False||deployment_name|t.b.a.|str|None||system_prompt|System prompt string. Unused if none.|str|None|+|where|filter for context search.|dict|None|+## ChatConfigdiff --git a/docs/introduction.mdx b/docs/introduction.mdxindex 22eadac34..5aef48dd8 100644--- a/docs/introduction.mdx+++ b/docs/introduction.mdx@@ -20,12 +20,16 @@ naval_chat_bot.add("https://www.youtube.com/watch?v=3qHkcs3kG44")naval_chat_bot.add("https://navalmanack.s3.amazonaws.com/Eric-Jorgenson_The-Almanack-of-Naval-Ravikant_Final.pdf")naval_chat_bot.add("https://nav.al/feedback")naval_chat_bot.add("https://nav.al/agi")+naval_chat_bot.add("The Meanings of Life", 'text', metadata={'chapter': 'philosphy'})# Embed Local Resourcesnaval_chat_bot.add(("Who is Naval Ravikant?", "Naval Ravikant is an Indian-American entrepreneur and investor."))naval_chat_bot.query("What unique capacity does Naval argue humans possess when it comes to understanding explanations or concepts?")# Answer: Naval argues that humans possess the unique capacity to understand explanations or concepts to the maximum extent possible in this physical reality.++# with where context filter+naval_chat_bot.query("What unique capacity does Naval argue humans possess when it comes to understanding explanations or concepts?", where={'chapter': 'philosophy'})```## 🚀 How it works?