Views
No views yet
| File | Question | Description |
|---|---|---|
Q1_Q2_conceptual_answers.md | Q1, Q2 | Appointment-scheduling chatbot (challenges, evaluations, hallucination handling) and the full RAG FAQ-chatbot design with RAG / Advanced RAG / GraphRAG comparison. |
Q3_langgraph_blog_agent.py | Q3 | LangGraph agent that reads topics from Excel, writes a blog per topic, saves each to a Google Doc, and writes the link back to the sheet. Runs as a self-contained simulation; the real LangGraph, Google Docs, and Sheets calls are provided as commented implementations behind clean function boundaries. |
Q4_surge_prediction.py | Q4 | End-to-end demand-surge predictor. Generates synthetic data matching all five input schemas, builds the leakage-safe surge_flag label, engineers features (sales trend, stock pressure, disaster proximity, store/SKU metadata), trains a gradient-boosted classifier, and reports the appropriate metrics. |
python Q3_langgraph_blog_agent.py # prints the per-topic processing loop
python Q4_surge_prediction.py # trains the model and prints metricspandas, numpy, and scikit-learn.demand_next_7_days > 1.5 × 7 × daily_baseline (Q4); and the disaster feed is joined to stores by haversine distance and alert recency (Q4).