naozibuhao / openai-java-sdk

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

Home Page:https://openai-java-sdk.devlive.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


About

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

https://openai-java-sdk.devlive.org/

License:MIT License


Languages

Language:Java 99.3%Language:Shell 0.7%