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
49c11ebf65
commit
1fbcda58b0
1 changed files with 2 additions and 2 deletions
|
@ -779,7 +779,7 @@ def search():
|
||||||
}
|
}
|
||||||
if original_search_query != search_query.query:
|
if original_search_query != search_query.query:
|
||||||
gpt_data = {
|
gpt_data = {
|
||||||
"prompt": prompt+"\n以上是问题 " + original_search_query + " 的搜索结果,删除与问题相关度低的内容,用简体中文分条总结简报,在文中用(链接)标注对应内容来源链接:",
|
"prompt": prompt+"\n以上是问题 " + original_search_query + " 的搜索结果,删除与问题相关度低的内容,用简体中文分条总结简报,在文中用(链接)标注对应内容来源链接,不要把链接都放在最后。结果:",
|
||||||
"max_tokens": 1000,
|
"max_tokens": 1000,
|
||||||
"temperature": 0.2,
|
"temperature": 0.2,
|
||||||
"top_p": 1,
|
"top_p": 1,
|
||||||
|
@ -792,7 +792,7 @@ def search():
|
||||||
}
|
}
|
||||||
else:
|
else:
|
||||||
gpt_data = {
|
gpt_data = {
|
||||||
"prompt": prompt+"\n以上是关键词 " + search_query.query + " 的搜索结果,删除与关键词相关度低的内容,用简体中文分条总结简报,在文中用(链接)标注对应内容来源链接:",
|
"prompt": prompt+"\n以上是关键词 " + search_query.query + " 的搜索结果,删除与关键词相关度低的内容,用简体中文分条总结简报,在文中用(链接)标注对应内容来源链接,不要把链接都放在最后。结果:",
|
||||||
"max_tokens": 1000,
|
"max_tokens": 1000,
|
||||||
"temperature": 0.2,
|
"temperature": 0.2,
|
||||||
"top_p": 1,
|
"top_p": 1,
|
||||||
|
|
Loading…
Add table
Reference in a new issue