Custom knowledge-base
# support
a
I am trying to use custom knowledge-base provider however I see no backend requests. Is there more documentation to follow for custom knowledge-base? I created the knowledge-base provider, I assigned it to an assistant, published said assistant then tested using chat. I see no backend requests however if I use
trevie
the knowledge base is working as intended.
v
Hi there! 👋 I found some information that might help with your custom knowledge-base provider issue. The most common reason for not seeing backend requests is an improper configuration. Make sure your knowledge base configuration includes the
provider
field set to
custom-knowledge-base
. Without this, the backend won't recognize the request downstream. Here's an example of the correct configuration:
Copy code
json
{
  "knowledgeBase": {
    "provider": "custom-knowledge-base",
    "server": {
      "url": "https://your-local-server.com/knowledge-base"
    }
  }
}
Some troubleshooting steps you can try: 1. Verify your knowledge base provider configuration has the correct
provider
field 2. Check your server and API logs for any errors during requests 3. Ensure your server is properly set up to handle POST requests from Vapi 4. Verify network settings if you're running a local server Since
trevie
is working for you, it suggests the issue is specific to your custom provider configuration rather than a general Vapi setup problem. Let me know if you need more specific help with any of these steps! 🔍 Sources: - [Discord Thread about Knowledge Base Provider](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1344182165990015016) - [Discord Thread about Custom Knowledge Base Issues](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1340832089351782563) - [Discord Thread about Troubleshooting](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343853917322350703)
a
Since the knowledge base provider was created that means the request was valid. I tested the url manually and I can see my request however I see no requests from vapi backends.
trieve
has nothing to do with custom knowledge bases however it does point to an issue maybe in vapi's way to handle custom knowledge bases.
Plus those sources seem to not exist... Guess that's what you get when talking to an LLM. (facepalm)
s
Hey! To help track down this issue, could you share: - The call ID This would really help us figure out what went wrong!