Refactor configuration management; remove deprecated files and unify settings in YAML format
This commit is contained in:
50
example.config.yaml
Normal file
50
example.config.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
# System Configuration
|
||||
mongo_uri: "mongodb://localhost:27017"
|
||||
database_name: "helia"
|
||||
|
||||
# S3 Configuration (MinIO or AWS)
|
||||
s3_endpoint: "https://s3.amazonaws.com"
|
||||
s3_access_key: "your_access_key"
|
||||
s3_secret_key: "your_secret_key"
|
||||
s3_bucket: "your-bucket-name"
|
||||
s3_prefix: ""
|
||||
s3_region: "us-east-1"
|
||||
|
||||
# Run Configuration
|
||||
limit: 5
|
||||
|
||||
providers:
|
||||
openai:
|
||||
# Set api_key here or export OPENAI_API_KEY
|
||||
api_base: "https://api.openai.com/v1"
|
||||
api_format: "openai"
|
||||
|
||||
anthropic:
|
||||
# Set api_key here or export ANTHROPIC_API_KEY
|
||||
api_base: "https://api.anthropic.com/v1"
|
||||
api_format: "anthropic"
|
||||
|
||||
openrouter:
|
||||
# Set api_key here or export OPENROUTER_API_KEY
|
||||
api_base: "https://openrouter.ai/api/v1"
|
||||
api_format: "openai"
|
||||
|
||||
local_ollama:
|
||||
# API key optional for local_* providers
|
||||
api_base: "http://localhost:11434/v1"
|
||||
api_format: "ollama"
|
||||
|
||||
runs:
|
||||
- run_name: "baseline_gpt4"
|
||||
model:
|
||||
provider: openai
|
||||
model_name: "gpt-4o"
|
||||
temperature: 0.0
|
||||
prompt_id: "default"
|
||||
|
||||
- run_name: "test_llama3"
|
||||
model:
|
||||
provider: local_ollama
|
||||
model_name: "llama3"
|
||||
temperature: 0.7
|
||||
prompt_id: "default"
|
||||
Reference in New Issue
Block a user