Giter Club home page Giter Club logo

gpt_assistant_tg's Introduction

AI Assistant bot

Bot avatar

Bot link: @MGlower_GPT_Bot

This is an AI Assistant Bot created to answer any of your questions.

To start using it input your OpenAI apiKey with a command /apiKey
or use test apikey with a command /test. You will have 20 trial uses.

After that send a message to get an answer to your question.

The bot remembers the context of your dialog.
After 20 messages from you new chat will be created and Bot context will be reset.

Here is the list of Bot available commands:

  • ๐Ÿ˜ฃ /help - get information of how this bot works
  • ๐Ÿ†• /new - start new conversation with bot
  • ๐Ÿฆ– /mode - select a mode for current chat and manage modes
  • ๐Ÿ”‘ /apikey - input your OpenAI apikey
  • ๐Ÿ“œ /history - show previous conversation
  • ๐Ÿ“Œ /retry - send previous prompt again
  • โœ–๏ธ /cancel - cancel an active action
  • ๐Ÿ†“ /test - ask 10 free questions to the bot

FAQ

What is the context?

By default, Bot remembers the content of your last messages. It is done like that so you can ask bot to clarify previous question OR to have a continuous conversation within the topic.
Use command /new to reset a context.

Have any questions?

Send a detailed message to account @MGlower (https://t.me/MGlower)

Found a problem?

Create an issue on GitHub Link

Setup your own bot locally

  1. Clone this repository:

    git clone -b main [email protected]:MGlower-RU/GPT_assistant_tg.git
    
  2. Initialize a package.json file:

    npm install
    
  3. Initialize your Firebase project with Firestore and paste your credentials to .env file.

  4. Setup your local server:

    ngrok http 3000
    
  5. Create telegram bot with @BotFather and copy your bot token.

  6. Connect your bot with a local server:

    https://api.telegram.org/bot[BOT_TOKEN]/setWebhook?url=[ngrok https url]
    
  7. Everything is ready! Your bot is waiting for your questions.

gpt_assistant_tg's People

Contributors

mglower-ru avatar

Watchers

 avatar

gpt_assistant_tg's Issues

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.