This is an AI-powered airline customer service chat agent designed to assist users with common airline queries using external APIs, simulated internal databases, and document processing.
To build a smart, conversational agent that can:
- Provide destination weather updates
- Check flight status and availability
- Handle flight bookings via a simulated database
- Answer FAQs from static airline documents
- Fetch real-time info from the web
- Offer a clean and simple user interface for interaction
-
π€οΈ External API Integration
- Uses OpenWeatherMap API to fetch weather updates for any city or airport.
- Example: βWhatβs the weather like in New York tomorrow?β
-
π« Simulated Internal Database
- Queries flight schedules and handles mock bookings.
- Example: βBook a flight from LK to LA on June 10.β
-
π Document-Based FAQ Answering
- Parses a static document (PDF/Text) containing airline FAQs.
- Example: βWhatβs the baggage limit for international flights?β
-
π Web Searching
- Uses web search tools to answer destination-related queries.
- Example: βWhat are the top 10 attractions in LA?β
-
π₯οΈ UI
- Frontend built with Next.js for clean user experience.
- Allows real-time interaction with the chat agent.
- Frontend: Next.js (or alternative React framework)
- Backend: Python
- APIs:
- OpenAI Responses API (
gpt-4o-mini) - OpenWeatherMap API
- OpenAI Responses API (
- Database: SQL SSMS
- Others: File parsing, web search integration
βββ frontend/ # Next.js app
βββ backend/ # Python API backend
βββ database/ # SQL schema & mock data
βββ docs/ # FAQ PDF/document
βββ .env # API keys (excluded in git)
βββ README.md