File not getting pulled
# support
m
Hello! I created a call with a transcrient assistant, I attached the fileIDs for the call properly yet when I ask the AI it says it has no files. Do you know what happened? Here's the callID:da253730-9d32-47bb-8d3a-761882052997 @Shubham Bajaj @Sahil
v
Hi there! 👋 I understand you're having an issue with your transcrient assistant not recognizing your attached fileIDs. Let me help you troubleshoot this! Based on the documentation I've found, here are some common reasons why this might be happening: 1. **Improper file attachment**: Make sure your file ID is correctly included in the
assistant.model.knowledgeBase.fileIds
parameter in your assistant's configuration. [This is a critical step](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335371096525897911). 2. **Knowledge Base configuration issues**: Check if your Knowledge Base settings have the correct
provider
field and
fileIds
setup. [This is especially important](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1343612796717371393) if you're using a custom knowledge base. 3. **Indexing delay**: After uploading files, they may need additional time for indexing. The assistant may not provide accurate responses until indexing is complete. [This can take a few minutes](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336607973576933420). 4. **System synchronization**: Sometimes there's a delay in the system's synchronization. Try refreshing your dashboard to ensure it's not a temporary loading issue. 5. **Migration issues**: If you've recently migrated from Canonical to Trieve knowledge bases, you need to attach the Knowledge base using the API with the correct format. [This requires an API update](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1338733363468697631). For your specific callID, I'd recommend checking your VAPI logs for any error messages related to file attachments and verifying that your configuration matches the expected format. I hope this helps! Let me know if you need any clarification on these steps. 😊 Sources:
p
Hey Manu, Please include the defaultQueryTool inside your assistant prompt. Here is a video for reference:
m
thanks I'll try!
I have tested using the defaultQueryTool and it works but heads up, on this page it mentions a slightly different process. Setting up a specific function (which I thought was deprecated). It's also putting the prompt in the knowledgeBase description? https://docs.vapi.ai/knowledge-base/using-query-tool So which process is correct?
p
Hello Manu, here is the best way to set it up: