Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
authkey-local.txt
log.txt
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Unlimited chatbot using chatGPT API

## Introduction
This is a simple chatbot that uses the chatGPT API to generate unlimited responses such as `bad` contents. The chatGPT API is a paid service, so you need to get your own API key to use this chatbot. The UI is built using Gradio.
You can modify `is_refusal()` function in `chatbot.py` to adapt to your own use case.


## Usage
1. add your chatGPT API key to `authkey.txt`
2. comment out line 5 and uncomment line 6 in `chatbot.py` to use the chatGPT API
3. run the following commands
```shell
$ pip3 install -r requirements.txt
$ python3 chatbot.py
```
4. chat with the bot on browser





1 change: 1 addition & 0 deletions authkey.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yourkeyhere
Loading