I am trying to understand, the files which we uploaded and associate them to vector store, for how many days will they be available. Want to understand should we have a persistant vector db or can just live with open ai file search api
Answer, in two parts:
Files uploaded to storage are forever available until you delete them.
There is a new feature where you can set an expiration length on files, maximum 30 days.
Vector stores are persistent, available until you delete them.
You are billed a daily per-GB rate for vector store data, with the first gigabyte free.
The only exception is in Assistants, where an auto-created thread vector store lasts for seven days.
Whether using a hosted file_search tool in a chat AI, or using the search API to retrieve the text of results, the same vector stores are used, with the same storage policy. Therefore, for your last sentence: vector stores having a single policy thus doesn’t affect the method you employ to use the vector stores you have created.
Thanks @_j for clarifying.