You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
OpenAiService service = new OpenAiService("your_token");
CompletionRequest completionRequest = CompletionRequest.builder()
.prompt("Somebody once told me the world is gonna roll me") .model("babbage-002"")
.echo(true)
.build();
service.createCompletion(completionRequest).getChoices().forEach(System.out::println);
Activity
Lambdua commentedon May 16, 2024
这个库已经不在维护了,你提issue也不会有人管的🙂,如果要接入最新的openai api,你可以使用我的开源库open4j,它是基于这个库fork出来的.你也可以使用simple-openai 也很不错.
这是目前java api还在积极维护的两个开源库了.