Automatically updating the knowledge base
# support
n
Hi there, I wanted to automate the kb update and there’s no ‘update knowledge base’ endpoint anymore in the api section, what’s the right way to keep my KB up to date, should I upload a new file with POST /file and then update the Query tool/assistant each time, or use a Trieve-backed KB and just upsert records into my dataset? Given frequent updates, which option is best in practice?
v
Thanks for your question! To recommend the best approach for automating your knowledge base updates, could you clarify how frequently you need to update your KB (e.g., hourly, daily, or ad-hoc)? This will help determine whether a Trieve-backed (custom) KB or the Query Tool with file uploads is more practical for your use case. Once I know your update frequency, I can suggest the most efficient and maintainable workflow for your needs. Sources: - [Migrating from Trieve](https://docs.vapi.ai/knowledge-base/migrating-from-trieve) - [Using the Query Tool for Knowledge Bases](https://docs.vapi.ai/knowledge-base/using-query-tool) - [Custom Knowledge Base](https://docs.vapi.ai/knowledge-base/custom-knowledge-base)
n
Thank you for your fast response, we would update the knowledge base hourly mostly
m
just fyi, Trieve will shut down on November 1st.
n
For real, where did you hear that Ok can someone tell me the best way for this? that doesn't require uploading a file
@User If you can help, please let me know
c
Right here: You are still able to use a custom-kb whether that is a self-hosted trieve KB or something else, but please read the documentation as it may help you understand your options
n
Thanks kyle, will look into it
c
Sounds good.
n
Found a solution thank you
3 Views