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.
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.
git clone https://github.com/erebodino/llm_teleg_bot.git
cd llm_teleg_bot
npm install
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>"
cd llm_teleg_bot
node llm_teleg_bot.js