I am currently making my first steps in using ChatGPT in Java. I started with the sample for
ChatCompletions (https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/openai/azure-ai-openai/src/samples/java/com/azure/ai/openai/usage/GetChatCompletionsSample.java) and expanding it to summarize and classify texts. (What is it about, tags, type of text, …)
My query became more and more complex and now I have the problem that I sometimes wait for minutes(!) and don’t get any response. The next try with the same query maybe finishes within a few seconds.
Finally the question: Is there any possibility to check if the query is still running or if it simply got canceled or lost?
Thanks!