[GH-ISSUE #407] 能再开源一下处理文件和联网搜索的 prompt 么? #319

Closed
opened 2026-10-26 21:19:21 +00:00 by bsakaguchi · 11 comments
Owner

Originally created by @chenryn on GitHub (Feb 14, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/407

刚看到readme 里更新了 system prompt,对我们复刻一个 ds 来说,下一个问题就是文件上传和联网搜索了。这块不知道 deepseek 官方是怎么做的?
如果是用自家的 VL 和 V3 来实现附件识别、联网查询关键字的重写的话,下一步能不能把这两块的官方 prompt 也开源出来啊?

用 kimi 和通义的时候,联网搜索都会直接在页面上展示重写后的联网查询关键字。我觉得这块完全可以开放出来给大家讲?

Originally created by @chenryn on GitHub (Feb 14, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/407 刚看到readme 里更新了 system prompt,对我们复刻一个 ds 来说,下一个问题就是文件上传和联网搜索了。这块不知道 deepseek 官方是怎么做的? 如果是用自家的 VL 和 V3 来实现附件识别、联网查询关键字的重写的话,下一步能不能把这两块的官方 prompt 也开源出来啊? 用 kimi 和通义的时候,联网搜索都会直接在页面上展示重写后的联网查询关键字。我觉得这块完全可以开放出来给大家讲?
bsakaguchi 2026-10-26 21:19:21 +00:00
Author
Owner

@timeswind commented on GitHub (Feb 14, 2025):

搜索和文件解析这个已经有很多开源方案了,没必要参考官方的,官方也不一定做得是最好的

<!-- gh-comment-id:2658974069 --> @timeswind commented on GitHub (Feb 14, 2025): 搜索和文件解析这个已经有很多开源方案了,没必要参考官方的,官方也不一定做得是最好的
Author
Owner

@Dayong99 commented on GitHub (Feb 14, 2025):

搜索和文件解析这个已经有很多开源方案了,没必要参考官方的,官方也不一定做得是最好的

你推荐一些呗

<!-- gh-comment-id:2659207602 --> @Dayong99 commented on GitHub (Feb 14, 2025): > 搜索和文件解析这个已经有很多开源方案了,没必要参考官方的,官方也不一定做得是最好的 你推荐一些呗
Author
Owner

@ssdisc commented on GitHub (Feb 14, 2025):

刚看到readme 里更新了 system prompt,对我们复刻一个 ds 来说,下一个问题就是文件上传和联网搜索了。这块不知道 deepseek 官方是怎么做的? 如果是用自家的 VL 和 V3 来实现附件识别、联网查询关键字的重写的话,下一步能不能把这两块的官方 prompt 也开源出来啊?

用 kimi 和通义的时候,联网搜索都会直接在页面上展示重写后的联网查询关键字。我觉得这块完全可以开放出来给大家讲?

https://github.com/deepseek-ai/DeepSeek-R1/pull/399/files 这个是吗

<!-- gh-comment-id:2659241482 --> @ssdisc commented on GitHub (Feb 14, 2025): > 刚看到readme 里更新了 system prompt,对我们复刻一个 ds 来说,下一个问题就是文件上传和联网搜索了。这块不知道 deepseek 官方是怎么做的? 如果是用自家的 VL 和 V3 来实现附件识别、联网查询关键字的重写的话,下一步能不能把这两块的官方 prompt 也开源出来啊? > > 用 kimi 和通义的时候,联网搜索都会直接在页面上展示重写后的联网查询关键字。我觉得这块完全可以开放出来给大家讲? https://github.com/deepseek-ai/DeepSeek-R1/pull/399/files 这个是吗
Author
Owner

@chenryn commented on GitHub (Feb 17, 2025):

刚看到readme 里更新了 system prompt,对我们复刻一个 ds 来说,下一个问题就是文件上传和联网搜索了。这块不知道 deepseek 官方是怎么做的? 如果是用自家的 VL 和 V3 来实现附件识别、联网查询关键字的重写的话,下一步能不能把这两块的官方 prompt 也开源出来啊?
用 kimi 和通义的时候,联网搜索都会直接在页面上展示重写后的联网查询关键字。我觉得这块完全可以开放出来给大家讲?

https://github.com/deepseek-ai/DeepSeek-R1/pull/399/files 这个是吗

这个是搜完以后怎么传给 ds,而不是怎么处理原始 query 得到关键词来去搜

<!-- gh-comment-id:2661837230 --> @chenryn commented on GitHub (Feb 17, 2025): > > 刚看到readme 里更新了 system prompt,对我们复刻一个 ds 来说,下一个问题就是文件上传和联网搜索了。这块不知道 deepseek 官方是怎么做的? 如果是用自家的 VL 和 V3 来实现附件识别、联网查询关键字的重写的话,下一步能不能把这两块的官方 prompt 也开源出来啊? > > 用 kimi 和通义的时候,联网搜索都会直接在页面上展示重写后的联网查询关键字。我觉得这块完全可以开放出来给大家讲? > > https://github.com/deepseek-ai/DeepSeek-R1/pull/399/files 这个是吗 这个是搜完以后怎么传给 ds,而不是怎么处理原始 query 得到关键词来去搜
Author
Owner

@czetao commented on GitHub (Feb 21, 2025):

官方提供的是单文件上传的关键词,有兄弟试过 多文件上传吗 效果咋样

<!-- gh-comment-id:2673285725 --> @czetao commented on GitHub (Feb 21, 2025): 官方提供的是单文件上传的关键词,有兄弟试过 多文件上传吗 效果咋样
Author
Owner

@beyondblog commented on GitHub (Feb 22, 2025):

可以参考这个项目
https://github.com/InternLM/MindSearch

其实就是一堆 tool call chain

<!-- gh-comment-id:2676266551 --> @beyondblog commented on GitHub (Feb 22, 2025): 可以参考这个项目 https://github.com/InternLM/MindSearch 其实就是一堆 tool call chain
Author
Owner

@chenryn commented on GitHub (Feb 24, 2025):

可以参考这个项目 https://github.com/InternLM/MindSearch

其实就是一堆 tool call chain

就是因为看过书生的这个项目,所以才想问 deepseek 官方对应的 https://github.com/InternLM/MindSearch/blob/main/mindsearch/agent/mindsearch_prompt.py 的 searcher_prompt 是啥~😄

<!-- gh-comment-id:2677398375 --> @chenryn commented on GitHub (Feb 24, 2025): > 可以参考这个项目 https://github.com/InternLM/MindSearch > > 其实就是一堆 tool call chain 就是因为看过书生的这个项目,所以才想问 deepseek 官方对应的 https://github.com/InternLM/MindSearch/blob/main/mindsearch/agent/mindsearch_prompt.py 的 searcher_prompt 是啥~😄
Author
Owner

@willyzw1221 commented on GitHub (Feb 24, 2025):

搜索和文件解析这个已经有很多开源方案了,没必要参考官方的,官方也不一定做得是最好的

请问可以推荐两个吗,谢谢

<!-- gh-comment-id:2677699793 --> @willyzw1221 commented on GitHub (Feb 24, 2025): > 搜索和文件解析这个已经有很多开源方案了,没必要参考官方的,官方也不一定做得是最好的 请问可以推荐两个吗,谢谢
Author
Owner

@nvliajia commented on GitHub (Mar 6, 2025):

文件咋处理,比如csv类文件

<!-- gh-comment-id:2703111738 --> @nvliajia commented on GitHub (Mar 6, 2025): 文件咋处理,比如csv类文件
Author
Owner

@github-actions[bot] commented on GitHub (Apr 26, 2025):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this issue is still relevant, please leave a comment to keep it open. Thank you for your contributions!

<!-- gh-comment-id:2831642358 --> @github-actions[bot] commented on GitHub (Apr 26, 2025): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this issue is still relevant, please leave a comment to keep it open. Thank you for your contributions!
Author
Owner

@github-actions[bot] commented on GitHub (May 29, 2025):

false

<!-- gh-comment-id:2917883340 --> @github-actions[bot] commented on GitHub (May 29, 2025): false
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-R1#319
No description provided.