-
Clone the repository:
git clone https://github.com/pthom/northwind_psql.git -
Navigate into the cloned directory:
cd northwind_psql -
Run Docker Compose to start the services:
docker compose up -
Set up Qdrant using Docker:
docker run -p 6333:6333 -p 6334:6334 \ -v "$(pwd)/qdrant_storage:/qdrant/storage:z" \ qdrant/qdrant -
Navigate to the parent directory:
cd .. -
Set up a Python virtual environment:
python3 -m venv venv source venv/bin/activate -
Install the required dependencies:
pip install -r requirements.txt -
Set up the
.envfile with the following content:QDRANT_URL=http://localhost:6333 QDRANT_COLLECTION=northwind_rag GROQ_API_KEY= -
Run the embedding insertion script:
python embedd_insert.py -
Run the Streamlit app:
streamlit run app.py
- Query: List the top 5 customers by total order value.