openai-java
openai-java copied to clipboard
Supporting async queries
I'm aware that you utilize OKhttp internally for making requests and that retryUtils handles multiple retry attempts. It would be beneficial to introduce a feature that allows control over this process, and potentially offer an asynchronous mode that returns completionStages when applicable.
Hello @tonyjayfunk I use https://github.com/ai-for-java/openai4j#asynchronously-1 in Android. Working fine
@tonyjayfunk you can also use - https://github.com/namankhurpia/Easy-open-ai these support asynchronous for android