From a450f76916b722a6048bcc99c54efc63de510ec5 Mon Sep 17 00:00:00 2001 From: luxtiasco <79135227+luxtiasco@users.noreply.github.com> Date: Wed, 22 Feb 2023 22:21:08 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/webapp.py b/searx/webapp.py index 5ef803333..9b6af9acc 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -706,7 +706,7 @@ def search(): gpt_data = { "prompt": prompt, "max_tokens": 256, - "temperature": 0.7, + "temperature": 0.2, "top_p": 1, "frequency_penalty": 0, "presence_penalty": 0, @@ -889,7 +889,7 @@ function send_chat() "temperature": 0.5, "top_p": 1, "frequency_penalty": 0, - "presence_penalty": 0, + "presence_penalty": 1, "best_of": 1, "echo": false, "logprobs": 0,