Dynamically load files to retrieval

Hello everyone- Is it possible to dynamically load files available for retrieval? The idea is to have one assistant for multiple customers. So some files will only apply to certain customers. Thanks - Bejoy


You can upload files and link them to the assistant or you can upload files and add them to a message. The latter will let the assistant use them during a thread (conversation) but will not use it for other conversations.


Warning: Now, it is worth mentioning that because of how the API works, any client with API access will be able to access the files of anyone else. Today, they couldn’t possibly download them, but they could make the calls using the file ID to link it to their thread or the assistant

You should also be aware that retrieval has its own issues. Mainly on the return of sources, and a lack of clarity on pricing: