KB still not working after uploading files and att...
# support
c
Still can't make the assistant use the KB. I have used all of the endpoints for uploading (https://api.vapi.ai/file), creating the kb (https://api.vapi.ai/knowledge-base), and updating the assistant (https://api.vapi.ai/assistant) to attach the kb into it but the assistant still can't use it whenever I test it. I would really prefer if I didn't have to create a trieve account and just manage everything on VAPI. Did I miss any step to successfully use this new KB?? Call Ids for reference: fbf186bc-3037-443c-bfcc-1cf7e69d385f e835e55c-cffe-4f2f-a93f-3f2258588659 91b18634-f312-41fb-9356-8b04e6dbccb0 If the bot did ever answer it was answering everything wrong.
@Sahil can you please help? Our bot has tons of users everyday and it queries the KB a lot of times per session.
g
Second this ^
g
Hello! I made a video last week to help people troubleshoot this specific issue. I am sharing the link below:

https://youtu.be/DI1j6lTE8Q0

If you have tried that and it still doesn't work you can send me a Loom video and I will be happy to help you troubleshoot it
c
Hey, we will be having an Office Hour in 20 minutes. Can you hop in and get your query resolved during it?
s
@coffee_java Try agin with the score threshold set to 0.
c
Hey I don't really have time today to attend an office hour but would appreciate if you could go through this issue to quickly check on it please?
Alright will try, but wont that cause issues with accuracy?
s
No it won't cost you the accuracy if your using the defaults of create/search plan.
If you use the different combinations then yeah you might have to tweak the score threshold.
á
Hi, I'm having the same trouble trying to get my uploaded documents in the Knowledge base. I cannot see any of them even if I upload new ones. Thanks so much.
s
@Álvaro What source are using to create the KB automation-tool or loom video?
á
We are using MAKE. Thank for your answer @Shubham Bajaj
s
No I meant to ask how your creating the KB using transient KB or KB ID field? If you have call ID it will be helpful to assist you.
c
what are ther different combinations? what should be the searchtype when i try it out
á
Call ID: 3af3b0b5-ce9e-483f-85b5-4ea9dc4c11e5
KB ID: 4f9d131c-eb3a-4564-8105-c3d31b0da3e1
s
Hi @Shubham Bajaj sorry for suddenly joining the thread but we're having the same issue and we tried this solution just now but it still won't work. cc52dad8-1e98-4554-ae11-cb31ed73371a
c
still did not work
hey @Shubham Bajaj any other possible things we could try?
s
Hey @sj , @coffee_java , can you join the office hour today?
s
@Álvaro I know I am asking a lot, but To help track down this issue, could you share (Call ID: 3af3b0b5-ce9e-483f-85b5-4ea9dc4c11e5): - What response you expected to get - What response you actually got instead This would really help me figure out what went wrong!
@sj could you also share: - What response you expected to get - What response you actually got instead
@coffee_java could you also share the recent call ID not working for you along with: - What response you expected to get - What response you actually got instead
s
Hi @Shubham Bajaj I mostly asked for the email address of one our clients but it was responding with a made up email instead. Am not able to disclose some information publicly but can I send you a dm instead about this issue? Or can we just set up a quick call if you would prefer that?
@Shubham Bajaj looping in one of my teammates in this ticket in case i am unavailable. Cc: @Seiha
@Shubham Bajaj call id: eabf0d84-37dd-4e05-93ca-5add9028c1aa Expected it to give an email of a client that is in the kb but instead it was saying that it can't provide me with information like that
á
Hi @Shubham Bajaj I need to resolve the issue with the KnowledgeBase as soon as possible. I’m unable to select the documentation I uploaded in .PDF or .DOCX format. What is happening with the service? This is critical, as I have a demo with a client tomorrow. Our Assistant ID: 9c52548b-9f22-4c55-89bc-27d08cc4875c Please let me know how to proceed. Thanks.
f
@coffee_java @ghughes13 @Álvaro I finally found the solution, you have to follow the right documentation. Some resources shared in the discord are missing important information! We've done everything we needed to, but we forgot to add the Trieve API key to the Provider Credentials menu in VAPI, which is not indicated in the resources! So, to sum up, you need to create a Trieve account, add the file to create a Dataset (if you want to do all on Trieve, otherwise just generate an API key and go back to VAPI to copy paste your key), and once the Dataset has been created on Trieve, generate an API key and paste it into VAPI. The correct documentation is as follows: https://docs.vapi.ai/customization/bring-your-own-vectors/trieve#using-trieve-with-vapi if you follow what you've done but add the API Trieve key to VAPI beforehand, it should work and you should see the knowledge base working again. Personnaly I decided to do all on Trieve (see the link above) and use the "import" method https://cdn.discordapp.com/attachments/1338536777719484426/1339326719886360719/image.png?ex=67ae50b5&is=67acff35&hm=615d385c0d0e0bb83bfeb6ab2e1fcda97283f9b9c26e0e8a74b4ec0b1f3c6706&