15 Star 123 Fork 35

devlive-community / openai-java-sdk

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

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


MIT License Copyright (c) 2023 The Devlive Software Foundation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

为 Java 开发人员提供方便易用的 SDK 来与开放 AI 模型的 API 进行交互。 expand collapse
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Java
1
https://gitee.com/devlive-community/openai-java-sdk.git
git@gitee.com:devlive-community/openai-java-sdk.git
devlive-community
openai-java-sdk
openai-java-sdk
dev

Search

53164aa7 5694891 3bd8fe86 5694891