Suppose I have created one assistant GPT, multiple threads, should I create new assistant(based on the same config) for each thread to achieve parallelism, or is assistant GPT designed to support multi-threading?
Hi and welcome to the Developer Forum!
You would need to create one thread per user, unless you wish to handle the thread locking imposed by currently running threads, yourself. So to your exact question, no, they are not multi-threaded in the sense of using the same ThreadID for many users.
Thx! I get the one thread per user part, but do I need one assistant_id per thread_id for parallelism?
I have not tried loading a single thread_id from many assistants…
100% worth a try, see what happens.
How about running multiple thread_ids with single assistant_id simultaneously?
Gonna try all of it myself
please let us know! I don’t have the time but I’m curious.