-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathconfig.local.example.yaml
More file actions
49 lines (44 loc) · 2.04 KB
/
config.local.example.yaml
File metadata and controls
49 lines (44 loc) · 2.04 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
# config.local.yaml — local secrets (gitignored) 本地敏感配置(不进 git)
# Copy this file to config.local.yaml and fill in your keys.
# 复制此文件为 config.local.yaml,填入你的密钥。
# LLM API key — for metadata extraction & content enrichment
# LLM API 密钥——用于元数据提取和内容富化
# DeepSeek: https://platform.deepseek.com/
# Or any OpenAI-compatible API 或任意 OpenAI 兼容 API
llm:
api_key: ""
# MinerU token — for `mineru-open-api extract`
# MinerU token——用于 `mineru-open-api extract`
# Free tier 免费申请: https://mineru.net/apiManage/token
# Or self-host 或本地部署: https://github.com/opendatalab/MinerU
ingest:
mineru_api_key: ""
contact_email: "" # Crossref polite pool — your email 你的邮箱(加速 Crossref 查询)
s2_api_key: "" # Semantic Scholar API key — higher rate limits S2 API 密钥(提升限速)
# Apply at: https://www.semanticscholar.org/product/api#api-key
# 申请地址:https://www.semanticscholar.org/product/api#api-key
# Paper2Any sidecar/backend tokens (optional)
# Paper2Any sidecar / 后端令牌(可选)
paper2any:
api_key: "" # Optional Bearer token for scholaraio paper2any mcp-serve
backend_api_key: "" # Optional upstream Paper2Any BACKEND_API_KEY / X-API-Key
# Embedding backend override (optional) Embedding 后端覆盖(可选)
# provider: local | openai-compat | none
# If using cloud embedding API, set api_key/api_base/model here.
# 如果使用云端 embedding API,可在这里设置 api_key/api_base/model。
embed:
provider: "local"
api_key: ""
api_base: ""
model: ""
# Zotero integration (optional) Zotero 集成(可选)
# API key: https://www.zotero.org/settings/keys
# Library ID: visible in your Zotero web library URL
# Library type: user or group (default user)
# API 密钥:https://www.zotero.org/settings/keys
# Library ID:在 Zotero 网页版 URL 中可见
# Library 类型:user 或 group(默认 user)
zotero:
api_key: ""
library_id: ""
library_type: "user"