55![ stable] ( https://img.shields.io/badge/stability-stable-brightgreen.svg )
66[ ![ Maven Central] ( https://img.shields.io/maven-central/v/com.github.plexpt/chatgpt )] ( https://maven-badges.herokuapp.com/maven-central/com.github.plexpt/chatgpt )
77
8+ [ English Doc] ( https://github.com/PlexPt/chatgpt-java/blob/main/README_en.md ) .
89
910
10- [ 简体中文文档 ] ( https://github.com/PlexPt/chatgpt-java/blob/main/README_zh.md ) .
11+ OpenAI ChatGPT 的逆向工程SDK。可扩展用于聊天机器人等。
1112
12- Reverse Engineered ChatGPT by OpenAI. Extensible for chatbots etc .
13+ 感谢 [ revChatGPT ] ( https://github.com/acheong08/ChatGPT ) .
1314
14- Thanks to [ revChatGPT] ( https://github.com/acheong08/ChatGPT ) .
15-
16-
17- # Features
15+ # 功能
1816![ image] ( https://user-images.githubusercontent.com/36258159/205534498-acc59484-c4b4-487d-89a7-d7b884af709b.png )
1917
2018![ image] ( https://user-images.githubusercontent.com/15922823/206353660-47d99158-a664-4ade-b2f1-e2cc8ac68b74.png )
2119
22- ## USE
20+
21+ 可以写代码,写小说,写作文、演讲稿、工作报告、读书笔记、合同等
22+ ## 使用
2323
2424maven
2525```
@@ -36,32 +36,41 @@ implementation group: 'com.github.plexpt', name: 'chatgpt', version: '1.0.1'
3636```
3737
3838
39- then
39+ 然后
4040```
4141 Chatbot chatbot = new Chatbot("sessionToken");
4242 Map<String, Object> chatResponse = chatbot.getChatResponse("hello");
4343 System.out.println(chatResponse.get("message"));
4444```
45- ### Get sessionToken
45+ ### sessionToken获取
4646https://github.com/acheong08/ChatGPT/wiki/Setup#token-authentication
4747
48+ 1 . 通过 https://chat.openai.com/chat 注册并登录。
49+ 2 . 打开浏览器开发者工具,切换到 Application 标签页。
50+ 3 . 在左侧的 Storage - Cookies 中找到 __ Secure-next-auth.session-token 一行并复制其值
4851
49- ### CLI use
50- 1 . download from release
51- 2 . edit config.json
52- 3 . run
5352
53+ ### 注册教程
54+
55+ https://juejin.cn/post/7173447848292253704
56+
57+ https://mirror.xyz/boxchen.eth/9O9CSqyKDj4BKUIil7NC1Sa1LJM-3hsPqaeW_QjfFBc
58+
59+ ### 也可以控制台直接使用
60+ 1 . 下载
61+ 2 . 编辑 config.json 里的sessionToken
62+ 3 . 运行 run.bat
5463
5564# Awesome ChatGPT
5665[ My list] ( https://github.com/stars/acheong08/lists/awesome-chatgpt )
5766
5867If you have a cool project you want added to the list, open an issue.
5968
6069# Disclaimers
61- This is not an official OpenAI product. This is a personal project and is not affiliated with OpenAI in any way. Don't sue me
70+ 这不是官方的 OpenAI 产品。这是一个个人项目,与 OpenAI 没有任何关联。
6271
6372### This is a library and not intended for direct CLI use
64- The CLI functionality is for demo and testing only. Captcha is not supported (For unclean IP addresses)
73+ CLI 功能仅用于演示和测试。不支持验证码(对于不干净的 IP 地址)
6574
6675### CLI use
6776[ @rawandahmad698 ] ( https://github.com/rawandahmad698 ) has a much better CLI tool at
0 commit comments