-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy path.env.example
More file actions
47 lines (38 loc) · 1.93 KB
/
Copy path.env.example
File metadata and controls
47 lines (38 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# MultiMind SDK Multi-Model Wrapper Environment Variables
# Copy this file to .env and fill in your API keys
# OpenAI Configuration
# Get your API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-... # Required for OpenAI models (gpt-3.5-turbo, gpt-4)
# Anthropic (Claude) Configuration
# Get your API key from: https://console.anthropic.com/settings/keys
CLAUDE_API_KEY=sk-ant-... # Required for Claude models (claude-3-opus, claude-3-sonnet)
# Hugging Face Configuration
# Get your token from: https://huggingface.co/settings/tokens
HF_TOKEN=hf_... # Required for Hugging Face models
HF_CACHE_DIR=./models # Optional: Custom cache directory for HF models
# Ollama Configuration
# Make sure Ollama is installed: https://ollama.ai/download
OLLAMA_HOST=http://localhost:11434 # Optional: Custom Ollama host
OLLAMA_DEFAULT_MODEL=mistral # Optional: Default model for Ollama
# Model Settings
# Optional: Override default model versions
OPENAI_DEFAULT_MODEL=gpt-4 # Default OpenAI model
CLAUDE_DEFAULT_MODEL=claude-3-opus-20240229 # Default Claude model
HF_DEFAULT_MODEL=mistralai/Mistral-7B-v0.1 # Default Hugging Face model
# API Settings
# Optional: Configure API behavior
OPENAI_TIMEOUT=30 # Timeout in seconds for OpenAI API calls
CLAUDE_TIMEOUT=30 # Timeout in seconds for Claude API calls
HF_TIMEOUT=60 # Timeout in seconds for Hugging Face operations
MAX_RETRIES=3 # Maximum number of retries for API calls
# Logging Configuration
# Optional: Configure logging behavior
LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_FILE=multimind.log # Optional: Log file path
# Development Settings
# Optional: Development-specific settings
DEBUG=false # Enable debug mode
TEST_MODE=false # Enable test mode (uses mock responses)
MOCK_RESPONSES=false # Use mock responses for testing
# Note: Never commit your actual .env file to version control
# This example file should be committed, but your .env file should be in .gitignore