Regarding the issue of this library not being maintained
This library has not been maintained for several months, and I am interested in taking over its development. However, the original author has been inactive for some time. I've created a fork of this library, incorporating support for the latest features of the chat API, and have also fixed some of the existing bugs in the library. You are welcome to use it. Should I manage to reach the author, I intend to discuss the continuation of maintaining this library with them.
https://github.com/Lambdua/openai4j/releases
nice!!!!
This is really great
If you are looking for a simple Java 11+ library that implements the full OpenAI services and supports the latest features, you could take a look at simple-openai.
By the way, it is not based on the TheoKanning library.
openai4j Is based on the TheoKanning library This may be more user-friendly for developers who rely on migration Openai4j is a simple Java implementation of Openai API that tracks the progress of Openai updates in real-time
@Lambdua thanks for your efforts! I'm hoping to see a Java library supporting the latest iteration of the Assistants API.
@Propertius will soon be supported in the next version. For more details, please refer to the introduction on the homepage of Openai4j. Thank you!
Simple-OpenAI has been updated with the latest changes from OpenAI until Apr 29th:
Full Support for Assistants API v2 🔥🔥
- Assistants, Threads, Messages, Runs, Run Steps. ✅
- File Search Tool, Vector Stores, Vector Stores Batches. ✅
- Full Streaming, Pooling Helpers if not using streaming. ✅
- Demo code using Functions, File Search and Streaming. ✅
Functions & Tools code was revamped to be shared between Assistants and Chat Completions. 🛠️
Code for Assistants API v1 was entirely removed. 🛠️
Take a look at simple-openai .
I don't think it's necessary for you to promote your project in the comments of each issue. If needed, you could simply open your own issue. Moreover, contrary to your claim, not all the latest APIs have been supported since April 29. You only launched support for assistant-v2 ten hours ago. OpenAi4j already supports the features you mentioned. However, I believe promotional efforts should be more restrained.