Urgent: knowledgebase API errors
# support
c
Louis my CTO and developer has spent the last week creating an automated Web-app onboarding process including auto generating a knowledge base. However we have found that last night the knowledge base generation via api has stopped working. It was working fine yesterday, and today when i try making a post request to /knowledge-base I get: { "message": "Invalid Knowledge Base Details. Failed to create trieve dataset", "error": "Bad Request", "statusCode": 400 } Image please can we have some understanding on what we need to do to get this back up and working please. we have several clients that we are needing to onboard using this system and this is very urgent to sort
s
I'm having the same issue. I need a solution asap. I found out it wasn't working during a demo to a new client, which wasn't a good look
u
Me too
s
@Vapi Is there a fix for this anytime soon. This has been down for more then 18 hours now, with no reply on the status of the fix.
u
thanks for share the reply!
m
@Chris @SteveCachia @15cm_de_dolor If you create a dataset in trieve and upload your kb files directly on trieve, generate new trieve api key and paste that in credential provider in Vapi, you can then import your kb to Vapi by making a post request to Vapi api knowledge-base route JSON: { "name": “name your kb file”, "provider": "trieve", "searchPlan": { "scoreThreshold": 0.2, "searchType": "semantic" }, "createPlan": { "type": "import", "providerId": "" } } Doc for detailed breakdown: https://docs.vapi.ai/knowledge-base/integrating-with-trieve I can make a video on my youtube breaking this down if y’all would like, lmk👍🏾
s
I have been using that now, but its painful how vapi just changes things without telling their clients to prepare for the change.
c
Yes us too
s
@Chris @SteveCachia @mccantsquincy @15cm_de_dolor I sincerely apologize for the KB experience. The issue was on our end; the create plan was misaligned with the trieve API key. We are actively working to resolve this problem. In the meantime, please bring your own datasets to unblock yourself.
s
do you have a timeframe yet? as i've spent 12 hours trying to get Trieve working, which is extremely painful, as you can;t duplicate KB, you need to re-upload files everytime you create a new dataset. My whole platform is dynamic and relise on custom KB that are created on the fly.
c
Thank you Shubham for the apology. Appreciate your efforts on resolving this
We have had to just create a new one and upload the new KB’s to Vapi for each new change. The old KB can’t be deleted via api at this time so they are just sitting in Vapi
s
do you have an ETA on the fix? I need this to work before a demo that I have soon! have you documented how I can use my own dataset in the meantime?
s
@Shraddha @Chris @SteveCachia @mccantsquincy @15cm_de_dolor Sorry for the delay. The issue is resolved. You can try again and it will work.
@Shraddha checking if your still blocked on this.
s
Unblocked by this
thank you!
p
Marking this ticket as Solved ✅
2 Views