From c6ed18565bb7622f91010005fef30795afac2caf Mon Sep 17 00:00:00 2001 From: luxtiasco <79135227+luxtiasco@users.noreply.github.com> Date: Wed, 22 Feb 2023 17:15:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20webapp.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- searx/webapp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/searx/webapp.py b/searx/webapp.py index 69bbeed21..5ef803333 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -775,7 +775,7 @@ def search(): gpt_data = { "prompt": prompt+"\n以上是问题 " + original_search_query + " 的搜索结果,删除与问题相关度低的内容,用简体中文分条总结简报,在文中用(链接)标注对应内容来源链接:", "max_tokens": 1000, - "temperature": 0.7, + "temperature": 0.2, "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, @@ -788,7 +788,7 @@ def search(): gpt_data = { "prompt": prompt+"\n以上是关键词 " + search_query.query + " 的搜索结果,删除与关键词相关度低的内容,用简体中文分条总结简报,在文中用(链接)标注对应内容来源链接:", "max_tokens": 1000, - "temperature": 0.7, + "temperature": 0.2, "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, @@ -886,7 +886,7 @@ function send_chat() body: JSON.stringify({ "prompt": prompt, "max_tokens": 1000, - "temperature": 0.7, + "temperature": 0.5, "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0,