Skip to content

Nayananjalee/airline-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✈️ Airline Customer Service Chat Agent

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.

🧠 Project Objective

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

πŸš€ Features

  1. 🌀️ 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?”
  2. πŸ›« Simulated Internal Database

    • Queries flight schedules and handles mock bookings.
    • Example: β€œBook a flight from LK to LA on June 10.”
  3. πŸ“„ Document-Based FAQ Answering

    • Parses a static document (PDF/Text) containing airline FAQs.
    • Example: β€œWhat’s the baggage limit for international flights?”
  4. 🌐 Web Searching

    • Uses web search tools to answer destination-related queries.
    • Example: β€œWhat are the top 10 attractions in LA?”
  5. πŸ–₯️ UI

    • Frontend built with Next.js for clean user experience.
    • Allows real-time interaction with the chat agent.

πŸ› οΈ Tech Stack

  • Frontend: Next.js (or alternative React framework)
  • Backend: Python
  • APIs:
    • OpenAI Responses API (gpt-4o-mini)
    • OpenWeatherMap API
  • Database: SQL SSMS
  • Others: File parsing, web search integration

πŸ—‚οΈ Folder Structure

β”œβ”€β”€ 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

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors