chore(config): update gitignore and env.example

- Add .qoder/repowiki/zh/ to .gitignore to exclude generated repowiki content
- Update CORE_GENERAL_TYPES in env.example to align with ontology.md 13-category entity taxonomy (Chinese labels)
- Add PIPELINE_SNAPSHOT_ENABLED config for extraction pipeline stage snapshot output
- Fix missing newline at end of env.example
This commit is contained in:
lanceyq
2026-05-08 11:20:36 +08:00
parent aa9eb66668
commit c27ca5a380
2 changed files with 10 additions and 2 deletions

3
.gitignore vendored
View File

@@ -43,3 +43,6 @@ cl100k_base.tiktoken
libssl*.deb
sandbox/lib/seccomp_redbear/target
# Qoder repowiki generated content
.qoder/repowiki/zh/

View File

@@ -142,5 +142,10 @@ SMTP_PASSWORD=
GENERAL_ONTOLOGY_FILES=api/app/core/memory/ontology_services/General_purpose_entity.ttl # 指定要加载的本体文件路径,多个文件用逗号分隔
ENABLE_GENERAL_ONTOLOGY_TYPES=true # 总开关,控制是否启用通用本体类型融合功能(false = 不使用任何本体类型指导)
MAX_ONTOLOGY_TYPES_IN_PROMPT=100 # 限制传给 LLM 的类型数量,防止 Prompt 过长
CORE_GENERAL_TYPES=Person,Organization,Place,Event,Work,Concept # 定义核心类型列表,这些类型会优先包含在合并结果中
ONTOLOGY_EXPERIMENT_MODE=true # 是否允许通过 API 动态切换本体配置
# 核心类型白名单,与 ontology.md Entity Ontology 的 13 类保持一致
CORE_GENERAL_TYPES=人物,组织,群体,角色职业,地点设施,物品设备,软件平台,识别联系信息,文档媒体,知识能力,偏好习惯,具体目标,称呼别名
ONTOLOGY_EXPERIMENT_MODE=true # 是否允许通过 API 动态切换本体配置
# 萃取阶段快照:将每个阶段的输出保存到 logs/memory-output/snapshots/
PIPELINE_SNAPSHOT_ENABLED=false