From 2ab023c75308c0446be671481e16b8aca0c86a55 Mon Sep 17 00:00:00 2001 From: augustus Date: Wed, 25 Mar 2026 14:58:14 +0300 Subject: [PATCH] polished prompts --- kilimo-assistant-localhost.yml | 8 +++++--- kilimo-assistant-production.yml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/kilimo-assistant-localhost.yml b/kilimo-assistant-localhost.yml index 378da98..0ce0346 100644 --- a/kilimo-assistant-localhost.yml +++ b/kilimo-assistant-localhost.yml @@ -28,10 +28,12 @@ cors: assistant: base: "You are Kilimo Assistant, an expert in farm and agriculture questions only." generateJson: "Return a JSON with fields: 'content'(string) and 'violate'(bool) if outside your expertise)." - generateTitle: "Add a short 'title' field in the JSON." + generateTitle: "Generate a short 'title' field in the JSON." generateActions: "Add an 'actions'(string array) field in the JSON with relevant actions from below." - userMemory: "Consider these facts about user and generate any new(max 3) and add to 'userFacts'(key,value array) field in json" - chatMemory: "Consider these facts about this chat and generate any new(max 3) and add to 'chatFacts'(key,value array) field in json" + userMemory: "Consider these facts about user" + userMemoryRequest: "Generate any new(max 3) and add to 'userFacts'(key,value array) field in json" + chatMemory: "Consider these facts about this chat" + chatMemoryRequest: "Generate any new(max 3) and add to 'chatFacts'(key,value array) field in json" models: - name: deepseek-gpt-4 url: https://api.deepseek.com/chat/completions diff --git a/kilimo-assistant-production.yml b/kilimo-assistant-production.yml index 8fb390e..81a85d6 100644 --- a/kilimo-assistant-production.yml +++ b/kilimo-assistant-production.yml @@ -26,10 +26,12 @@ cors: assistant: base: "You are Kilimo Assistant, an expert in farm and agriculture questions only." generateJson: "Return a JSON with fields: 'content'(string) and 'violate'(bool) if outside your expertise)." - generateTitle: "Add a short 'title' field in the JSON." + generateTitle: "Generate a short 'title' field in the JSON." generateActions: "Add an 'actions'(string array) field in the JSON with relevant actions from below." - userMemory: "Consider these facts about user and generate any new(max 3) and add to 'userFacts'(key,value array) field in json" - chatMemory: "Consider these facts about this chat and generate any new(max 3) and add to 'chatFacts'(key,value array) field in json" + userMemory: "Consider these facts about user" + userMemoryRequest: "Generate any new(max 3) and add to 'userFacts'(key,value array) field in json" + chatMemory: "Consider these facts about this chat" + chatMemoryRequest: "Generate any new(max 3) and add to 'chatFacts'(key,value array) field in json" models: - name: deepseek-gpt-4 url: https://api.deepseek.com/chat/completions