Reverse Engineered ChatGPT by OpenAI. Extensible for chatbots etc.
Thanks to revChatGPT.
maven
<dependency>
<groupId>com.github.plexpt</groupId>
<artifactId>chatgpt</artifactId>
<version>1.1.2</version>
</dependency>
gradle
implementation group: 'com.github.plexpt', name: 'chatgpt', version: '1.1.2'
then
Chatbot chatbot = new Chatbot("sessionToken");
Map<String, Object> chatResponse = chatbot.getChatResponse("hello");
System.out.println(chatResponse.get("message"));
https://github.com/acheong08/ChatGPT/wiki/Setup#token-authentication
- download from release
- edit config.json
- run
If you have a cool project you want added to the list, open an issue.
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
The CLI functionality is for demo and testing only. Captcha is not supported (For unclean IP addresses)
@rawandahmad698 has a much better CLI tool at
PyChatGPT supports captcha!