TheoKanning/openai-java is a Java client for OpenAI's GPT APIs. It's an active project with 122 commits, 1 branch, 63 open issues, and 999 forks, and has attracted significant attention with 3847 stars and watchers.
The recently opened issues for the software project are primarily focused on adding support for new features and addressing bugs related to exception handling and response formats. Notably, issue #391 requests the addition of support for a new speech API, while issue #390 seeks support for assistants. Issue #389, on the other hand, reports a problem with the lack of a NoArgsConstructor for ChatFunction, causing deserialization to fail. Issue #388 is a request to support JSON mode response_format. Issue #387 is a significant request to support DALL-E 3, a new feature now available on the platform. Issue #385 is a problematic issue that calls for the removal of all RuntimeExceptions, stating that it complicates debugging and catching issues. Issue #384 requests an explicit list of streaming error types, which could be a large task considering the number of potential error types.
The oldest open issues include requests for Kotlin Coroutines support (#56), statically typed model selection (#74), and the ability to continue a conversation without including the previous response in the prompt (#75). These issues might remain open due to their complexity or due to other priorities taking precedence.
Recently closed issues include requests for upgrading the Java version (#376), supporting async queries (#363), and addressing a timeout issue (#368). These issues were likely resolved due to their critical nature affecting the functionality of the software.
A common theme among the open issues is the need for enhanced support for various features and APIs, improved error handling, and better response formats. Among the closed issues, the common theme is addressing bugs and enhancing the software's capabilities.
The open pull requests show a variety of changes being proposed, from adding comments to code for readability (#394), adding new features to the API (#393, #392, #386), to addressing older issues such as support for 'OpenAI-Organization' header (#69) and storing unknown attributes returned by the OpenAI server (#270).
Notable themes include:
Improving API functionality: Several pull requests aim to add new features or support for new models in the API. These include support for the new DALL-E model for image generation (#393, #386), support for the new speech API (#392), and support for all audio response formats (#358).
Code readability and maintainability: Some pull requests aim to improve the readability and maintainability of the code. These include adding comments to the OpenAiService.java file (#394) and removing unused imports (#304).
Addressing older issues: Some pull requests are addressing older issues that have been open for a long time. These include adding support for 'OpenAI-Organization' header (#69) and storing unknown attributes returned by the OpenAI server (#270).
The closed pull requests mostly include minor changes and bug fixes. Notable themes include:
Updating the version: Several pull requests involve updating the version of the software (#382, #361).
Adding new features: Some pull requests involve adding new features, such as adding the Fine Tuning API (#360) and adding support for functions without parameters/request body (#310).
Fixing bugs: Some pull requests involve fixing bugs, such as fixing the fine-tuning test (#380) and fixing a missing name field (#299).
There are several older pull requests that are still open, some of which have been open for several months. These include #69 (open for 293 days), #270 (open for 195 days), and #304 (open for 142 days). These pull requests may need to be prioritized for review and potential merging.
There are no major anomalies or uncertainties in the pull requests. However, it is worth noting that some pull requests have been open for a long time without being merged, which may indicate a lack of resources or prioritization for reviewing and merging these changes.
The software project, TheoKanning/openai-java, is a Java client for OpenAI's GPT APIs. It was created by Theo Kanning and is licensed under the MIT License. The project includes Java libraries for using OpenAI's GPT APIs, supporting GPT-3, ChatGPT, and GPT-4. It provides three modules: api
, client
, and service
, along with an example project using the service. The api
module contains request/response POJOs for the GPT APIs, the client
module provides a basic retrofit client for the GPT endpoints, and the service
module offers a basic service class that creates and calls the client.
The repository is quite active with 122 commits, 1 branch, 63 open issues, and 999 forks. It has garnered significant attention with 3847 stars and watchers. The project is written in Java and is 498kB in size. The README provides detailed instructions on how to import and use the different modules in both Gradle and Maven. It also includes a comprehensive list of supported APIs, deprecated endpoints, and a FAQ section addressing common queries.
The project has deprecated the old 'client' OpenAiService as of version 0.10.0, urging users to switch to the new 'service' library. OpenAI has deprecated all Engine-based APIs, which is reflected in the project. The README also provides a detailed guide on how to create and define executors for custom functions using the ChatFunction class. It includes an example project that demonstrates the usage of the service. The project supports GPT-4, which is currently in a limited beta. The README also provides instructions on how to run the example project and how to use the new capability of using functions.