更新api的记忆功能

This commit is contained in:
GuanYuankai 2025-04-22 10:44:59 +08:00
parent 468b3116cd
commit 122033131b
1 changed files with 3 additions and 2 deletions

View File

@ -122,11 +122,12 @@ def zhipu_search(text, config, top_k):
"Content-Type": "application/json"
}
payload = {
"search_engine": "search_std", # 指定Web搜索专用模型
"search_query": "哪吒2票房"
"search_engine": "Search-Pro", # 指定Web搜索专用模型
"search_query": text
}
response = requests.post(endpoint, headers=headers, json=payload)
result = response.json()
print(f"================!! result: {result}")
return result