Hello everyone, I'm looking to delete a file from my vector store after it's been used.
I attempted the following:
However, this resulted in a 404 error. I also tried including a request body, adding {}
to the URL, and appending query strings, but I encountered the same response. The file ID appears to be in the format file-...
.
Could you please explain the correct way to interact with the API for file deletion?
I also have another question: Is it possible to remove a specific older file from storage if it contains a particular character string in its title?
Welcome to the callin.io community!
You entered an Absolute (full) URL into the URL field.
If you read the description below it, it states:
Enter a path relative … for example …
–
Join the callin.io Fans Discord server to chat with other makers!
Thanks, reading your message helped me understand what a relative path is.
I learned about relative paths (I only had to write v1/files/fileID in the URL for others), how to set up my OpenAI API calls, and my scenario is now complete.
Thanks.