Open Liangpi000 opened 18 hours ago
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
🥰 Description of requirements
Tongyi Qianwen model call supports the online search function, but it needs to be configured in the request. I hope that Lobe can add a switch, and when turned on, it can enable Tongyi Qianwen's Internet search function.
I hope that Lobe can add a switch, and when turned on, it can enable Tongyi Qianwen's Internet search function.
curl -X POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions \ -H "Authorization: Bearer $DASHSCOPE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "qwen-plus", "messages": [ { "role": "system", "content": "You are a helpful assistant." }, { "role": "user", "content": "How many gold medals did the Chinese team win at the Paris Olympics?" } ], "enable_search": true }'
No response
👀 @Liangpi000
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
🥰 需求描述
通义千问模型调用支持联网搜索功能,不过需要在请求中配置。希望lobe能增加一个开关,打开后能启用通义千问的联网搜索功能。
🧐 解决方案
希望lobe能增加一个开关,打开后能启用通义千问的联网搜索功能。
📝 补充信息
No response