We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前的智谱AI模型没加上联网选项
加上智谱AI联网选项,参考如下:
if (model == "glm-4-alltools"): tools = [{ "type": "web_browser" }] else: tools = [{ "type": "web_search", "web_search": { "enable": True, "search_result":True } }]
参考:https://open.bigmodel.cn/dev/api/normal-model/glm-4
glm-4和glm-4-alltools的参数不一样,然后智谱AI的联网不是强制性生效,而是根据你问的问题选择性生效。可以通过问“小米15 ultra配置信息” 等类似的引导问题来测试
No response
The text was updated successfully, but these errors were encountered:
感谢提供文档,后面加上
Sorry, something went wrong.
feat: enable web search for zhipu ai provider #657
a70e69c
feat: enable web search for zhipu ai provider CherryHQ#657
9ef4d4d
kangfenmao
No branches or pull requests
Is your feature request related to a problem?
目前的智谱AI模型没加上联网选项
Describe the solution you'd like
加上智谱AI联网选项,参考如下:
参考:https://open.bigmodel.cn/dev/api/normal-model/glm-4
glm-4和glm-4-alltools的参数不一样,然后智谱AI的联网不是强制性生效,而是根据你问的问题选择性生效。可以通过问“小米15 ultra配置信息” 等类似的引导问题来测试
Describe alternatives you've considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: