How ridabayi/ai-trip-planner works
Project type and purpose
• AI Trip Planner is a Python-based full-stack application combining a Streamlit frontend with an LLM-powered itinerary generator.
• It includes deployment automation (Docker + Kubernetes) and an ELK-stack for logging/monitoring.
File structure
• Top-level artifacts:
• app.py – entrypoint for the Streamlit UI
• Dockerfile + k8s-deployment.yml – build & deploy
• elasticsearch.yml, logstash.yml, kibana.yml, filebeat.yml – ELK config
• requirements.txt – dependencies
• src/ directory subdivided into:
• Config (config loader)
• Chains (Itinerary_chain orchestration)
• Core (planner logic)
• Utils (logging, exception handling)
README for additional insights
• It shows key deployment targets and highlights how the app is containerized and monitored.
Capturing essential details without excess
• Src/ sub-modules to show code organization.
• How config.py injects API keys into Chains.
• Error handling via Utils.custom_exception.