Documentation Index
Fetch the complete documentation index at: https://arivu.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What the backend needs
The Telegram adapter inintegrations/telegram_adapter.py is the most feature-rich chat adapter:
TELEGRAM_BOT_TOKENortoken- Optional
admin_user_idsfor approval control - Optional voice support dependencies for transcription
- Optional OCR dependencies for image queries
What Telegram users can do
Text Queries
Send a normal message and Arivu will answer with a natural language result.
Voice Messages
Send voice messages and Arivu will transcribe them before running the pipeline.
Image Messages
Send screenshots or photos and Arivu will OCR the text before querying.
Approval Buttons
Destructive SQL gets inline Approve / Reject buttons for admins.
Setup steps
Create a bot
Create a Telegram bot with BotFather and copy the token.
Example
Backend behavior
- Session IDs are mapped as
telegram:{user_id}. /start,/help,/refresh,/approve, and/rejectare supported.- Text messages go directly through the pipeline.
- Approved SQL is executed after admin confirmation.
- Successful responses include inline 👍 / 👎 RLHF buttons.
Telegram is the best choice if you want text plus voice and image input without webhooks or public endpoints.

