This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 1.6 kB View raw
1# Connection string for the SHARED Postgres database (required when DATA_STORAGE=sql). 2DB_CONNECTION_STRING=postgresql://user:password@host:5432/postgres 3 4# Storage backend: sql (Postgres+pgvector) or git (in-memory numpy+jsonl bundle). 5# DATA_STORAGE=sql 6# DATA_STORAGE=git 7# REC_DATA_GIT_URL=https://github.com/org/tangled-rec-data.git 8# REC_DATA_DIR=/tmp/tangled-rec-data 9# REC_DATA_GIT_REF=main 10# REC_DATA_REFRESH_SEC=0 11# REC_DATA_GIT_CLONE_TIMEOUT=120 12# REC_DATA_GIT_SSH_KEY=<base64-encoded deploy key for git@ SSH remotes on Cloud Run> 13 14# Google Gemini API key — NOT used by the service. Only needed if you run the Node 15# reference embedding scripts in reference/src/ (gemini-embedding-001 @ 1536 dims). 16# GEMINI_API_KEY=your-gemini-api-key 17 18# Base URL used to build absolute repo links in responses. 19# TANGLED_WEB_BASE=https://tangled.org 20 21# Questionnaire read source. "knot" (default) reads each questionnaire per-issue from 22# the knot blob XRPC; "db" reverts to Postgres. In knot mode, set DB_FALLBACK=1 to fall 23# back to the DB on a miss during transition. 24# QUESTIONNAIRE_SOURCE=knot 25# QUESTIONNAIRE_KNOT_HOST=knot1.tangled.sh 26# QUESTIONNAIRE_REPO_DID=did:plc:vg4msk54xucet6of2rdrgahe 27# QUESTIONNAIRE_KNOT_TIMEOUT=10 28# QUESTIONNAIRE_DB_FALLBACK=0 29 30# Recommendation tunables (optional; defaults shown). 31# REC_PER_SEED_LIMIT=25 32# REC_DISTANCE_FLOOR=0.30 33# REC_ISSUE_DISTANCE_FLOOR=0.40 34# REC_MIN_README_CHARS=120 # drop near-empty READMEs as seeds + candidates (test repos); 0 disables 35# REC_MAX_REPOS=40 36# REC_MAX_ISSUES=40 37# REC_QUERY_WORKERS=8 # concurrent per-seed kNN queries (DB round-trips dominate latency)