ChatGPT Telegram Bot
-
Healthcheck is working now and proxy auth has been added to avoid strangers browsing to the status page.
-
@Kubernetes great work ! thank you
-
@timconsidine Thank you for the suggestion to implement a "fake" web server
-
@Kubernetes said in ChatGPT Telegram Bot:
A Telegram bot that integrates with OpenAI's official ChatGPT, DALLยทE and Whisper APIs to provide answers. Ready to use with minimal configuration required.
Features
- Support markdown in answers
- Reset conversation with the /reset command
- Typing indicator while generating a response
- Access can be restricted by specifying a list of allowed users
- Docker and Proxy support
- (NEW!) Image generation using DALLยทE via the /image command
- (NEW!) Transcribe audio and video messages using Whisper (may require ffmpeg)
- (NEW!) Automatic conversation summary to avoid excessive token usage
- (NEW!) Track token usage per user - by @AlexHTW
- (NEW!) Get personal token usage statistics and cost per day/month via the /stats command - by @AlexHTW
- (NEW!) User budgets and guest budgets - by @AlexHTW
- (NEW!) Stream support
- (NEW!) GPT-4 support
- (NEW!) Localized bot language
Available languages - (NEW!) Improved inline queries support for group and private chats - by @bugfloyd
To use this feature, enable inline queries for your bot in BotFather via the /setinline command
Well done on this!
Of these functions, I have benefited from a travel plans update bot. I wonder how people here find these bots useful. Perhaps there are some other categories. For example, full-moon warning bot!
How readily could we use a bot like this without needing to run Telegram? Maybe we would prefer to run it on e.g. https://getsession.org
for example.Anyway, yet another goal from @Kubernetes!
-
@Kubernetes it is via VPN ;-]
-
@robi said in ChatGPT Telegram Bot:
@Kubernetes it is via VPN ;-]
I thought Claude was geo-locked and that a using a VPN would solve this, however they seem to be able to detect whether one is connecting like this and unless you have skills like robi, they are still able to block you.
I think this is a serious problem for society. It is not just Claude doing this either. The Powers That Be, I believe, have some systems in place, like a blacklist or something which they maintain, which establishes which IP addresses are VPNs. This sort of issue happens in other fields too, for example football, where they will let you watch live games online but only if you are not in particular countries.
The problem is that the first step is them being able to identify when people are using a VPN. The next step is to ban people from using VPNs. Then comes the persecution.
Anyway, I am glad robi managed to do it somehow. I would like to know how too, but don't tell me, or ... they will find out how!
-
@LoudLemur said in ChatGPT Telegram Bot:
using a VPN would solve this, however they seem to be able to detect whether one is connecting like this
I'm no expert but my understanding is that it is relatively easy to detect connection by VPN, if they are so minded to do so, especially if you're using one of the major ones (just IP address ranges).
Maybe using your own VPN works better in this case, but it requires having a VPS in the necessary country.
Someone more knowledgeable can explain better than that my kludge above.
-
Shrinking from the keyboard with embarrassment at having to ask, but .... which telegram account is chatgpt on ?
Installed app nicely ( @Kubernetes), added openai and bot keys to.env
, restarted app.
In telegram I can only see channels for chagpt. But surely I shouldn't be chatting with a channel ? -
@timconsidine you should have given a name to your telegramm bot. just write him, as he is a contact.
-
@Kubernetes doh ! I get it now !
I made the mistake of putting my telegram username in the auth ids, but foundgetids
bot and change to userID.
Stupidly I thought I would chat with OpenAI, but now I get it : I chat with my bot !
Obvious really.
Sorry, having a bad day. -
@timconsidine Glad you figured it out
-
Updated the App in my repo to Version 0.3.0
-
Updated the App in my repo to Version 0.3.1 (the new version contains the requirements fix that I did manually in 0.3.0)
-
On the subject of VPNs, yes for public VPNs, but you can setup your own on a small Hetzner VPS for a couple of ยฃ/$/โฌ a month, and I don't think those IP ranges would be blocked as much. Then there's Tor onion network. As long as we don't quit, all the blocks just inspire more innovations to work around.
-
Russia is trying to eliminate VPN usage:
https://torrentfreak.com/putin-outlaws-anonymity-user-id-verification-for-online-services-vpn-bypass-advice-a-crime-230801/ -
Added easy installer to repo