Authentication plan is not properly configured on ...
# support
k
Hi Khaled Mahmud Sultan, To configure the authentication plan properly on Trieve, you should ensure that you have created a Trieve API key and added it to the Vapi Provider Credentials. Here's a quick guide on how to proceed: 1. Set Up Trieve Dataset: - Create an account and dataset on Trieve through their dashboard. - Choose the appropriate embedding model, such as
jina-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:
Copy code
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).