Can i add an entry to the knowledge base through t...
# 🤝help
p
I want to add a new text file to the knowledge base through an automated process, is there an endpoint to do this? Should i export the bot, then modify the knowledge base and import the bot again? Thanks!
I read the new api will soon be available, im wondering if there is a work around in the meantime. Thanks!
b
I currently don't have a workaround for this, but why wouldn't you simply upload the new knowledge base file to the bot? there's no need to export/import unless I've misunderstood what you're trying to do!
p
i want to automate the process of uploading new data to the KB
b
yeah as you've noted that's not currently possible
but what you described in the initial post, exporting the bot and modifying the KB, is also unnecessary - you can just change files directly in the KB
p
Can i modify KB files via the /v1/files endpoints? If that's the case great! That's what i was looking for thanks!
@bumpy-butcher-41910 Hi, sorry to bother you, but i tried it and the document i created in the KB doesn't show up when i send a GET request to http://api.botpress.cloud/v1/files
38 Views