How matahash/proyecto-rd-tourist-chatbot-ia-telegram-py works
RD Tourist AI Bot is a Telegram travel assistant. A user starts the bot to receive an interactive menu, then can share GPS coordinates for nearby recommendations or send text for tourism answers. Both recommendation paths call Groq’s Llama model; the location path also includes a Google Maps link. The implementation is concentrated in one Python file, so the handler nodes describe distinct responsibilities within that file. The README documents the menu and capabilities; the source excerpt shows their implementation and routing.
Main entry points: rdbot.py GPS recommendations
Components 8
Telegram interaction
- Telegram platform
- Polling app
rdbot.py - Start and menu
rdbot.py
Travel guidance
- GPS recommendations
rdbot.py - Tourism answers
rdbot.py - Groq Llama
- Google Maps
Other components
- Traveler
Connections 13
- Traveler → Telegram platform: sends updates
- Telegram platform → Polling app: polls updates
rdbot.py - Polling app → Start and menu: routes /start
rdbot.py - Polling app → GPS recommendations: routes location
rdbot.py - Polling app → Tourism answers: routes text
rdbot.py - Start and menu → Telegram platform: sends menu
rdbot.py - GPS recommendations → Groq Llama: requests recommendations
rdbot.py - Groq Llama → GPS recommendations: returns generated text
rdbot.py - GPS recommendations → Google Maps: creates map link
rdbot.py - GPS recommendations → Telegram platform: replies with results
rdbot.py - Tourism answers → Groq Llama: requests answer
rdbot.py - Groq Llama → Tourism answers: returns generated text
rdbot.py - Tourism answers → Telegram platform: replies with answer
rdbot.py