jvm-openai
jvm-openai copied to clipboard
A minimalistic OpenAI API client for the JVM, written in Java
io.github.stefanbratanov.jvm.openai.Thread class, sharing the same name java.lang.Thread, which is imported by default, causes some issues when using the library. Each time prefixing it with the full package name become a...
In the ChatClient (or any client) it would be nice to have a timeout for the HttpRequest: ``` private HttpRequest createPostRequest(CreateChatCompletionRequest request, Long requestTimeout) { return newHttpRequestBuilder( Constants.CONTENT_TYPE_HEADER, Constants.JSON_MEDIA_TYPE, Constants.ACCEPT_HEADER,...
I am trying to use jvm-openai on an Android project but I get this error while compiling: > import io.github.stefanbratanov.jvm.openai.OpenAI; > ^ > bad class file: C:\Users\ilker\.gradle\caches\modules-2\files-2.1\io.github.stefanbratanov\jvm-openai\0.9.1\d96fe26bdb0f8aa8e23a27e0e88ae776c30cd95\jvm-openai-0.9.1.jar(/io/github/stefanbratanov/jvm/openai/OpenAI.class) > class file...