Problem with knowledge base in transient assistant...
# support
z
I Have the following problem with transient assistant where I override it to add my knowledge base. With these overrides, When I call the assistant, I speak but the assistant won't. CallId c4989bc4-f6fc-4cd5-a69e-94750a319647 { "assistantId": "aac83e9c-becd-42e3-878a-8be7d9d5b2cb", "assistantOverrides": { "model": { "model": "gpt-4o", "provider": "openai", "knowledgeBaseId": "c5578cf1-02fe-4513-b0cf-b5127c341b21" }, "variableValues": {{ $json }} } } With these overrides without the knowledgeBaseId, everything is ok, the assistant speaks, except I don't have my knowledge base callId : 77b48353-d048-4a38-9c07-c2ac2ecc1d07 { "assistantId": "aac83e9c-becd-42e3-878a-8be7d9d5b2cb", "assistantOverrides": { "model": { "model": "gpt-4o", "provider": "openai" }, "variableValues": {{ $json }} } } It's really annoying since everything was working fine sooner ...
v
You can continue this conversation by mentioning me in the message.
@zxdream I'm sorry to hear you're experiencing issues with your transient assistant when adding your knowledge base. It seems like the problem arises when the
knowledgeBaseId
is included in the overrides. To assist you better, I would need to know more about the specific error or behavior you're encountering when the assistant fails to speak. Could you please provide me with the error message or describe in more detail what happens when the assistant doesn't respond? Additionally, please ensure that the
knowledgeBaseId
you are using is correct and that the knowledge base is properly configured and accessible. If everything seems to be in order on your end, there might be an issue with the integration of the knowledge base with the assistant model you're using. In that case, I would recommend checking for any updates or changes in the API documentation that might affect how knowledge bases should be integrated. If you need immediate assistance, please ask support for more info on this.
z
It works without me changing anything ... I'm really worried about the reliability of VAPI for my production use šŸ¤”
s
@zxdream Could you add the Knowledge Base again so I can try to reproduce the issue and report it to the team? Currently there is an unknown provider error in the logs, so I need the Knowledge Base ID to reproduce it.
z
@Shubham Bajaj So I can reproduce it with my assistant aac83e9c-becd-42e3-878a-8be7d9d5b2cb Steps to reproduce : - Create an assistant in the VAPI UI - On serverside, on assistant-request I use orverrides to add an existaing knowledge base { "assistantId": "aac83e9c-becd-42e3-878a-8be7d9d5b2cb", "assistantOverrides": { "model": { "model": "gpt-4o-mini", "provider": "openai", "knowledgeBaseId": "f91abba1-c345-4ef7-bad9-af536fc18ad0" }, "variableValues": { "current_time": "2025-01-16T20:30:56.395Z", "contact_id": "af783239-fea3-41d5-a09c-5175d959b591", "contact_phone_number": "+33786218042", "contact_first_name": "JuJu le foufou", "user_phone_number": "+33612345678", "user_id": "f00a1639-4125-42f2-a5b8-b533410da985", "user_first_name": "Juju la menace", "user_cal_link": "https://cal.com/julien-aguer", "user_job_title": "Plombier", "user_vocal_assistant_name": "Sophie la souris" } } } āŒ I call my agent, he does not speak : see call 3f3848c1-0bac-4a4d-b31d-7503be7e6578 If i remove "model": { "model": "gpt-4o-mini", "provider": "openai", "knowledgeBaseId": "f91abba1-c345-4ef7-bad9-af536fc18ad0" }, Then the assistat speaks to me šŸ’”I think the problem comes from the overrides with knowledge base
s
@zxdream looking into it.
@zxdream We are working on this and have created a ticket with the team. As soon as I receive any updates, I will let you know.
@zxdream can you try now the issue has been fixed.
4 Views