This application was developed as part of the TravelX Ideathon. It's a RAG-LLM-GenAI based chatbot designed to answer questions on customers' minds. You send your question and the chatbot generates the most appropriate answer from vectordb or agent.
- Buy ticket: Finding and purchasing tickets can be done by just talking
- RAG: Can answer all questions about THY and aviation
- Dictionary: Provides definitions for aviation terms
- Native: Speaks a native language
- Trip plan: You can create a detailed trip plan for the destination
- Seat matching: Pairs people with similar tastes for a better travel experience
- OpenAI - OpenAI version: 1.35.14
- LangChain - LangChain version: 0.2.5
- Streamlit - Streamlit version: 1.38.0
Ensure that your Python version is set to 3.12.3 (pip version is 24.0):
python --version- Setting up Virtualenv:
pip install virtualenv- Creating a Virtual Environment:
virtualenv venv- Activating the Virtual Environment:
source venv/bin/activate- Installing the necessary libraries:
pip install -r requirements.txt- Set up your .env file:
cd <project-directory>- Create the .env file and add your OPENAI_API_KEY:
OPENAI_API_KEY='key' # .env file
python3 create_database.py- Launch the Streamlit app in terminal:
streamlit run app.py