mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
Update webapp.py
This commit is contained in:
parent
5059a1ae1e
commit
a24c01a5ad
1 changed files with 1 additions and 1 deletions
|
@ -1069,7 +1069,7 @@ fetch("https://api.openai.com/v1/engines/text-davinci-003/completions", optionsI
|
|||
method: "POST",
|
||||
headers: headers,
|
||||
body: JSON.stringify({
|
||||
"prompt": "围绕关键词 ''' + search_query.query + r''',结合你的知识总结归纳发表评论,不得重复提及已有内容:\n" + document.querySelector("#chat > p").innerHTML.replace(/<.*?>.*?<\/.*?>/g, '') +"\n",
|
||||
"prompt": "围绕关键词 ''' + search_query.query + r''',结合你的知识总结归纳发表评论,可以用emoji,不得重复提及已有内容:\n" + document.querySelector("#chat > p").innerHTML.replace(/<.*?>.*?<\/.*?>/g, '') +"\n",
|
||||
"max_tokens": 1500,
|
||||
"temperature": 0.7,
|
||||
"top_p": 1,
|
||||
|
|
Loading…
Add table
Reference in a new issue