my code is as shown in the image, how do I get the OAI assistant to output the expected response, I seem to get a decent response when using the palyground but nothing in the code
you will need to wait until the run is completed. There is polling for that.
It just created a very lightweight FastAPI version to look at. (Async)
(with tutorial as well A scalable, async OpenAI Assistant processor built with FastAPI (source code on Github) | by Jean-Luc Vanhulst | Sep, 2024 | Medium)