File tree Expand file tree Collapse file tree 4 files changed +14
-23
lines changed
Expand file tree Collapse file tree 4 files changed +14
-23
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -65,13 +65,13 @@ Your client will need to use snake case to work with the OpenAI API.
6565If you're using retrofit, you can import the ` client ` module and use
6666the [ OpenAiApi] ( client/src/main/java/com/launchableincc/openai/OpenAiApi.java ) .
6767You'll have to add your auth token as a header (
68- see [ AuthenticationInterceptor] ( client/src/main/java/com/theokanning /openai/AuthenticationInterceptor.java ) )
68+ see [ AuthenticationInterceptor] ( client/src/main/java/com/launchableinc /openai/AuthenticationInterceptor.java ) )
6969and set your converter factory to use snake case and only include non-null fields.
7070
7171### OpenAiService
7272
7373If you're looking for the fastest solution, import the ` service ` module and
74- use [ OpenAiService] ( service/src/main/java/com/theokanning /openai/service/OpenAiService.java ) .
74+ use [ OpenAiService] ( service/src/main/java/com/launchableinc /openai/service/OpenAiService.java ) .
7575
7676> ⚠️The OpenAiService in the client module is deprecated, please switch to the new version in the
7777> service module.
Original file line number Diff line number Diff line change 11plugins {
2- id " com.vanniktech.maven.publish" version " 0.19 .0" apply false
2+ id " com.vanniktech.maven.publish" version " 0.22 .0"
33}
44
5+ import com.vanniktech.maven.publish.SonatypeHost
6+
57allprojects {
68 plugins. withId(" com.vanniktech.maven.publish" ) {
7- mavenPublish {
8- sonatypeHost = " S01"
9+ mavenPublishing {
10+ // Want to publish to so1.oss.sonatype.org
11+ publishToMavenCentral(SonatypeHost . S01 )
912 }
1013 }
1114}
Original file line number Diff line number Diff line change 11GROUP =com.launchableinc.openai-java
22VERSION_NAME =0.1.0
3- POM_URL =https://github .com/launchableinc/openai-java
4- POM_SCM_URL =https:// github.com/ launchableinc/openai-java
5- POM_SCM_CONNECTION =https:// github.com/ launchableinc/openai-java.git
6- POM_SCM_DEV_CONNECTION =https:// github.com/ launchableinc/openai-java.git
3+ POM_URL =https://launchableinc .com
4+ POM_SCM_URL =scm:git:git@ github.com: launchableinc/openai-java.git
5+ POM_SCM_CONNECTION =scm:git:git@ github.com: launchableinc/openai-java.git
6+ POM_SCM_DEV_CONNECTION =scm:git:git@ github.com: launchableinc/openai-java.git
77POM_LICENSE_NAME =The MIT License
88POM_LICENSE_URL =https://www.mit.edu/~amini/LICENSE.md
99POM_LICENSE_DIST =repo
10- POM_DEVELOPER_ID =Launchableinc
11- POM_DEVELOPER_NAME =Launchable,inc.
10+ POM_DEVELOPER_ID =engineering
11+ POM_DEVELOPER_NAME =Engineering
1212org.gradle.parallel =true
1313org.gradle.caching =true
1414
You can’t perform that action at this time.
0 commit comments