Khaled Mahmud Sultan
06/25/2025, 11:58 AMKyle Brunker
06/26/2025, 2:12 AMjina-base-en
, text-embedding-3-small
, or text-embedding-3-large
.
2. Generate Trieve API Key:
- Navigate to your Trieve dashboard to create and retrieve your API key.
3. Add Trieve API Key to Vapi:
- Go to Vapi's dashboard.
- Under the credentials page, input your Trieve API key.
4. Integrate with Vapi:
- Use the BYOK (Bring Your Own Key) approach for more control and flexibility.
- Import the dataset with the appropriate settings:
json
{
"provider": "trieve",
"name": "your-dataset-name",
"searchPlan": {
"scoreThreshold": 0.2,
"searchType": "semantic"
},
"createPlan": {
"type": "import",
"providerId": "<Your Trieve Dataset ID>"
}
}
- Ensure the dataset ID is correct and check the permissions required (e.g., READ_DATASET
scope).
For detailed instructions on integrating Trieve with Vapi and troubleshooting potential issues, refer to the [Vapi and Trieve integration documentation](https://docs.vapi.ai/customization/bring-your-own-vectors/trieve) and the [API reference for creating knowledge bases](https://docs.vapi.ai/api-reference/knowledge-bases/create).