How to push and index knowledge base from API
# support
a
The Inkeep says it itself "Since direct integration via the API for uploading and directly referencing a knowledge base at the assistant or call level isn't explicitly outlined in the provided sources, you might need to adopt a more programmatic approach to achieve this integration, leveraging custom server interactions and functions." Is this true ?
v
Hi @Alexis, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Creating Custom Knowledge Bases for Your Voice AI Assistants]() * [Get Assistant]() * [Update Assistant]() * [List Assistants]() -----------------------------
### Answer Yes, the statement from Inkeep aligns with the information provided in the documentation. Vapi's API does not explicitly outline direct methods for uploading and indexing a knowledge base via the API at the assistant or call level. Instead, you can use a more programmatic approach involving custom server interactions and perhaps leveraging the server URL configuration to handle such operations [(1)]() . For details on how the API can interact with custom servers and use function calls, you can refer to the documentation on function calling and custom server interactions [(2)]() . If you need to create and manage a knowledge base programmatically, you might consider using the document upload and custom LLM integration features as described in the available guides [(1)]() , [(3)]() .
s
Nope. For knowledge base, you can refer to this guide https://docs.vapi.ai/knowledgebase#how-to-create-a-knowledge-base
v
Glad I could be helpful. Feel free to create a new thread with any new questions you may have.
a
Thanks so much @Sahil !
8 Views