How kikoyummy115-tech/event-parking works
Event Parking is a Flask application for authenticated event and parking-zone management, with event images stored through Cloudinary and an implemented RAG chat path. Users browse, search, and manage events and their zones; separately, chat requests are handled by a route that stores conversation messages and calls retrieval and answer generation. Document ingestion is a distinct supporting workflow. The README also describes RAG models as initial foundations; the sampled source shows a working retrieval/chat path. Edges reflect excerpts or explicit README statements; unsampled template and persistence details are not inferred beyond documented links.
Main entry points: __init__.py Flask application · main.py Event and zone routes · rag_service.py Retrieval and answers · rag_model.py Documents and conversations
Components 17
Web application
- Flask application
app/__init__.py - Application config
config.py - Flask extensions
extension.py - Rendered pages
app/templates
Events and parking
- Event and zone routes
app/routes/main.py - Events and zones
app/models/event.py - Cloudinary images
Authentication
- Auth routes
app/routes/auth.py - User accounts
app/models/user.py
RAG chat and ingestion
- Chat API
app/routes/chatbot.py - Retrieval and answers
app/services/rag_service.py - Documents and conversations
app/models/rag_model.py - Document ingestion
app/services/ingest.py - OpenAI API
Other components
- Browser / user
- Ingestion operator
- Relational database
Connections 22
- Browser / user → Flask application: uses
README.md - Flask application → Application config: loads
app/__init__.py - Flask application → Flask extensions: initializes
app/__init__.py - Flask application → Auth routes: registers
app/__init__.py - Flask application → Event and zone routes: registers
app/__init__.py - Event and zone routes → Rendered pages: renders
app/routes/main.py - Auth routes → Rendered pages: renders
app/routes/auth.py - Auth routes → User accounts: queries and saves
app/routes/auth.py - Event and zone routes → Events and zones: queries and saves
app/routes/main.py - Event and zone routes → Cloudinary images: uploads and deletes
app/routes/main.py - Flask application → Cloudinary images: configures
app/__init__.py - Flask application → Chat API: registers
app/__init__.py - Chat API → Retrieval and answers: calls
app/routes/chatbot.py - Chat API → Documents and conversations: reads and saves
app/routes/chatbot.py - Retrieval and answers → Documents and conversations: retrieves chunks
app/services/rag_service.py - Retrieval and answers → OpenAI API: requests embeddings and answers
app/services/rag_service.py - Ingestion operator → Document ingestion: runs
app/services/ingest.py - Document ingestion → Documents and conversations: creates documents and chunks
app/services/ingest.py - Document ingestion → Retrieval and answers: generates embeddings
app/services/ingest.py - User accounts → Relational database: persists account data
README.md - Events and zones → Relational database: persists event data
README.md - Documents and conversations → Relational database: persists RAG records
README.md