If you think it's cool or want to use it, please star it! Thank you~
Now it supports ChatGPT!
I let chatgpt know my information and let it imitate me.
To use chatgpt function by yourself based on this repo, change the API key in ./script.js
.
var OPENAI_API_KEY = "";
lies in around line 29.
You can get the key from https://platform.openai.com/account/api-keys
The format of api key is like sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
If you want to change the predefined text of chatgpt please change in ./script.js
.
You can change the variable var predefined_text="Can you imitate that you are Pengcheng Xu?...."
which lies in around line 10.
Change the content of it and you will make chatgpt learn the thing you defined in advance!
If you want to see full function, you can go to:
Notice that the website above is not open-sourced. But if you add your openai api key in this code repo locally, you can see the similar effect. (For safety reason,openai api key in not included in code of this repo)
- HTML
- Javascript
- CSS
- ChatGPT API supported
- Whatsapp like interface
- Pleasant sounds
- Lightweighted
- Social media links
- Download resume.
- Map support for address
- Random replies for hi, bye, i love you.
Free Software, Hell Yeah!