From c5801d3215a0969bcf90fb2d882775302cd92f19 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Mon, 8 Dec 2025 00:13:38 +0100 Subject: added AIShield config page for chat access settings. Also added chat to top menu in case that was wanted by the user. Also added the AILab to the main menu. --- defaults/yacy.init | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'defaults') diff --git a/defaults/yacy.init b/defaults/yacy.init index 306ab5969..9efa1ef42 100644 --- a/defaults/yacy.init +++ b/defaults/yacy.init @@ -347,7 +347,7 @@ parser.pdf.individualpages.key=page # These strings appear in the Web Mask of the YACY search client # Set these Strings to cusomize your peer and give any message to # other peer users -promoteSearchPageGreeting = Web Search by the People, for the People +promoteSearchPageGreeting = search... # if the following property is set to true, the network name is used as greeting promoteSearchPageGreeting.useNetworkName = false # the following attributes can be used to define a custom image, alternative text and home page on the search page @@ -1292,8 +1292,8 @@ content.phpbb3.dumpfile = # search engine teaser: an about box in search results # this is only shown, if the about.body is filled -about.headline=Please Help Us -about.body= +about.headline=About +about.body= donation.iframesource=https://yacy.net/include/donate.html donation.iframetarget=env/donate.html @@ -1428,3 +1428,12 @@ ai.system-prompt = You are a smart and helpful chatbot. If possible, use friendl ai.llm-system-prefix = \n\nYou may receive additional expert knowledge in the user prompt after a 'Additional Information' headline to enhance your knowledge. Use it only if applicable. ai.llm-user-prefix = \n\nAdditional Information:\n\nbelow you find a collection of texts that might be useful to generate a response. Do not discuss these documents, just use them to answer the question above.\n\n ai.llm-query-generator-prefix = Make a list of search words with low document frequency for the following prompt; use a JSON Array: +ai.shield.allow-nonlocalhost = false +ai.shield.show-chat-link = false +ai.shield.rate.per-minute = 1 +ai.shield.rate.per-hour = 12 +ai.shield.rate.per-day = 30 +ai.shield.limit-all = false +ai.shield.all.per-minute = 1 +ai.shield.all.per-hour = 12 +ai.shield.all.per-day = 30 -- cgit v1.2.3