title
Flykite Airlines HR Policy Bot
emoji
✈️
colorFrom
blue
colorTo
indigo
sdk
gradio
sdk_version
6.12.0
app_file
app.py
pinned
false
license
mit
✈️ Flykite Airlines HR Policy Q&A Bot
A RAG-powered HR assistant that answers employee questions from the Flykite Airlines HR handbook using Groq (LLaMA 3 70B) , FAISS , and Gradio .
PDF ingestion — The Flykite Airlines HR handbook is loaded and split into chunks
Embeddings — all-MiniLM-L6-v2 (sentence-transformers) encodes chunks into a FAISS vector index
Retrieval — Semantic search fetches the top 4 most relevant policy sections per query
Generation — Groq's LLaMA 3 70B generates grounded, cited answers
git clone https://github.com/ananttripathi/Airline-QnA-Bot.git
cd Airline-QnA-Bot
pip install -r requirements.txt
export GROQ_API_KEY=your_key_here
python app.py
Deploy to Hugging Face Spaces
Create a new Space (SDK: Gradio)
Push this repo to the Space
Add GROQ_API_KEY as a Space secret under Settings → Variables and secrets
Component
Technology
LLM
Groq — LLaMA 3 70B (free)
Embeddings
sentence-transformers/all-MiniLM-L6-v2
Vector DB
FAISS (CPU)
Framework
LangChain 0.3
UI
Gradio 4.x
Airline-QnA-Bot/
├── app.py # Main app — RAG pipeline + Gradio UI
├── requirements.txt
├── Dataset - Flykite Airlines_ HRP.pdf # Knowledge source
└── README.md
MIT