🧠 Is one assistant, multiple separate threads with independent vector stores possible?

Hi!
The title says it all, basically.
What I want to achieve is an application that takes a table of file-paths, creates a single assistant, then runs separate queries on each file to answer questions about each file separately.

Currently, I have a working version where I create one assistant, one vector store and one thread per document, but this results in a large number of assistants (and vector stores).

Any ideas?

I do this because I assume the file_search functionality is better suited for this particular problem than extracting the contents of each file and passing in as prompts. But is that true?

Yes only creTe a new thread every time and add the file(s) to the thread not he assistant.

2 Likes

Yes you can add your files on 3 different level, the assistant, the thread, on a message.

1 Like