-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
29 lines (28 loc) · 1.15 KB
/
Copy pathexample.env
File metadata and controls
29 lines (28 loc) · 1.15 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
# Database
DATABASE_PATH=./data/sammwise.sqlite
# Gap Analysis Report (optional). Provider-agnostic: any OpenAI-compatible endpoint, or
# Anthropic native. When AI_PROVIDER_API_KEY is set, the "Generate Gap Analysis Report"
# button is enabled on /results.
#
# WARNING: enabling this sends assessment answers (maturity scores and multiple-choice
# responses to the 90 SAMM questions) to an external LLM provider. No company name,
# project name, or description is ever included. AI_PROVIDER_API_URL MUST be https://
# (validated at runtime).
#
# AI_PROVIDER_API_FORMAT selects the adapter: "openai" (OpenAI-compatible chat/completions)
# or "anthropic" (native Messages API).
AI_PROVIDER_API_KEY=
AI_PROVIDER_API_URL=
AI_PROVIDER_API_FORMAT=openai
AI_PROVIDER_MODEL=
AI_PROVIDER_TIMEOUT_MS=60000
AI_PROVIDER_MAX_TOKENS=2000
AI_PROVIDER_EXTRA_BODY={}
#
# --- Example: OpenAI direct (openai format) ---
# AI_PROVIDER_API_URL=https://api.openai.com/v1/chat/completions
# AI_PROVIDER_MODEL=gpt-4o
# --- Example: Anthropic native (anthropic format) ---
# AI_PROVIDER_API_URL=https://api.anthropic.com/v1/messages
# AI_PROVIDER_API_FORMAT=anthropic
# AI_PROVIDER_MODEL=claude-sonnet-5