-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
42 lines (32 loc) · 2.77 KB
/
env.example
File metadata and controls
42 lines (32 loc) · 2.77 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
# ─── Core ────────────────────────────────────────────────────────────────────
# OpenAI API key — required for OpenAI embeddings and chat completions
OPENAI_API_KEY="<your-openai-api-key-here>"
# Bearer token for API authentication (generate with: openssl rand -hex 32)
API_TOKEN="<your-auth-key-here>"
# ─── Paths ───────────────────────────────────────────────────────────────────
# Folder for SQLite memory databases (relative to rmr-api/ or absolute)
DATABASE_FOLDER="../databases"
# Folder for temporarily stored uploads (relative to rmr-api/ or absolute)
UPLOAD_FOLDER="../uploads"
# ─── Models ──────────────────────────────────────────────────────────────────
# Embedding model — OpenAI model name or local path to a SentenceTransformer model
# Examples: "text-embedding-3-large", "/path/to/local-embedding-model"
# EMBEDDING_MODEL="text-embedding-3-large"
# Chat model used by the RMR API (notebooks may override via SRT_CHAT_MODEL)
# DEFAULT_LLM_MODEL="gpt-5.2"
# ─── CORS ────────────────────────────────────────────────────────────────────
# Comma-separated list of allowed origins for the API
CORS_ORIGINS="http://localhost:3000"
# ─── Optional: Local LLM ────────────────────────────────────────────────────
# To use a local llama.cpp-compatible server, set the LLM model name to "local"
# in the frontend query options. This routes requests to http://localhost:8080.
# ─── Optional: Notebook / Introspector ───────────────────────────────────────
# SRT_CHAT_MODEL="gpt-5.2"
# SRT_EMBED_MODEL="text-embedding-3-small"
# OUTPUT_FOLDER="../test-results"
# ─── Frontend (REACT_APP_ prefix required by Create React App) ───────────────
# API base URL for the React frontend
REACT_APP_API_BASE_URL="http://127.0.0.1:5500"
# ─── Utility ─────────────────────────────────────────────────────────────────
# Prevents HuggingFace tokenizer fork warnings
TOKENIZERS_PARALLELISM="false"