HonestAI / setup_conda_env.sh
JatsTheAIGen's picture
Integrate Novita AI as exclusive inference provider - Add Novita AI API integration with DeepSeek-R1-Distill-Qwen-7B model - Remove all local model dependencies - Optimize token allocation for user inputs and context - Add Anaconda environment setup files - Add comprehensive test scripts and documentation
927854c
#!/bin/bash
# Setup script for Anaconda environment
# This script creates and activates a conda environment for the Research AI Assistant
echo "============================================================"
echo "Setting up Anaconda environment for Research AI Assistant"
echo "============================================================"
# Check if conda is available
if ! command -v conda &> /dev/null; then
echo "❌ Error: conda command not found"
echo " Please install Anaconda or Miniconda first"
echo " Download from: https://www.anaconda.com/products/distribution"
exit 1
fi
echo "✓ Conda found"
# Create environment from environment.yml
echo ""
echo "Creating conda environment from environment.yml..."
conda env create -f environment.yml
if [ $? -eq 0 ]; then
echo "✓ Environment created successfully"
else
echo "❌ Environment creation failed"
exit 1
fi
# Activate environment
echo ""
echo "To activate the environment, run:"
echo " conda activate research-ai-assistant"
echo ""
echo "Or on Windows:"
echo " conda activate research-ai-assistant"
echo ""
echo "Then install remaining dependencies:"
echo " pip install -r requirements.txt"