openai4j
openai4j copied to clipboard
Java client library for OpenAI API
# Description In order to better facilitate integration with OpenAI proxies, we want to be able to inject headers per request so that these headers could be used for auxiliary...
This PR adds support for the GPT-4 Turbo and GPT-4o chat completion models
This pull request introduces specific support for the speech synthesis feature of the OpenAI Audio API, directly addressing a part of the feature request #20, which was raised on March...
**Is your feature request related to a problem? Please describe.** I want to use the audio API (https://platform.openai.com/docs/api-reference/audio) offered by OpenAI. **Describe the solution you'd like** Support the audio API...
trying out v13 and get retrofit2 error Caused by: java.lang.NoClassDefFoundError: retrofit2.Converter$Factory at dev.ai4j.openai4j.OpenAiClient.builder(OpenAiClient.java:54) at
I'd love for it to have the new [Retrieve assistant API](https://platform.openai.com/docs/api-reference/assistants/getAssistant)
**Is your feature request related to a problem? Please describe.** It looks like there is no way to list the models. See https://platform.openai.com/docs/api-reference/models **Describe the solution you'd like** I would...
**Is your feature request related to a problem? Please describe.** It's impossible to store all types of messages and get their content **Describe the solution you'd like** A some sort...
This is one of my favorite OpenAI APIs and I'd love for it to have the new [Assistant API](https://platform.openai.com/docs/api-reference/assistants) with support for the [Files API](https://platform.openai.com/docs/api-reference/files) and the [new models](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo)
Api key
Hello, I'm trying to use our Azure OpenAI deployment using openai4j. Problem is, the tenant expects the API key within a header called "Ocp-Apim-Subscription-Key" and not "api-key" as it has...