Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

示例中babbage-002多了引号 #501

Open
suixin7260 opened this issue May 15, 2024 · 1 comment
Open

示例中babbage-002多了引号 #501

suixin7260 opened this issue May 15, 2024 · 1 comment

Comments

@suixin7260
Copy link

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);

@Lambdua
Copy link

Lambdua commented May 16, 2024

这个库已经不在维护了,你提issue也不会有人管的🙂,如果要接入最新的openai api,你可以使用我的开源库open4j,它是基于这个库fork出来的.你也可以使用simple-openai 也很不错.
这是目前java api还在积极维护的两个开源库了.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants