Trieve Knowledge Base Crashing Assistant
# support
c
I am trying to create a call with a trieve knowledge base I have created for an assistant. Whenever I use this knowledge base, regardless of the threshold, it halts responses from the assistant. Call ID: 2d1d7425-b9f4-4b18-bee6-6c74d9fd9a23 Assistant ID: 2f97ffd5-cbb7-48a1-8bb2-0df25c1b6181 KB ID(s) tried: 409c3311-9245-478f-955b-0fd34bdbbcf4, 055c4877-f6a4-4058-b6a9-6f8a94b39988 31ad7e92-0217-4d7e-a80c-e21bdb0c1d6d 7f59a6de-686e-4a3b-bc7b-9ef70a6f758d This is a cosine similarity DB with all the files already chunked and added
v
@codeman3786 I'm sorry to hear that you're experiencing issues with your trieve knowledge base causing halts in responses from the assistant. To better assist you, I would need to understand more about how you're integrating the knowledge base with the assistant and the specific scenarios in which the halting occurs. Could you please provide more details about the steps you're taking when you initiate a call with the knowledge base? Additionally, are there any error messages or logs that you can share that might indicate what's causing the problem? This information will help me guide you more effectively.
You can continue this conversation by mentioning me in the message.
c
I pass the knowledgeBaseId as an assistant override and it breaks the agent. There are no logs on VAPI that show me what the model is doing here
v
@codeman3786 It seems like there might be an issue with how the knowledge base is being utilized by the assistant. To address this, we should ensure that the knowledge base IDs are correctly passed as overrides and that the assistant is configured to handle them properly. Since you've mentioned that you're using a cosine similarity database with chunked files, it's important to verify that the assistant is set up to query this type of knowledge base effectively. The
topK
parameter, which determines the number of top results to retrieve, and the
provider
should be set correctly to match the capabilities of your knowledge base. Let's start by confirming the assistant override settings for the knowledge base. Could you please provide the exact payload or parameters you're using to pass the knowledgeBaseId as an override? This will help me ensure that the configuration is correct and suggest any necessary adjustments.
c
There is no topK, only threshold
v
@codeman3786 Understood. If you're only using a threshold parameter and there's no
topK
involved, it's important to ensure that the threshold is set at an appropriate level. If the threshold is too high, the knowledge base may not return any results, which could be why the assistant halts. Conversely, if it's too low, you might get too many irrelevant results. Since you're experiencing issues with the assistant halting and there are no logs available on VAPI to diagnose the problem, I would recommend the following steps: 1. Double-check the assistant override settings to ensure that the
knowledgeBaseId
is correctly passed and that the format is as expected by the assistant. 2. Experiment with different threshold values to find a balance that allows the assistant to retrieve useful information without halting. 3. If possible, test the knowledge base independently of the assistant to ensure it's functioning as expected and returning results for given queries. 4. If the issue persists, consider reaching out to the support team with the details of your setup, including the Call ID, Assistant ID, and Knowledge Base IDs, as well as the steps you've taken so far. If you've already tried these steps without success, please let me know, and we can explore further options. If there's anything else I can assist you with, please feel free to ask.
c
There is no topK in the API. I have tried thresholds from 0 to 1. The knowledge base is working fine. I need support from the team
v
@codeman3786 I understand that you've tried various threshold settings and confirmed that the knowledge base itself is functioning correctly. Since the issue persists and you require further assistance, I recommend reaching out to the support team for a more in-depth investigation. Please provide them with all the relevant details, including the Call ID, Assistant ID, Knowledge Base IDs, the thresholds you've tested, and a description of how the assistant behaves when the knowledge base is integrated. The support team will be able to assist you further and help resolve the issue you're facing. Would you like me to initiate a support ticket for you?
c
Yes. All that info is above
Yes. All that info is above
v
@codeman3786 Sweet. Have a great day!
4 Views