-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
54 lines (41 loc) · 2.21 KB
/
.env.example
File metadata and controls
54 lines (41 loc) · 2.21 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
############ ENV VARIABLES YOU MUST SET YOURSELF ############
# Path to the jixia executable.
# Build jixia first (see README), then point this to the compiled binary.
# Example: JIXIA_PATH = "/home/you/jixia/.lake/build/bin/jixia"
JIXIA_PATH = "/path/to/jixia/.lake/build/bin/jixia"
# System root of your Lean 4 installation.
# Run `lake env` inside your project and copy the LEAN_SYSROOT line.
# Example: LEAN_SYSROOT = "/home/you/.elan/toolchains/leanprover--lean4---v4.18.0"
LEAN_SYSROOT = "/path/to/.elan/toolchains/leanprover--lean4---vX.Y.Z"
# PostgreSQL connection string.
# Create a database first: createdb my_database_name
# Example: CONNECTION_STRING = "dbname=physlibsearch user=myuser password=mypassword"
CONNECTION_STRING = "dbname=physlibsearch user=YOUR_USER password=YOUR_PASSWORD"
# Google Gemini API key — used for embeddings, informalization, and query expansion.
# Get yours at https://aistudio.google.com/app/apikey
GEMINI_API_KEY = "YOUR_GEMINI_API_KEY"
################### DEFAULT ENV VARIABLES ###################
# Model used for informalization (one-time indexing step; quality matters).
# Recommended: gemini-3.1-pro | Free tier alternative: gemma-4-31b-it
GEMINI_MODEL = "gemini-3.1-pro-preview"
# Model used for HyDE query expansion (real-time per query; speed matters).
# Recommended: gemini-3-flash-preview
GEMINI_FAST_MODEL = "gemini-3-flash-preview"
# Embedding model. gemini-embedding-2-preview produces 3072-dim cosine embeddings.
GEMINI_EMBEDDING_MODEL = "gemini-embedding-2-preview"
# Path to the folder where ChromaDB files are stored.
CHROMA_PATH = "chroma"
# Optional: use a custom LLM endpoint (e.g. OpenRouter) instead of Gemini directly.
# If set, GEMINI_FAST_MODEL must be the model name accepted by that endpoint.
# LLM_API_KEY = "sk-or-..."
# LLM_BASE_URL = "https://openrouter.ai/api/v1"
# Comma-separated list of allowed CORS origins for the API server.
# ALLOWED_ORIGINS = "https://yourdomain.com,http://localhost:3000"
# Log settings.
LOG_FILENAME = ""
LOG_FILEMODE = "w"
LOG_LEVEL = "WARNING"
# Dry run — runs indexing without calling any external API or computing embeddings.
# Useful for testing the pipeline end-to-end without spending API quota.
# Values: "true" | "false"
DRY_RUN = "false"