Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] 希望deepseek-R1支持联网搜索能力 #5921

Closed
startLight2019 opened this issue Feb 9, 2025 · 15 comments · Fixed by #6842
Closed

[Request] 希望deepseek-R1支持联网搜索能力 #5921

startLight2019 opened this issue Feb 9, 2025 · 15 comments · Fixed by #6842
Labels
🌠 Feature Request New feature or request | 特性与建议 Search 联网/搜索

Comments

@startLight2019
Copy link

🥰 需求描述

希望deepseek-R1支持联网搜索能力

🧐 解决方案

通过插件或者其他方式支持deepseek-R1的联网搜索能力

📝 补充信息

No response

@startLight2019 startLight2019 added the 🌠 Feature Request New feature or request | 特性与建议 label Feb 9, 2025
@lobehubbot
Copy link
Member

👀 @startLight2019

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Requirement description

Hope deepseek-R1 supports network search capabilities

🧐 Solution

Support deepseek-R1's network search capabilities through plug-ins or other methods

📝 Supplementary information

No response

@Alencryenfo
Copy link

Alencryenfo commented Feb 9, 2025

DeepSeek 插件调用不稳定,可能需要官方提供支持

对模型进行优化等

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The DeepSeek plug-in call is unstable and may require official support.

@aquanow-jeffen
Copy link

Oenrouter 官方的chatUI提供了联网搜索的功能,我有看到在reasoning的过程中有调用,很好用。感觉可以看一下他们怎么实现的。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Oenrouter's official chatUI provides the function of network search. I have seen calls during reasoning, which is very useful. I feel like you can see how they achieved it.

@arvinxx arvinxx added the Search 联网/搜索 label Feb 12, 2025
@X-Zero-L
Copy link

Oenrouter 官方的chatUI提供了联网搜索的功能,我有看到在reasoning的过程中有调用,很好用。感觉可以看一下他们怎么实现的。

搜索一般有两种实现,一种就是给模型一个工具,这种就需要模型有工具调用的能力,r1的api我记得是不支持的。另一种就是给一个选项,如果启用搜索就调用相关函数得到搜索结果,然后注入模型的上文,这种会比较通用,不需要模型有工具调用的能力

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Oenrouter The official chatUI provides the function of network search. I have seen calls during reasoning, which is very useful. I feel like you can see how they achieved it.

There are generally two implementations for search. One is to give the model a tool. This requires the model to have the ability to call the tool. I remember that the r1 API is not supported. Another option is to give an option. If search is enabled, call the relevant functions to get the search results, and then inject the above text of the model. This will be more general and does not require the model to have the ability to call the tool.

@AirboZH
Copy link

AirboZH commented Feb 14, 2025

搜索一般有两种实现,一种就是给模型一个工具,这种就需要模型有工具调用的能力,r1的api我记得是不支持的。另一种就是给一个选项,如果启用搜索就调用相关函数得到搜索结果,然后注入模型的上文,这种会比较通用,不需要模型有工具调用的能力

Deepseek 官方 App 的联网搜索好像也不是 第一种函数调用的方式吧,

第二种 搜索 + 注入上下文 感觉可以做成一个通用的能力,包括了服务端搜索请求和客户端搜索请求,也可以选择搜索内容的参考 token 数和总结模型,是否总结等等。
可以做到助手的一个配置当中,其他模型都可以调用。

想问一些 lobe 官方对搜索这方面有什么计划。 @arvinxx

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


There are generally two implementations of search. One is to give the model a tool. This requires the model to have the ability to call the tool. I remember that the r1 API is not supported. Another option is to give an option. If search is enabled, call the relevant functions to get the search results, and then inject the above text of the model. This will be more general and does not require the model to have the ability to call the tool.

The Internet search of Deepseek official app does not seem to be the first way to call function.

The second type of search + injecting context feels that it can be made into a general capability, including server search requests and client search requests, or you can also choose the number of reference tokens and summary models for search content, whether to summarize, etc.
It can be used in one configuration of the assistant, and other models can be used.

I would like to ask some of the official plans for searching. @arvinxx

@Wool-yang
Copy link

我看前段时间 https://github.com/[deepseek-ai/DeepSeek-R1](https://github.com/deepseek-ai/DeepSeek-R1)
里面的 Official Prompts 已经把联网搜索注入上下文的方式给出来了,希望官方参考一下加入lobe

@INoDeBug
Copy link

INoDeBug commented Mar 7, 2025

大家 使用联网搜索的功能也是通过在环境变量中添加 SearXNG_url 实现的吗

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Is it also possible for everyone to use the Internet search function by adding SearXNG_url to the environment variables?

@arvinxx
Copy link
Contributor

arvinxx commented Mar 9, 2025

supported in 1.70.0

@arvinxx arvinxx closed this as completed Mar 9, 2025
@lobehubbot
Copy link
Member

@startLight2019

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌠 Feature Request New feature or request | 特性与建议 Search 联网/搜索
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants