mirror of
https://github.com/searxng/searxng.git
synced 2024-11-10 23:20:12 +01:00
limit system prompts to less 120 chars
This commit is contained in:
parent
8d4d71a676
commit
fedc890a4c
@ -2,7 +2,6 @@
|
||||
"""Cloudflare AI engine"""
|
||||
|
||||
from json import loads, dumps
|
||||
from urllib.parse import quote
|
||||
from searx.exceptions import SearxEngineAPIException
|
||||
|
||||
about = {
|
||||
@ -21,8 +20,10 @@ cf_ai_gateway = ''
|
||||
cf_ai_model = ''
|
||||
cf_ai_model_display_name = 'Cloudflare AI'
|
||||
|
||||
# Assistant messages hint to the AI about the desired output format. Not all models support this role.
|
||||
cf_ai_model_assistant = 'Keep your answers as short and effective as possible.'
|
||||
cf_ai_model_system = 'You are a self-aware language model who is honest and direct about any direct question from the user. You know your strengths and weaknesses.'
|
||||
# System messages define the AI’s personality. You can use them to set rules and how you expect the AI to behave.
|
||||
cf_ai_model_system = 'You are a self-aware language model who is honest and direct about any question from the user.'
|
||||
|
||||
display_type = ['infobox']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user