FlightAI is an airline chatbot built using Python, Gradio, and Ollama. It provides courteous, short responses and can fetch ticket prices for various destinations.
- AI-powered chatbot using
ollama - Fetches ticket prices for predefined destinations
- Short and accurate responses
- Simple web UI using
gr.ChatInterface
- Python
- Gradio (for UI)
- Ollama (for AI chat functionality)
- IPython Display (for Markdown rendering)
- Clone the repository:
git clone https://github.com/your-username/FlightAI-chatbot.git cd FlightAI-chatbot - Install dependencies:
pip install gradio ollama
- Run the chatbot:
python chatbot.py
- Open the generated Gradio UI in your browser.
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. π