OpenAI chat integration openai >1.0 – performance
Based on the available information (unfortunately, ChatGPT was not too useful), I created the following code that allows me to interact with the assistant API. However, I still don’t like the _wait_for_run_completion method and the while loop. Is there a better way to handle this?
OpenAI chat integration – performance
Based on the available information (unfortunately, ChatGPT was not too useful), I created the following code that allows me to interact with the assistant API. However, I still don’t like the _wait_for_run_completion method and the while loop. Is there a better way to handle this?