File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
<div align =" center " >
2
2
3
3
# ChatGPT Java API
4
- [ ![ ] ( https://img.shields.io/github /v/release/CJCrafter/ChatGPT-Java-API )] ( https://github. com/CJCrafter/ChatGPT-Java-API/releases/latest )
5
- [ ![ ] ( https://img.shields.io/badge/-docs%20-blueviolet )] ( https://openai.cjcrafter.com/ )
6
- [ ![ ] ( https://img.shields.io/badge/-examples%20-orange )] ( https://github.com/CJCrafter/ChatGPT-Java-API/wiki )
4
+ [ ![ Maven Central ] ( https://img.shields.io/maven-central /v/com.cjcrafter/openai?color=blue&label=Download )] ( https://central.sonatype. com/namespace/com.cjcrafter )
5
+ [ ![ ] ( https://img.shields.io/badge/-docs%20-blueviolet?logo=Kotlin&colorA=gray )] ( https://openai.cjcrafter.com/ )
6
+ [ ![ ] ( https://img.shields.io/badge/-examples%20-orange?logo=Read+The+Docs&colorA=gray )] ( https://github.com/CJCrafter/ChatGPT-Java-API/wiki )
7
7
[ ![ ] ( https://img.shields.io/github/discussions/CJCrafter/ChatGPT-Java-API )] ( https://github.com/CJCrafter/ChatGPT-Java-API/discussions )
8
8
[ ![ License] ( https://img.shields.io/github/license/WeaponMechanics/ArmorMechanics )] ( https://github.com/WeaponMechanics/ArmorMechanics/blob/master/LICENSE )
9
9
10
- A community maintained easy-to-use Java/Kotlin OpenAI API for ChatGPT, Text Completions, and more!
10
+ A community- maintained easy-to-use Java/Kotlin OpenAI API for ChatGPT, Text Completions, and more!
11
11
</div >
12
12
13
13
## Features
@@ -84,11 +84,13 @@ public class JavaChatTest {
84
84
}
85
85
}
86
86
}
87
-
88
87
```
88
+ > ** Note** : OpenAI recommends using environment variables for your API token
89
+ ([ Read more] ( https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety ) ).
89
90
90
91
## Support
91
92
If I have saved you time, please consider [ sponsoring me] ( https://github.com/sponsors/CJCrafter ) .
92
93
93
94
## License
94
- ChatGPT-Java-API is licensed under the [ MIT License] ( https://github.com/CJCrafter/ChatGPT-Java-API/blob/master/LICENSE ) .
95
+ ChatGPT-Java-API is an open-sourced software licensed under the [ MIT License] ( https://github.com/CJCrafter/ChatGPT-Java-API/blob/master/LICENSE ) .
96
+ ** This is an unofficial library, and is not affiliated with OpenAI** .
You can’t perform that action at this time.
0 commit comments