awake-maroonA

How to add filter on knowledgebase

I am saving the call summary directly in trieve dataset with a group id

each phone number -> grouped chunks (scoped to that phone number)

now how can i add a group id filter on the knowledgebase ?

i want to make the user level memory work

this is waht vapi documentation assistant gave me

"""
You are correct that, with current Vapi and Trieve integration, there is no built-in support to filter a shared Trieve dataset by user/group at runtime via the dashboard or a single API call. To isolate memory for each of 1,000 users, you would need to create 1,000 separate knowledge bases or datasets and programmatically associate each one with the correct user/assistant using the API1234.

There is no supported method to apply a dynamic filter (such as group ID or phone number) at call time within a single Trieve dataset in Vapi at this time25.
"""
Was this page helpful?