Compare commits

..

10 Commits

Author SHA1 Message Date
augustusmutinda16 86d61d79d6 Added Patch Method 2026-05-23 21:20:42 +03:00
augustusmutinda16 3df5de43db Added Patch Method 2026-05-22 19:56:08 +03:00
augustusmutinda16 2172be7446 Added Patch Method 2026-05-22 19:48:49 +03:00
augustusmutinda16 7f59b796d8 Added Patch Method 2026-05-03 11:55:25 +03:00
augustusmutinda16 e5cd05857b Added fitness-vitals configs 2026-04-10 12:15:37 +03:00
augustusmutinda16 d99c5fb1fa polished prompts 2026-03-25 17:29:47 +03:00
augustusmutinda16 782b604ee8 polished prompts 2026-03-25 15:23:42 +03:00
augustusmutinda16 2ab023c753 polished prompts 2026-03-25 14:58:14 +03:00
augustusmutinda16 2515df50a1 Updated Kilimo S3 Keys 2026-03-25 13:32:33 +03:00
augustusmutinda16 0c73b84d3b Updated Kilimo S3 Keys 2026-03-25 12:19:25 +03:00
9 changed files with 264 additions and 14 deletions
+44
View File
@@ -0,0 +1,44 @@
server:
port: 9080
spring:
application:
name: fitness-vitals
data:
redis:
host: localhost
port: 6379
datasource:
url: jdbc:postgresql://localhost:5432/vitals
username: root
password: password
driver-class-name: org.postgresql.Driver
jpa:
show-sql: false
hibernate:
ddl-auto: update
database-platform: org.hibernate.dialect.PostgreSQLDialect
logging:
pattern:
console: "%d{HH:mm:ss.SSS} [%X{requestId}] %-5level %logger{36} - %msg%n"
cors:
allowed-origins:
- http://localhost:9080
- http://localhost:9081
- http://localhost:9082
jwt:
secret: U7R7yI7oF5wI5Of5qTnS83uWhhRr9mY8ftkbvEtN/fc=
access:
expiration: 900000
refresh:
expiration: 604800000
verification:
expiration: 86400000
device:
expiration: 86400000
s3:
endpoint: https://api.storage.kilimo.farm
region: us-east-1
access-key: tbSuDwtmr1SOUd2uwWxi
secret-key: QAmtiJKYdrIeKmDSMPuYi4IYDgh7m0NPVR3yTQrI
bucket-name: kilimo
file-expiry: 1
+42
View File
@@ -0,0 +1,42 @@
server:
port: 9080
spring:
application:
name: fitness-vitals
data:
redis:
host: localhost
port: 6379
datasource:
url: jdbc:postgresql://127.0.0.1:5432/vitals
username: apiuser
password: 4hKiOnTqbP2kLwR
driver-class-name: org.postgresql.Driver
jpa:
show-sql: false
hibernate:
ddl-auto: update
database-platform: org.hibernate.dialect.PostgreSQLDialect
logging:
pattern:
console: "%d{HH:mm:ss.SSS} [%X{requestId}] %-5level %logger{36} - %msg%n"
cors:
allowed-origins:
- https://zp1v56uxy8rdx5ypatb0ockcb9tr6a-oci3-m1d8v647--5173--96435430.local-credentialless.webcontainer-api.io/
jwt:
secret: U7R7yI7oF5wI5Of5qTnS83uWhhRr9mY8ftkbvEtN/fc=
access:
expiration: 900000
refresh:
expiration: 604800000
verification:
expiration: 86400000
device:
expiration: 86400000
s3:
endpoint: https://api.storage.kilimo.farm
region: us-east-1
access-key: FVNLhRSDpO0huRX2WeCc
secret-key: fbtEZTZaMFwB1LLMBrbsxHTbN4oFIqwYCSfBHVCF
bucket-name: kilimo
file-expiry: 3
+78
View File
@@ -0,0 +1,78 @@
server:
port: 9088
spring:
application:
name: io-shilling-backend
data:
redis:
host: localhost
port: 6379
datasource:
url: jdbc:postgresql://localhost:5432/shilling
username: root
password: password
driver-class-name: org.postgresql.Driver
jpa:
show-sql: false
hibernate:
ddl-auto: update
database-platform: org.hibernate.dialect.PostgreSQLDialect
logging:
pattern:
console: "%d{HH:mm:ss.SSS} [%X{requestId}] %-5level %logger{36} - %msg%n"
cors:
allowed-origins:
- http://localhost:9089
jwt:
secret: U7R7yI7oF5wI5Of5qTnS83uWhhRr9mY8ftkbvEtN/fc=
access:
expiration: 900000
refresh:
expiration: 604800000
verification:
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
access-key: tbSuDwtmr1SOUd2uwWxi
secret-key: QAmtiJKYdrIeKmDSMPuYi4IYDgh7m0NPVR3yTQrI
bucket-name: shilling
file-expiry: 1
+78
View File
@@ -0,0 +1,78 @@
server:
port: 9088
spring:
application:
name: io-shilling-backend
data:
redis:
host: localhost
port: 6379
datasource:
url: jdbc:postgresql://127.0.0.1:5432/shilling
username: apiuser
password: 4hKiOnTqbP2kLwR
driver-class-name: org.postgresql.Driver
jpa:
show-sql: false
hibernate:
ddl-auto: update
database-platform: org.hibernate.dialect.PostgreSQLDialect
logging:
pattern:
console: "%d{HH:mm:ss.SSS} [%X{requestId}] %-5level %logger{36} - %msg%n"
cors:
allowed-origins:
- https://zp1v56uxy8rdx5ypatb0ockcb9tr6a-oci3-m1d8v647--5173--96435430.local-credentialless.webcontainer-api.io/
jwt:
secret: U7R7yI7oF5wI5Of5qTnS83uWhhRr9mY8ftkbvEtN/fc=
access:
expiration: 900000
refresh:
expiration: 604800000
verification:
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
access-key: FVNLhRSDpO0huRX2WeCc
secret-key: fbtEZTZaMFwB1LLMBrbsxHTbN4oFIqwYCSfBHVCF
bucket-name: shilling
file-expiry: 3
+9 -5
View File
@@ -27,11 +27,15 @@ cors:
- http://localhost:9082
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."
userMemory: "Consider these facts about user and generate any new(max 3) and add to 'userFacts' field in json"
chatMemory: "Consider these facts about this chat and generate any new(max 3) and add to 'chatFacts' field in json"
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
+8 -4
View File
@@ -26,10 +26,14 @@ 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'(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"
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
@@ -40,7 +44,7 @@ assistant:
url: https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash:generateContent
access:
key: x-goog-api-key
value: AIzaSyA3DXZUXLIYcMFWaWuZMmtzTU8RMIBg1Yk
value: AIzaSyAwJkHiTcxvWvU34UyJ3FvI6QdRtO9J85Q
actions:
- CREATE_FARM
- START_IRRIGATION
+2 -2
View File
@@ -33,7 +33,7 @@ spring:
uri: http://localhost:9081
predicates:
- Path=/core/**
- Method=GET,POST,PUT,DELETE,OPTIONS
- Method=GET,POST,PUT,DELETE,OPTIONS,PATCH
filters:
- RewritePath=/core/(?<path>.*), /$\{path}
- name: AuthFilter
@@ -47,7 +47,7 @@ spring:
uri: http://localhost:9082
predicates:
- Path=/assistant/**
- Method=GET,POST,PUT,DELETE,OPTIONS
- Method=GET,POST,PUT,DELETE,OPTIONS,PATCH
filters:
- RewritePath=/assistant/(?<segment>.*), /${segment}
- name: AuthFilter
+2 -2
View File
@@ -33,7 +33,7 @@ spring:
uri: http://localhost:9081
predicates:
- Path=/core/**
- Method=GET,POST,PUT,DELETE,OPTIONS
- Method=GET,POST,PUT,DELETE,OPTIONS,PATCH
filters:
- RewritePath=/core/(?<path>.*), /$\{path}
- name: AuthFilter
@@ -47,7 +47,7 @@ spring:
uri: http://localhost:9082
predicates:
- Path=/assistant/**
- Method=GET,POST,PUT,DELETE,OPTIONS
- Method=GET,POST,PUT,DELETE,OPTIONS,PATCH
filters:
- RewritePath=/assistant/(?<segment>.*), /${segment}
- name: AuthFilter
+1 -1
View File
@@ -34,7 +34,7 @@ jwt:
device:
expiration: 86400000
s3:
endpoint: http://localhost:9000
endpoint: https://api.storage.kilimo.farm
region: us-east-1
access-key: FVNLhRSDpO0huRX2WeCc
secret-key: fbtEZTZaMFwB1LLMBrbsxHTbN4oFIqwYCSfBHVCF