This application was developed as part of the Apsiyon Hackathon. 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.
- RAG: Can answer all questions related to Apsiyon
- Dictionary: Provides definitions for real estate terms
- Appointment: The customer can schedule an appointment for a suitable time and day
- Persuasive: Uses a convincing and warm language to persuade the customer
- Conversation Logs: The customer representative can review conversation logs and see a summary of the conversation
- OpenAI - OpenAI version: 1.35.14
- LangChain - LangChain version: 0.2.5
- Streamlit - Streamlit version: 1.36.0
Ensure that your Python version is set to 3.10.12
(pip version is 24.1.2
):
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