-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
21 lines (18 loc) · 1.24 KB
/
Copy path.env.example
File metadata and controls
21 lines (18 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Noematica — Python 端環境變數(runtime/、integration/ 用)
# 複製成 .env(放在 repo 根目錄,跟這個檔案同一層,不是 application/ 底下)
#
# 這份是給「從 repo 根目錄執行的 Python script/service」用的:
# python3 runtime/reasoning/reasoning_engine.py ...
# python3 integration/epistemic_adapter/http_server.py
# 跟 application/.env.example(Node 後端用,cwd=application/)是兩個完全獨立
# 的檔案,兩邊剛好都有 ANTHROPIC_API_KEY 屬於正常重複,不用特地同步成一份。
# ── LLM Provider(runtime/llm_client.py、reasoning_engine.py 共用)────────
ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxxxxxxxxx
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxxxxxx
AI_PROVIDER=anthropic
# ── Epistemic Adapter HTTP 服務(integration/epistemic_adapter/http_server.py)──
EPISTEMIC_PORT=8765
# ── LatentProvider 插件(見 runtime/plugins/loader.py)────────────────────
# 格式:"module.path:ClassOrInstance"。不設定就是完全不載入任何插件,
# Core 走原本的純文字路徑,跟沒有這行的行為一模一樣。
# NOEMATICA_LATENT_PROVIDER=noematica_jspace.adapter.noematica_provider:NoematicaJSpaceProvider