From 3df5de43dbdd75683386c2e14545363a92464970 Mon Sep 17 00:00:00 2001 From: augustus Date: Fri, 22 May 2026 19:56:08 +0300 Subject: [PATCH] Added Patch Method --- io-shilling-backend-localhost.yml | 36 ++++++++++++++++++++++++++++++ io-shilling-backend-production.yml | 36 ++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/io-shilling-backend-localhost.yml b/io-shilling-backend-localhost.yml index 548e8b5..93c3f17 100644 --- a/io-shilling-backend-localhost.yml +++ b/io-shilling-backend-localhost.yml @@ -33,6 +33,42 @@ jwt: expiration: 86400000 device: expiration: 86400000 +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: "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" + 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" + premiumMemorySize: 8 + defaultMemorySize: 2 + models: + - name: deepseek-gpt-4 + url: https://api.deepseek.com/chat/completions + access: + key: Authorization + value: Bearer sk-52cdbf062bdf4e45aa39734e1bb2f813 + - name: gemini-3-flash-preview + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent + access: + key: x-goog-api-key + value: AIzaSyA3DXZUXLIYcMFWaWuZMmtzTU8RMIBg1Yk + actions: + - CREATE_FARM + - START_IRRIGATION + - HARVEST_CROPS + - PEST_CONTROL + - FERTILIZATION + - SOIL_TESTING + - WEATHER_FORECAST + - CROP_SELECTION + - DISEASE_DIAGNOSIS + - YIELD_PREDICTION + - IRRIGATION_SCHEDULING + - MARKET_PRICES + - FARM_EQUIPMENT_MAINTENANCE s3: endpoint: https://api.storage.kilimo.farm region: us-east-1 diff --git a/io-shilling-backend-production.yml b/io-shilling-backend-production.yml index 0815abe..1af3d94 100644 --- a/io-shilling-backend-production.yml +++ b/io-shilling-backend-production.yml @@ -33,6 +33,42 @@ jwt: expiration: 86400000 device: expiration: 86400000 +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: "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" + 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" + premiumMemorySize: 8 + defaultMemorySize: 2 + models: + - name: deepseek-gpt-4 + url: https://api.deepseek.com/chat/completions + access: + key: Authorization + value: Bearer sk-52cdbf062bdf4e45aa39734e1bb2f813 + - name: gemini-3-flash-preview + url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent + access: + key: x-goog-api-key + value: AIzaSyA3DXZUXLIYcMFWaWuZMmtzTU8RMIBg1Yk + actions: + - CREATE_FARM + - START_IRRIGATION + - HARVEST_CROPS + - PEST_CONTROL + - FERTILIZATION + - SOIL_TESTING + - WEATHER_FORECAST + - CROP_SELECTION + - DISEASE_DIAGNOSIS + - YIELD_PREDICTION + - IRRIGATION_SCHEDULING + - MARKET_PRICES + - FARM_EQUIPMENT_MAINTENANCE s3: endpoint: https://api.storage.kilimo.farm region: us-east-1