Added Rag Featured

This commit is contained in:
Iyeoluwa Akinrinola
2025-05-16 15:24:01 +01:00
parent e82861a5db
commit 1896298a18
30 changed files with 503 additions and 1580 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/bin/bash
# Script to run the RAG test in a Python virtual environment
# Make the script executable
chmod +x test_rag.py
# Check if virtual environment is activated
if [[ -z "$VIRTUAL_ENV" ]]; then
echo "Virtual environment is not activated."
echo "Please activate your virtual environment first with:"
echo "source /path/to/your/venv/bin/activate"
exit 1
fi
echo "Running RAG tests against remote server..."
python test_rag.py --remote --verbose
# If you want to test against a different server, uncomment and modify this line:
# python test_rag.py --api-url "http://your-server-url:port" --verbose
# If you want to test with a specific query, uncomment and modify this line:
# python test_rag.py --remote --query "What information do you have about project X?" --verbose