-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (32 loc) · 1.48 KB
/
Copy path.env.example
File metadata and controls
38 lines (32 loc) · 1.48 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
# Strata environment
# Copy to .env and fill in values
# Database (default: local Postgres via docker-compose)
DATABASE_URL=postgresql+psycopg://strata:strata@localhost:5433/strata
# STRATA_TEST_DB=sqlite:///./strata.sqlite # overrides DATABASE_URL when set
# ---- LLM backend ----
# "openai" -> any OpenAI-compatible endpoint (DashScope International default)
# "anthropic" -> Anthropic Claude
STRATA_LLM_BACKEND=openai
# DashScope (default when backend=openai)
# China-mainland endpoint: https://dashscope.aliyuncs.com/compatible-mode/v1
# International endpoint: https://dashscope-intl.aliyuncs.com/compatible-mode/v1
# Note: model entitlements differ between endpoints; use lowercase model names.
DASHSCOPE_API_KEY=
STRATA_LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
STRATA_GRADER_MODEL=qwen3.6-flash
STRATA_AUTHOR_MODEL=qwen3.6-flash
# Alternate: Anthropic (when STRATA_LLM_BACKEND=anthropic)
# ANTHROPIC_API_KEY=
# STRATA_GRADER_MODEL=claude-haiku-4-5-20251001
# STRATA_AUTHOR_MODEL=claude-opus-4-7
# Iteration limits for the deliverable factory
STRATA_MAX_ITERATIONS=5
STRATA_PASS_THRESHOLD=8
# ---- Astra DB (vector exemplar store; optional) ----
# Postgres stays as the relational core; Astra is an additive vector index
# of past deliverables that the LLM author retrieves at draft time.
# Find these in https://astra.datastax.com on your database overview.
ASTRA_DB_API_ENDPOINT=
ASTRA_DB_APPLICATION_TOKEN=
ASTRA_DB_KEYSPACE=default_keyspace
STRATA_EXEMPLAR_TOP_K=3