Skip to content

ShayanMgh/FlightAI-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FlightAI Chatbot

FlightAI is an airline chatbot built using Python, Gradio, and Ollama. It provides courteous, short responses and can fetch ticket prices for various destinations.

πŸš€ Features

  • AI-powered chatbot using ollama
  • Fetches ticket prices for predefined destinations
  • Short and accurate responses
  • Simple web UI using gr.ChatInterface

πŸ› οΈ Technologies Used

  • Python
  • Gradio (for UI)
  • Ollama (for AI chat functionality)
  • IPython Display (for Markdown rendering)

πŸ—οΈ Setup Instructions

  1. Clone the repository:
    git clone https://github.com/your-username/FlightAI-chatbot.git
    cd FlightAI-chatbot
  2. Install dependencies:
    pip install gradio ollama
  3. Run the chatbot:
    python chatbot.py
  4. Open the generated Gradio UI in your browser.

🎟️ Ticket Pricing

The chatbot supports the following ticket prices:

Destination Price
London $799
Paris $899
Tokyo $1400
Berlin $499

πŸ“Œ Future Enhancements:

  • Add real-time ticket prices from an API
  • Improve natural language processing with better models
  • Extend chatbot capabilities (flight status, booking assistance, etc.)

πŸ’‘ Contributions welcome! Feel free to submit pull requests. πŸŽ‰

About

An LLM with Ollama model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages