HF_Agents_Final_Project / quick_setup.sh
Yago Bolivar
feat: add GAIA Agent and local testing scripts, including setup and requirements for development
2abc50d
raw
history blame
944 Bytes
#!/bin/zsh
# filepath: /Users/yagoairm2/Desktop/agents/final project/HF_Agents_Final_Project/quick_setup.sh
echo "===== GAIA Agent Quick Setup ====="
# Activate the virtual environment
echo "Activating virtual environment..."
source .venv/bin/activate
# Install dependencies
echo "Installing dependencies..."
pip install -r requirements.txt
# Create dataset directory if it doesn't exist
echo "Setting up directories..."
mkdir -p dataset
echo "Setup complete!"
echo ""
echo "Available commands:"
echo "- python app_local.py # Run the local testing app"
echo "- python test_agent.py -t TASK_ID # Test agent with a specific question"
echo ""
echo "Examples:"
echo "- python test_agent.py -t 8e867cd7-cff9-4e6c-867a-ff5ddc2550be"
echo "- python test_agent.py -q 'How many studio albums were published by Mercedes Sosa?'"
echo ""
echo "Note: For the first run, the system will download the Llama 3 model which may take some time."