Skip to content

Provides an easy-to-use SDK for Java developers to interact with the APIs of open AI models.

License

Notifications You must be signed in to change notification settings

devlive-community/openai-java-sdk

Repository files navigation

OpenAI Java SDK

Visitors version

GitHub GitHub branch checks state GitHub Release Date

GitHub commit activity GitHub contributors GitHub last commit

Provides an easy-to-use SDK for Java developers to interact with the APIs of open AI models.

Support platform


Azure   OpenAi   Claude   Google PaLM   Google Gemini

How to use?


<properties>
    <openai.version>2024.01.2</openai.version>
</properties>

<dependencies>
    <dependency>
        <groupId>org.devlive.sdk</groupId>
        <artifactId>openai-java-sdk</artifactId>
        <version>${openai.version}</version>
    </dependency>
</dependencies>

Feature


  • Rapidly develop products based on the platform, improve development efficiency, and meet fast delivery requirements.
  • Concise and easy to understand, code specification requirements, can be used as enterprise code specification.
  • The steps to use are very simple, and one line of code realizes the required functions.
  • Support multiple proxy platforms, perfectly adapt to various APIs.
  • Dynamically expand Max Tokens according to the model
  • Rich pre-data verification to avoid direct contact with API

Star History


Star History Chart

Contributor