banner
endercat

endercat

某个白嫖怪的分享博客 现已迁移到 https://endercat.eu.org 请前往该URL查看最新文章
bilibili
github
telegram

Free access to GPT-4 for Telegram bots

As we all know, the Bot API of Telegram provides many functions, such as receiving and sending messages, handling keyboard input, and many other functions. Therefore, we can easily chat with a Telegram bot by integrating ChatGPT. However, the traditional integration method requires an OpenAI API key, and OpenAI only provides a free quota of $5, and without payment, you cannot use the GPT-4 model. In addition, you also need a server to run the program, which greatly limits the ability to use it for free. Therefore, today I will introduce a method that does not require any fees, and currently, apart from slow response, no other limitations have been found.
image


Steps#

  1. Create a bot on Telegram
    Open Telegram and search for BotFather, find and open it (it has a blue checkmark, be careful not to choose the wrong one). Alternatively, you can directly open https://t.me/BotFather
    Click on Start

Image
Type /newbot and send it

Image
Send the name you want to give to the bot

Image
Enter the username you want to give to the bot (it must end with "bot")

Image
Copy the API

Image

Add the bot
Search for the username of the bot and click on Start

Image

  1. Integrate with GPT
    Go to Steamship

Image
Login

Image
Register and login according to the instructions

Click

Image
Click on Optional Configuration and fill in the requirements

Image

When this interface appears, it means success. You can have a conversation with GPT here or talk to the bot on Telegram.

Image

Image

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.