- Create virtual environment:
python3 -m venv .chatbot_env
source .chatbot_env/bin/activate- Install dependencies:
pip install litellm python-dotenv- Set up environment variables:
cp .env.example .envThen edit .env and add your Gemini API key:
GEMINI_API_KEY=your_actual_gemini_api_key_here
Run the interactive chatbot CLI:
python cli.pyType 'exit' or 'quit' to end the conversation.