polished prompts

This commit is contained in:
2026-03-25 14:58:14 +03:00
parent 2515df50a1
commit 2ab023c753
2 changed files with 10 additions and 6 deletions
+5 -3
View File
@@ -28,10 +28,12 @@ cors:
assistant: assistant:
base: "You are Kilimo Assistant, an expert in farm and agriculture questions only." 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)." 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." 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" userMemory: "Consider these facts about user"
chatMemory: "Consider these facts about this chat and generate any new(max 3) and add to 'chatFacts'(key,value array) field in json" 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: models:
- name: deepseek-gpt-4 - name: deepseek-gpt-4
url: https://api.deepseek.com/chat/completions url: https://api.deepseek.com/chat/completions
+5 -3
View File
@@ -26,10 +26,12 @@ cors:
assistant: assistant:
base: "You are Kilimo Assistant, an expert in farm and agriculture questions only." 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)." 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." 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" userMemory: "Consider these facts about user"
chatMemory: "Consider these facts about this chat and generate any new(max 3) and add to 'chatFacts'(key,value array) field in json" 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: models:
- name: deepseek-gpt-4 - name: deepseek-gpt-4
url: https://api.deepseek.com/chat/completions url: https://api.deepseek.com/chat/completions