# Auto-generated by OneEnv

# (Defined in: plugin:monitoring)
# Webhook URL for alerts (Slack, Teams, etc.)
ALERT_WEBHOOK_URL=

# (Defined in: plugin:core)
# Anthropic API key for Claude models
# Get from: https://console.anthropic.com/
ANTHROPIC_API_KEY=

# (Defined in: plugin:rag)
# Chroma vector store host
CHROMA_HOST=localhost

# (Defined in: plugin:rag)
# Chroma vector store port
CHROMA_PORT=8000

# (Defined in: plugin:database)
# Database connection URL
# Examples:
# - PostgreSQL: postgresql://user:pass@localhost:5432/db
# - SQLite: sqlite:///app.db
# - MySQL: mysql://user:pass@localhost:3306/db
# Required
DATABASE_URL=sqlite:///refinire.db

# (Defined in: plugin:database)
# Maximum overflow connections beyond pool size
DB_MAX_OVERFLOW=20

# (Defined in: plugin:database)
# Database connection pool size
# Choices: 5, 10, 20, 50
DB_POOL_SIZE=10

# (Defined in: plugin:database)
# Database connection timeout in seconds
DB_POOL_TIMEOUT=30

# (Defined in: plugin:core)
# Google API key for Gemini models
# Get from: https://aistudio.google.com/app/apikey
GOOGLE_API_KEY=

# (Defined in: plugin:monitoring)
# Grafana dashboard URL for visualization
GRAFANA_URL=http://localhost:3000

# (Defined in: plugin:monitoring)
# Log output format
# Choices: json, text, structured
LOG_FORMAT=json

# (Defined in: plugin:core)
# Ollama server base URL for local models
OLLAMA_BASE_URL=http://localhost:11434

# (Defined in: plugin:core)
# OpenAI API key for GPT models
# Get from: https://platform.openai.com/api-keys
# Required
OPENAI_API_KEY=

# (Defined in: plugin:rag)
# Pinecone API key
# Get from: https://app.pinecone.io/
PINECONE_API_KEY=

# (Defined in: plugin:rag)
# Pinecone environment region
PINECONE_ENVIRONMENT=us-east-1-aws

# (Defined in: plugin:monitoring)
# Prometheus metrics server port
PROMETHEUS_PORT=8080

# (Defined in: plugin:development)
# Enable debug mode for development
# Choices: true, false
REFINIRE_DEBUG=false

# (Defined in: plugin:agents)
# Default model name for agents
REFINIRE_DEFAULT_MODEL=gpt-4o-mini

# (Defined in: plugin:agents)
# Default LLM provider for agents
# Choices: openai, anthropic, google, ollama
REFINIRE_DEFAULT_PROVIDER=openai

# (Defined in: plugin:agents)
# Maximum steps allowed in a flow execution
REFINIRE_FLOW_MAX_STEPS=100

# (Defined in: plugin:core)
# Logging level for Refinire components
# Choices: DEBUG, INFO, WARNING, ERROR, CRITICAL
REFINIRE_LOG_LEVEL=INFO

# (Defined in: plugin:agents)
# Maximum retry attempts for failed LLM calls
# Choices: 1, 2, 3, 5, 10
REFINIRE_MAX_RETRIES=3

# (Defined in: plugin:monitoring)
# Enable metrics collection
# Choices: true, false
REFINIRE_METRICS_ENABLED=true

# (Defined in: plugin:development)
# Enable performance profiling
# Choices: true, false
REFINIRE_PROFILE=false

# (Defined in: plugin:rag)
# Overlap between text chunks
REFINIRE_RAG_CHUNK_OVERLAP=200

# (Defined in: plugin:rag)
# Text chunk size for document processing
# Choices: 500, 1000, 1500, 2000
REFINIRE_RAG_CHUNK_SIZE=1000

# (Defined in: plugin:rag)
# Embedding model for text vectorization
REFINIRE_RAG_EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2

# (Defined in: plugin:rag)
# Vector store backend for RAG
# Choices: chroma, faiss, pinecone, weaviate
REFINIRE_RAG_VECTOR_STORE=chroma

# (Defined in: plugin:development)
# Enable auto-reload for development
# Choices: true, false
REFINIRE_RELOAD=false

# (Defined in: plugin:agents)
# Timeout in seconds for LLM requests
REFINIRE_TIMEOUT=60

# (Defined in: plugin:core)
# Enable tracing for debugging and monitoring
# Choices: true, false
REFINIRE_TRACING_ENABLED=true

# (Defined in: plugin:development)
# Test database URL (separate from main DB)
TEST_DATABASE_URL=sqlite:///test_refinire.db

# (Defined in: plugin:rag)
# Weaviate instance URL
WEAVIATE_URL=http://localhost:8080
