danneu / telegram-chatgpt-bot

a Telegram ChatGPT bot that supports text prompts and two-way voice memos
35 stars 8 forks source link

Add switch between gpt-3.5 vs gpt-4 #6

Open danneu opened 1 year ago

danneu commented 1 year ago

I'd like to be able to switch between gpt-3.5 (default) and gpt-4.

However, since gpt-4 is highly throttled (25 messages per 3 hours), it should either safeguard against staying in gpt-4 mode for too long (maybe it only applies for the next message) or I should add a (GPT-4) prefix to gpt-4 answers to remind me.

TODO

danneu commented 1 year ago

Implemented at https://github.com/danneu/telegram-chatgpt-bot/commit/371a1766be45dee3612f276ad36f8daaf1c65650 except for handling gpt-4 throttling.