Files
benchmark/.env.example
2026-01-14 20:57:03 -07:00

39 lines
1.2 KiB
Bash

# Open WebUI Benchmark Configuration
# Copy this file to .env and configure for your environment
# Base URL of the Open WebUI instance to benchmark
OPEN_WEBUI_URL=http://localhost:8080
# Ollama instance URL (use host.docker.internal for local Ollama)
OLLAMA_BASE_URL=http://host.docker.internal:11434
# Enable Channels feature
ENABLE_CHANNELS=true
# Admin credentials for Open WebUI (REQUIRED)
ADMIN_USER_EMAIL=admin@example.com
ADMIN_USER_PASSWORD=adminpassword123
ADMIN_USER_NAME=Admin User
# Channel benchmark settings (optional)
MAX_CONCURRENT_USERS=50
USER_STEP_SIZE=10
SUSTAIN_TIME_SECONDS=30
MESSAGE_FREQUENCY=0.5
# =============================================================================
# AI Chat Benchmark Settings
# =============================================================================
# OpenAI API key (required for chat benchmark)
# This key is used by Open WebUI to connect to OpenAI
OPENAI_API_KEY=sk-your-openai-api-key-here
# Model to use for chat benchmark (default: gpt-4o-mini for cost efficiency)
CHAT_BENCHMARK_MODEL=gpt-4o-mini
# Chat benchmark configuration
CHAT_MAX_CONCURRENT_USERS=10
CHAT_REQUESTS_PER_USER=5
CHAT_SUSTAIN_TIME_SECONDS=60