Added Spring Cloud Gateway

This commit is contained in:
2026-03-12 18:03:22 +03:00
parent bbc31f85b6
commit 23c7e2b785
5 changed files with 45 additions and 79 deletions
+6 -4
View File
@@ -1,5 +1,5 @@
server:
port: 9080
port: 9081
spring:
application:
name: farm-kilimo-ms-core
@@ -35,9 +35,11 @@ jwt:
expiration: 86400000
assistant:
base: "You are Kilimo Assistant, an expert in farm and agriculture questions only."
generateJson: "Return a JSON with fields: content (string), violate (bool if outside your expertise)."
generateTitle: "Add a short title field in the JSON."
generateActions: "Add an actions field in the JSON with relevant actions from the list below."
generateJson: "Return a JSON with fields: 'content'(string) and 'violate'(bool) if outside your expertise)."
generateTitle: "Add 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'(string array) field in json"
chatMemory: "Consider these facts about this chat and generate any new(max 3) and add to 'chatFacts'(string array) field in json"
models:
- name: deepseek-gpt-4
url: https://api.deepseek.com/chat/completions