Migrating from Trieve
Essential migration guide for Trieve users - service ending November 1st, 2025
URGENT: Trieve is shutting down on November 1st, 2025. All Trieve-based knowledge bases must be migrated before this date to avoid service disruption.
Overview
Trieve is shutting down their cloud service on November 1st, 2025. If you’re currently using Trieve for your Vapi knowledge bases, you need to migrate before this date to avoid service disruption.
This guide provides two migration paths to ensure your assistant continues working seamlessly.
Available migration options:
- Custom Knowledge Base: Full control with your own search infrastructure
- Google Knowledge Base: Managed solution using Google’s Gemini models
Important Behavioral Difference: Google knowledge bases work as tools that the assistant calls when needed based on your prompt instructions. Custom knowledge bases are queried on every user request automatically. Choose based on whether you want selective or automatic knowledge retrieval.
Recommendation: To maintain the same assistant behavior as your previous Trieve setup, we recommend migrating to a Custom Knowledge Base. This ensures your assistant continues to automatically query your knowledge on every user message, just like it did with Trieve.
Migration Options Comparison
Choose the migration path that best fits your needs:
Best for: Advanced users wanting automatic knowledge retrieval
- Queried on every user message
- Full control over search logic
- Use any vector database or search system
- Requires server development
Best for: Quick migration with selective knowledge use
- Works as a tool called when needed
- Simple file upload process
- No server maintenance required
- Assistant decides when to use knowledge
Decision Matrix
Migrating to Custom Knowledge Base
Step 1: Export Your Data
Your export process depends on how your Trieve knowledge base was originally created:
Option A: User-Managed Trieve Dataset (Import Plan)
If you created your knowledge base with your own Trieve dataset:
- Access your Trieve dashboard directly
- Export your datasets in your preferred format
- Download all document chunks and metadata
- Save any custom embeddings if applicable
Option B: Vapi-Managed Trieve Dataset (Create Plan)
If Vapi created and managed your Trieve dataset:
- Navigate to the Files page in your Vapi dashboard
- Download the individual files that were uploaded to create the knowledge base
- These files are stored in Vapi and are not affected by the Trieve shutdown
Files uploaded to Vapi are safe: If your knowledge base was created using files uploaded to Vapi, those files remain available in your Vapi account and are not affected by the Trieve shutdown.
Step 2: Set Up Your Custom Server
Choose your infrastructure and implement the knowledge base endpoint:
Step 3: Create Custom Knowledge Base in Vapi
Step 4: Update Your Assistant
Replace your Trieve knowledge base with the custom one:
Migrating to Google Knowledge Base
Step 1: Prepare Your Files
Your file preparation depends on how your Trieve knowledge base was originally created:
Option A: User-Managed Trieve Dataset (Import Plan)
If you created your knowledge base with your own Trieve dataset:
- Export your Trieve datasets as individual files
- Organize files by topic or domain
- Ensure files are in supported formats (
.txt
,.pdf
,.docx
,.md
, etc.) - Keep individual files under 300KB for optimal processing
- Upload these files to Vapi (you’ll need them in Vapi to create the query tool)
Option B: Vapi-Managed Trieve Dataset (Create Plan)
If Vapi created and managed your Trieve dataset:
- Navigate to the Files page in your Vapi dashboard
- Locate the files that were used to create your Trieve knowledge base
- Note the file IDs - you’ll use these directly to create your query tool
- No need to download or re-upload - the files are already in Vapi
Files uploaded to Vapi are safe: If your knowledge base was created using files uploaded to Vapi, those files remain available and are not affected by the Trieve shutdown.
Step 2: Upload Files to Vapi (Option A Only)
This step is only required for Option A (User-Managed Trieve). If you’re using Option B (Vapi-Managed), skip to Step 3 as your files are already in Vapi.
If you exported files from your own Trieve dataset (Option A):
- Navigate to Build > Files in your Vapi dashboard
- Click Upload and select your exported files
- Wait for processing and note the generated file IDs
Step 3: Create Query Tool
Create a query tool using your file IDs:
- Option A: Use the file IDs from the files you just uploaded in Step 2
- Option B: Use the existing file IDs you noted from your Vapi Files page
For detailed instructions, see our Query Tool documentation.
Don’t forget: You must update your assistant’s system prompt to explicitly name the tool to use. Add instructions like: “When users ask about products or support topics, use the ‘knowledge-search’ tool to search the knowledge base.” Replace ‘knowledge-search’ with your actual tool function name.
Step 4: Update Your Assistant
Remove Trieve tools and add your new query tool:
Post-Migration Checklist
After completing your migration:
- Test all assistants to ensure knowledge retrieval is working
- Monitor response quality and adjust configurations if needed
- Remove the old Trieve knowledge base from Vapi using API.
- Remove Trieve credentials from Vapi dashboard
Troubleshooting Common Issues
Poor Search Quality After Migration
Custom Knowledge Base:
- Verify your embedding model matches or exceeds Trieve’s quality
- Adjust similarity thresholds based on your model
- Test different chunking strategies
- Consider implementing hybrid search (semantic + keyword)
Google Knowledge Base:
- Review file formatting and structure
- Optimize knowledge base descriptions
- Test with different query phrasings
- Consider splitting large files into smaller, focused documents
Performance Issues
Custom Knowledge Base:
- Implement caching for frequently searched content
- Optimize your vector database configuration
- Consider using faster embedding models for latency-critical applications
- Monitor and optimize server response times
Google Knowledge Base:
- Ensure files are under 300KB each
- Use clear, well-structured file formats
- Minimize the number of files per knowledge base where possible
Next Steps
Once you’ve completed your migration:
- Custom Knowledge Base: Learn advanced customization options
- Query Tool Configuration: Optimize your Google knowledge base setup
- Assistant Configuration: Fine-tune your assistant’s knowledge base usage