Coder Social home page Coder Social logo

llm_teleg_bot's Introduction

LLMTelegBot

Built using Node.js, this service acts as the interface between the Telegram API and the Bot Service. It manages the reception of inbound messages from users, forwards these messages to the Bot Service for processing, and sends the appropriate responses back to the users via Telegram.

Usage

The bot has 3 commands, /start, /register_me and /help. Each of them has a brief text self explainatory. If you are a new user you should register and then start using the bot.

Install

Clone the repository

git clone https://github.com/erebodino/llm_teleg_bot.git

Install dependencies:

cd llm_teleg_bot
npm install

Set enviroment variables

This variables will manage the base url to send the request and the telegram API TOKEN

Telegram TOKEN

    export BOT_TOKEN="<your_telegram_token>

URL base

by default this is localhost in the code.

    export API_URL_BASE="<your_url_base>"

Run service

    cd llm_teleg_bot
    node llm_teleg_bot.js

llm_teleg_bot's People

Contributors

erebodino 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.