1- ![ Maven Central] ( https://img.shields.io/maven-central/v/com.theokanning .openai-gpt3 -java/client?color=blue )
1+ ![ Maven Central] ( https://img.shields.io/maven-central/v/com.launchableinc .openai-java/client?color=blue )
22
33> ⚠️OpenAI has deprecated all Engine-based APIs.
4- > See [ Deprecated Endpoints] ( https://github.com/TheoKanning /openai-java#deprecated-endpoints ) below
4+ > See [ Deprecated Endpoints] ( https://github.com/launchableinc /openai-java#deprecated-endpoints ) below
55> for more info.
66
77# OpenAI-Java
@@ -40,14 +40,14 @@ as well as an example project using the service.
4040
4141### Gradle
4242
43- ` implementation 'com.theokanning .openai-gpt3 -java:<api|client|service>:<version>' `
43+ ` implementation 'com.launchableinc .openai-java:<api|client|service>:<version>' `
4444
4545### Maven
4646
4747``` xml
4848
4949<dependency >
50- <groupId >com.launchableinc.openai-gpt3- java</groupId >
50+ <groupId >com.launchableinc.openai-java</groupId >
5151 <artifactId >{api|client|service}</artifactId >
5252 <version >version</version >
5353</dependency >
@@ -63,7 +63,7 @@ Your client will need to use snake case to work with the OpenAI API.
6363### Retrofit client
6464
6565If you're using retrofit, you can import the ` client ` module and use
66- the [ OpenAiApi] ( client/src/main/java/com/theokanning /openai/OpenAiApi.java ) .
66+ the [ OpenAiApi] ( client/src/main/java/com/launchableincc /openai/OpenAiApi.java ) .
6767You'll have to add your auth token as a header (
6868see [ AuthenticationInterceptor] ( client/src/main/java/com/theokanning/openai/AuthenticationInterceptor.java ) )
6969and set your converter factory to use snake case and only include non-null fields.
@@ -217,7 +217,7 @@ stream: [OpenAiApiFunctionsWithStreamExample.java](example/src/main/java/example
217217### Streaming thread shutdown
218218
219219If you want to shut down your process immediately after streaming responses,
220- call `OpenAiService.shutdownExecutor()`.
220+ call `OpenAiService.shutdownExecutor()`.
221221This is not necessary for non-streaming calls.
222222
223223## Running the example project
@@ -252,7 +252,7 @@ Or functions with 'stream' mode enabled:
252252### Does this support GPT-4?
253253
254254Yes! GPT-4 uses the ChatCompletion Api, and you can see the latest model
255- options [here](https://platform.openai.com/docs/models/gpt-4).
255+ options [here](https://platform.openai.com/docs/models/gpt-4).
256256GPT-4 is currently in a limited beta (as of 4/1/23), so make sure you have access before trying to
257257use it.
258258
@@ -270,8 +270,8 @@ Make sure that OpenAI is available in your country.
270270
271271### Why doesn't OpenAiService support x configuration option?
272272
273- Many projects use OpenAiService, and in order to support them best I've kept it extremely simple.
274- You can create your own OpenAiApi instance to customize headers, timeouts, base urls etc.
273+ Many projects use OpenAiService, and in order to support them best I've kept it extremely simple.
274+ You can create your own OpenAiApi instance to customize headers, timeouts, base urls etc.
275275If you want features like retry logic and async calls, you'll have to make an `OpenAiApi` instance
276276and call it directly instead of using `OpenAiService`
277277
0 commit comments