-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (25 loc) · 1.17 KB
/
.env.example
File metadata and controls
29 lines (25 loc) · 1.17 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
# Required: The API endpoint for the LLM provider
API_ENDPOINT = [Your endpoint]
# Required: The API key for authenticating with the LLM provider
API_KEY = [Your API key]
# Optional: The system prompt to guide the LLM's behavior
SYSTEM_PROMPT = You are a helpful educational assistant.
# Allowed domains for CORS (comma-separated)
# Required: Comma-separated list of allowed domains for CORS
ALLOWED_DOMAINS = beyondsimulations.github.io
# Rate limiting configuration
# Optional: Maximum number of requests allowed in the rate limit window
RATE_LIMIT_REQUESTS = 10
# Optional: Time window for rate limiting in seconds
RATE_LIMIT_WINDOW = 60
# Optional: Burst allowance for rate limiting
RATE_LIMIT_BURST = 3
# Required: Set to "development" or "production" to control logging and behavior
ENVIRONMENT = development
# PostHog configuration for LLM tracing
# Optional: API key for PostHog analytics
POSTHOG_API_KEY = [Your PostHog API key]
# Optional: PostHog endpoint for sending analytics events
POSTHOG_ENDPOINT = https://eu.i.posthog.com/i/v0/e/
# Optional: Specify the AI provider (e.g., openai, anthropic). If not set, it will be derived from the API endpoint.
AI_PROVIDER = openwebui