I understand you're looking to implement user-level memory by saving transcript summaries in Trieve with a phone number filter. Based on the available information, I can see that metadata fields can be configured for filtering in Trieve, but I don't have specific details on implementing a phone_number filter.
Could you share more about:
1. Have you already created your Trieve dataset for the knowledge base? If so, what structure are you using for your documents?
2. Are you using the [Trieve API](
https://docs.vapi.ai/knowledge-base/integrating-with-trieve) directly to add documents with metadata, or are you trying to configure this through Vapi's API?
3. Have you considered using a custom knowledge base server as an alternative? This would allow you to implement custom filtering logic based on phone numbers when Vapi sends requests to your server.
Source:
- [Integrating with Trieve](
https://docs.vapi.ai/knowledge-base/integrating-with-trieve)