-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
65 lines (53 loc) · 3.05 KB
/
.env.example
File metadata and controls
65 lines (53 loc) · 3.05 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# ============================================================================
# Provider Selection: "openrouter" or "local" (default: openrouter)
# ============================================================================
# DSPY_PROVIDER=openrouter
# ============================================================================
# OpenRouter Configuration (when DSPY_PROVIDER=openrouter)
# ============================================================================
OPENROUTER_API_KEY=your_openrouter_api_key_here
DSPY_MODEL_NAME=nvidia/nemotron-3-nano-30b-a3b:free
# Optional headers for OpenRouter
# DSPY_HTTP_HEADERS={"HTTP-Referer":"https://yourdomain.com","X-Title":"My App"}
# OPENROUTER_HTTP_REFERER=https://yourdomain.com
# OPENROUTER_APP_TITLE=DSPy Reference Example
# ============================================================================
# Local llama.cpp Configuration (when DSPY_PROVIDER=local)
# ============================================================================
# DSPY_LOCAL_BASE=http://localhost:8080/v1
# DSPY_MODEL_NAME=local-model
# ============================================================================
# Training Options
# ============================================================================
# DSPY_RUN_ID=run-001 # auto-generated if not set
# ============================================================================
# Artifact Options
# ============================================================================
# DSPY_ARTIFACT_AUTO_UPDATE=false
# ============================================================================
# MLflow (experiment tracking)
# ============================================================================
# MLflow uses SQLite by default: mlflow/mlflow.db
# No additional configuration required - runs automatically during training
# ============================================================================
# Deployment / CI (Railway + Palantir Foundry)
# ============================================================================
# These map to GitHub Actions secrets/variables used by:
# - .github/workflows/publish-platform-images.yml
# - .github/workflows/publish-foundry.yml
# - .github/workflows/railway-preview-smoke.yml
# - .github/workflows/railway-production-smoke.yml
#
# NOTE: Keep real values in your local .env or GitHub Secrets.
# Do not commit live Foundry tokens.
# Foundry registry host, e.g. baryte-container-registry.palantirfoundry.com
FOUNDRY_REGISTRY_HOST=your_foundry_registry_host
# Foundry image path used in publish workflow, e.g. pharma-complaints-classification
FOUNDRY_DOCKER_IMAGE_NAME=your_foundry_docker_image_name
# Foundry artifact repository RID used as docker login username
FOUNDRY_ARTIFACT_REPOSITORY_RID=ri.artifacts.main.repository.your_repository_rid
# Short-lived Foundry docker registry token (rotate frequently)
FOUNDRY_TOKEN=your_short_lived_foundry_registry_token
# Railway service slug for deployment_status URL resolution
# If omitted in GitHub repository variables, workflow falls back to repository name.
RAILWAY_SERVICE_SLUG=your_railway_service_slug