awake-maroonA

How to add metadata filter to KnowledgeBase?

I am trying to add memory to the assistant with the knowledge base, and now i have a task to give it user-level memory - my first approach was to use RAG with a tool call, but that is not very efficient and adds more latency.

My goal is to save the transcript summary in the trieve in a "user_lvl_memory" knowledge with a phone_number metadata filter and
when i make the call to the assistant - transient assistant, I will pass that user_lvl_memory knowledgebase with phone_number filter

hope this makes sense, maybe this is not available or there are alternatives that can be used
Was this page helpful?