This project is part of the pre-employment test for Bahasa.ai Product Engineer AI Backend.
Follow these steps to set up the project:
-
Clone the repository:
git clone https://github.com/michaelsinanta/travel-agent-rag.git
-
Navigate to the project directory:
cd travel-agent-rag
-
Create a virtual environment:
python3 -m venv env
-
Activate the virtual environment:
- On Windows:
.\env\Scripts\activate
- On macOS and Linux:
source env/bin/activate
- On Windows:
-
Install the required packages:
pip install -r requirements.txt
- Create a
.env
file in the project root and add the following:TOGETHER_API_KEY=your_together_api_key DATABASE_URI=your_database_uri
- Run the application:
streamlit run main.py