@MukuFlash03
Hello!
Currently, VAPI does not provide a direct feature to automatically select the latest uploaded file for inclusion in the assistant's knowledge base through the dashboard interface. However, you can achieve this programmatically by using VAPI's API, if available.
To programmatically select the latest file for your assistant's knowledge base, you would typically need to:
1. Use an API endpoint to list all files in the knowledge base.
2. Identify the most recently uploaded file from the list.
3. Use another API endpoint to update the assistant's configuration, setting the identified file as the selected knowledge base document.
If VAPI offers such API endpoints, you would need to write a script or a program that makes these API calls in sequence. This script could be triggered after each file upload to ensure the assistant always uses the latest file.
If you need assistance with the specific API calls or if you have any further questions, please let me know, and I'd be happy to help! If this functionality is not yet available, I would recommend reaching out to the VAPI support team for more information on potential workarounds or upcoming features that might meet your needs.