Adding KnwolegeBase via API
# support
c
Hi There, can anyone tell me whats wrong with my script? KB name is UseCase and I took the file ID from the Vapi Dashboard, where I uploaded the PDF. https://cdn.discordapp.com/attachments/1336977019485028434/1336977019862384650/image.png?ex=67a5c461&is=67a472e1&hm=5967e8da22123adab86265d862d2be092523613e2a3499a6ab17ccac84d03c78&
v
@Claudio Pillath Hello! I'd be happy to help you with your script. Could you please provide me with more details about the issue you're encountering? Specifically, what error or unexpected behavior are you experiencing when you run your script? Additionally, if you could share a snippet of your script where you're using the file ID, that would be very helpful for diagnosing the problem.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.
s
@Claudio Pillath We have migrated from Canonical to Trieve. You will need to attach the Knowledge Base using the API. You can learn more about it here: https://docs.vapi.ai/knowledgebase
c
I know. I read the KB doc. Have a look at my script.
g
Hey Claudio! I made a video to help others troubleshoot the knowledge base I hope it helps you. Feel free to ask me anything if you get stuck

https://youtu.be/DI1j6lTE8Q0

c
Yes! You need to add websites with no content. Many thanks!
g
My pleasure! That is why some people are having issues. They need to update the current docs to specify that part
s
@geramalagon @Claudio Pillath You can utilize this tool: https://dub.sh/4GefClE to expedite the Knowledge Base setup process. Additionally take a moment to view this brief 10-minute video, which will guide you in setting up a Knowledge Base independently: https://www.loom.com/share/9986c175aef146f9b85631414d5e1d67?sid=71983154-6216-477d-b79a-d6e890002a73.