flynnoct / chatgpt-telegram-bot

Telegram bot implemented by OFFICIAL OpenAI ChatGPT API (gpt-3.5-turbo, released on 2023-03-01)
MIT License
181 stars 43 forks source link

how to get working #76

Open jimmywhite999 opened 1 year ago

jimmywhite999 commented 1 year ago

ok its not my first time working with ai bots, iv followed all the instructions and ran it and nothing happens it wont responed or anything.

RayCxggg commented 1 year ago

Can you provide more information?

kwikcoins commented 1 year ago

I also get the bot running in terminal but the bot does not respond on telegram

kwikcoins commented 1 year ago

This is what I get when I try to use the config.py so I manually configured the config.json with my api keys

root@Auto:~/chatgpt-telegram-bot/bin# python config.pyTraceback (most recent call last): File "/root/chatgpt-telegram-bot/bin/config.py", line 215, in config_dict = json.load(f) File "/usr/lib/python3.10/json/init.py", line 293, in load return loads(fp.read(), File "/usr/lib/python3.10/json/init.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.10/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 4 column 24 (char 179) root@Auto:~/chatgpt-telegram-bot/bin#

flynnoct commented 1 year ago

@kwikcoins forget about config.py for now. Setup your config.json and then follow the instructions in README.md.

flynnoct commented 1 year ago

@jimmywhite999 plz provide more information that we can help you.

rokipet commented 1 year ago

is not working when i start the bot nothing happens