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

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

Open

Description

@suixin7260

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

  1. Lambdua commented on May 16, 2024

    @Lambdua

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions