Chloe is a telegram chat bot using ChatGPT (and soon Gemini)
This is the Python implement of Chloe ChatBot. The Golang version is discontinued because of lack of API support.
You can talk to her 1 on 1 or in group chat. In group chat you need to name her at the beginning of your question or @ her bot username.
Please change ./conf/config.yml and put your own keys there.
You need to get 2 things done to make this work:
- An OpenAI apikey: get one free at https://platform.openai.com/account .
- A telegram bot: send /newbot to BotFather on telegram.
There are two ways to run this app.
# python 3.7 or later (early version may also work)
pip install -r requirements.txt # install dependencies
python main.py
# make sure you have docker and docker-compose installed
cd ./docker
docker-compose up --no-start && docker-compose start
Have fun!