- Docker
cp .env.example .env
docker-compose up -d
- To evaluate the accuracy of your Dify chatbot, update the
.env
file with the required values
API_BASE_URL=<YOUR_DIFY_BASE_URL>
CHATBOT_API_KEY=<YOUR_CHATBOT_API_KEY>
- Restart the container
docker-compose restart
- Run the evaluation script
- The evaluation data should be located in evaluation_data.json
docker-compose exec app python evaluation.py