POST https://api.vapi.ai/knowledge-base Headers: A...
# general-english
m
POST https://api.vapi.ai/knowledge-base Headers: Authorization: Bearer {{vapi_api_key}} Body: { "name": "{{knowledge_base_name}}", "provider": "trieve", "searchPlan": { "scoreThreshold": 0.2, "searchType": "semantic" }, "createPlan": { "type": "import", "providerId": "{{dataset_id}}" } } But I have query as what will be the case "I want to create a knowledge base with multiple files so that I can use it across multiple assistants. To achieve this, I first upload files to Vapi, use them to create a knowledge base (KB), and then assign the KB to an assistant. Given this setup, should I upload the files to different datasets on Trieve or store all files in a single dataset? If using a single dataset is the right approach, please provide the steps to follow. Additionally, if I upload files to multiple datasets, I understand that I would need to create multiple KBs. However, I am unsure how to manage and utilize multiple KBs within an assistant. Could you clarify this process?"