期望提炼项目提示词工程 #2832
Pinned
odiecn86-cloud
started this conversation in
Ideas
期望提炼项目提示词工程
#2832
Replies: 1 comment
-
|
@odiecn86-cloud 这个提议不错,可以把这部分的内容加入到我们后续的开发计划中。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
需求背景
当前 DeerFlow 的核心提示词管理完全耦合在 Python 代码中,具体表现为:
类似SYSTEM_PROMPT_TEMPLATE 是一个 825 行 Python 文件中的巨型 f-string 模板
提示词的各个模块(subagent_section、clarification_system、thinking_style、response_style、citations 等)通过 Python 函数动态拼接
修改任何提示词内容都需要修改 Python 源码
项目更新时,相关py是高频冲突文件,merge 成本极高
痛点 | 描述
Merge 地狱 | 每次上游更新相关,本地自定义修改都需要复杂的手动 merge
无版本管理 | 提示词没有独立的版本号,无法回滚到特定版本的提示词
无用户级定制 | 除了 SOUL.md 外,用户无法定制系统提示词的核心行为段落
修改门槛高 | 非开发者无法直接编辑提示词,必须理解 Python 代码
测试困难 | 提示词变更与代码变更混在一起,难以独立 A/B 测试
无审计追踪 | 谁在什么时候改了什么提示词,完全无记录
期望
构建一个提示词管理器(Prompt Manager),将提示词内容从代码中解耦为独立的、可版本化的、可按用户/租户分发的文档资源。
Beta Was this translation helpful? Give feedback.
All reactions