How gayatriakhila/railway-process-explainer-bot works
This is a small Streamlit chatbot for informational railway-process guidance. The user enters a question in the chat interface; the app builds Gemini conversation history, applies railway-specific restrictions, streams a model response, and saves it in session history. The README also documents ticket, boarding, platform, and facilities guidance. The implementation excerpt supports the chat, prompt, and Gemini flow; it does not establish separate domain-specific handlers or data sources.
Main entry points: app.py Streamlit chat
Components 6
Chat application
- Streamlit chat
app.py - Session history
app.py
Response generation
- Railway safety prompt
app.py - Gemini Flash
- Streamed answer
app.py
Other components
- Passenger
Connections 7
- Passenger → Streamlit chat: asks question
README.md - Streamlit chat → Session history: updates history
app.py - Streamlit chat → Gemini Flash: requests response
app.py - Railway safety prompt → Gemini Flash: guides generation
app.py - Gemini Flash → Streamed answer: streams text
app.py - Streamed answer → Session history: saves response
app.py - Streamlit chat → Streamed answer: displays response
app.py