recommender service build using flask
| src | ||
| .gitignore | ||
| Dockerfile | ||
| README.md | ||
| requirements.txt | ||
How to Run This Project
1️⃣ Create and Activate a Virtual Environment
Run the following command to create a virtual environment:
python -m venv venv
Activate the Virtual Environment
On macOS/Linux:
source venv/bin/activate
2️⃣ Install Dependencies
After activating the virtual environment, install the required packages:
pip install -r requirements.txt
3️⃣ Run the Flask Application
Once dependencies are installed, start the Flask app by running:
cd src
python app.py
Environment Variables
This project requires a .env file for configuration.
.env File Placement
- Place the
.envfile insidesrcdirectory.
Example .env File
QDRANT_HOST = "localhost"
QDRANT_PORT = 6333
QDRANT_API_KEY=''
QDRANT_CLUSTER=''
QDRANT_COLLECTION_NAME='titan'
TOKENIZER_FOLDER=''
MODEL_FOLDER=''