Results 123 comments of cryptoapebot

That will work too, but just be aware JDK1.8.0_202 - 361 have multiple security fixes, not just updated certs. You should upgrade to at least JDK 11 or even the...

Sometimes your runtime or JRE is different than the jdk directory. For instance, on my linux machine, it's located in /usr/lib/jvm/default-java/lib/security and conf/security. If you update the certs, you might...

Search the issues. Someone built a proxy override that fixes this.

I think the dependent libraries for okhttp3 and others are threadsafe. Depending on how big your environment is, there are limitations per openAI key calls per minute, but also you...

See issue #122 (which you commented on). I just took the text from that issue and submitted it as utf-8 and it responded on the appropriate language and encoding. Maybe...

I might be oversimplifying/misunderstanding, but can you just do a .toString() on the object? Worst case you can do a g.toJson(obj)

That's the service, not the API and tied to your OPENAI KEY/TOKEN. https://platform.openai.com/docs/usage-policies What were you sending it and how often? What was the reason in the email? If you...

I've had an issue in a diff project where I had to explicitly do a synchronized thread. A couple things to try, actually declare the types. Assign the result to...

Whoah. I think you just helped me understand my other problem too. I was doing a threaded call to the HttpClient inside a lamba of another threaded call. I'm glad...

Readme file for the project now includes a section on setting up a proxy. https://github.com/TheoKanning/openai-java https://github.com/TheoKanning/openai-java#adding-a-proxy