How muthanii/grad-proj works
Esaalni is a Streamlit chatbot backed by LangChain and Google’s Gemini Pro. Users submit a chat prompt (or choose a random example), the app invokes Gemini, and displays and retains the exchange in Streamlit session state. The README also describes the hosted web interface; the graph focuses on the runtime shown in main.py. Source evidence is limited to that excerpt and README, so the graph omits unverified internal LangChain details.
Main entry points: main.py Response generator · img QR image
Components 9
Chat interface
- Streamlit UI
main.py - Sidebar options
main.py - QR image
img
Conversation flow
- Chat input
main.py - Random prompt
main.py - Session history
main.py
AI response
- Response generator
main.py - Gemini Pro
Other components
- User
Connections 11
- User → Streamlit UI: uses
README.md - Streamlit UI → Sidebar options: renders
main.py - Sidebar options → QR image: displays
main.py - User → Chat input: submits prompt
main.py - Sidebar options → Random prompt: offers
main.py - Random prompt → Response generator: sends prompt
main.py - Chat input → Session history: stores messages
main.py - Chat input → Response generator: calls
main.py - Response generator → Gemini Pro: invokes
main.py - Response generator → Streamlit UI: returns response
main.py - Session history → Streamlit UI: renders history
main.py