推荐一套基于 SpringBoot 开发的全平台数据 (数据库管理工具) 功能比较完善,建议下载使用: https://github.com/EdurtIO/datacap 目前已经支持 40+ 多种数据源。国内首个应用 ChatGPT 到数据管理系统中项目。
推荐一套基于 SpringBoot 开发的简单、易用的开源权限管理平台,建议下载使用: https://github.com/devlive-community/authx。
OpenAI Java SDK 主要 为 Java 开发人员提供方便易用的 SDK 来与 OpenAI 的 API 进行交互。
- 重命名部分实体类
- 拆分 Azure 文档
支持创建 edit
EditEntity configure = EditEntity.builder() .model(EditModel.TEXT_DAVINCI_EDIT_001) .input("Hello OpenAi Java SDK") .instruction("Fix the spelling mistakes") .build(); client.edit(configure);
支持 Claude Ai
try(OpenAiClient client=OpenAiClient.builder() .apiKey(System.getProperty("claude.token")) .provider(ProviderModel.CLAUDE) .build()) { CompletionEntity configure = CompletionEntity.builder() .model(CompletionModel.CLAUDE_2.getName()) .prompt("How to create a completion") .build(); client.createCompletion(configure).getChoices(); }
如何使用?
<properties> <openai.version>1.6.0</openai.version> </properties> <dependencies> <dependency> <groupId>org.devlive.sdk</groupId> <artifactId>openai-java-sdk</artifactId> <version>${openai.version}</version> </dependency> </dependencies>
RustDesk 1.2:采用 Flutter 重写桌面版本,支持 Wayland 被控 GPT-4 模型架构泄露:包含 1.8 万亿参数、采用混合专家模型 (MoE) 马斯克宣布成立 xAI 公司 deepin V23 成功适配 WSL CentOS 项目宣称“向所有人开放” Rust 1.71.0 稳定版发布 React 正在经历 Angular.js 的时刻吗? 微软推出新的默认字体 Aptos,替代 Calibri 微软:加大力度在 Windows 11 使用 Rust IntelliJ IDEA 2023.1.4 发布