Giter Site home page Giter Site logo

telegram-gpt-bot's Introduction

Documentation

English | Русский

The Telegram GPT Bot is Telegram Bot integrated with ChatGPT 4.5 Turbo AI model.

Description

This Telegram bot is integrated with the ChatGPT from OpenAI, providing powerful natural language generation capabilities. It is designed to answer questions and engage in conversations with users.

With this bot, you can:

  1. Chat with ChatGPT by sending text messages to the bot.
  2. Ask the bot questions, seek information, or request advice.
  3. Seek help with specific tasks or get general recommendations.
  4. Explore and discuss various topics with the bot.
  5. Receive high-quality responses leveraging the language model power of ChatGPT.

Ensure that you comply with the terms of use and guidelines for using the bot and the OpenAI API. Be polite and respect privacy policies while interacting with the bot.

Enjoy conversing with the bot powered by ChatGPT Turbo 3.5 and experiment with different questions and discussion topics!

Configuration your Bot

Obtain Telegram Bot token

  1. Open the Telegram app and search for the "BotFather" bot.

  2. Start a conversation with BotFather by sending the /start command.

  3. Create a new bot by sending the /newbot command to BotFather.

  4. Follow the instructions provided by BotFather. It will ask you to provide a name for your bot and a username that ends with the word "bot". Once done, BotFather will provide you with an API token for your bot.

  5. Copy the API token provided by BotFather. This token is unique to your bot and will be used to authenticate your bot and make API calls.

  6. Set this token to TELEGRAM_BOT_TOKEN variable in TelegramBot

That's it! You have successfully created a Telegram bot and obtained its token.

Obtain OpenAI API key

  1. Visit the OpenAI website at https://www.openai.com.

  2. Click on the "Sign Up" or "Get Started" button to create an account.

  3. Follow the instructions to create an account. You may need to provide your email address, create a password, and agree to the terms of service.

  4. Once you have created an account and logged in, navigate to the API section of the OpenAI website.

  5. Locate the option to generate an API key or view your API keys.

  6. Click on the appropriate option to generate a new API key.

  7. If prompted, provide any necessary information or complete any additional steps to generate the API key.

  8. Once the API key has been generated, copy it or securely store it in a safe place. This API key will be used to authenticate your requests to the OpenAI API.

  9. Set this token to _OPEN_AI_TOKEN variable in OpenAI

That's it! You have now obtained an OpenAI API key. You can use this key to make requests to the OpenAI API and access language models.

About author

You can get in touch with me through any of the following methods:

Donation

https://www.donationalerts.com/r/artemnefrit

telegram-gpt-bot's People

Contributors

artemnurtdinov avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.