Updated gateway

This commit is contained in:
2026-03-13 13:35:07 +03:00
parent 64b1f55f98
commit e0e10c5298
6 changed files with 28 additions and 114 deletions
+4 -19
View File
@@ -2,7 +2,7 @@ server:
port: 9082
spring:
application:
name: farm-kilimo-ms-core
name: farm-kilimo-ms-assistant
data:
redis:
host: localhost
@@ -23,16 +23,8 @@ logging:
cors:
allowed-origins:
- http://localhost:9080
jwt:
secret: U7R7yI7oF5wI5Of5qTnS83uWhhRr9mY8ftkbvEtN/fc=
access:
expiration: 900000
refresh:
expiration: 604800000
verification:
expiration: 86400000
device:
expiration: 86400000
- http://localhost:9081
- 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)."
@@ -64,11 +56,4 @@ assistant:
- YIELD_PREDICTION
- IRRIGATION_SCHEDULING
- MARKET_PRICES
- FARM_EQUIPMENT_MAINTENANCE
s3:
endpoint: https://api.storage.kilimo.farm
region: us-east-1
access-key: IUHVNy34p8vTuZFKLgqt
secret-key: EuFLjhJ6ivytNdIADwmx29PORCKYaBglUS1c7ZXp
bucket-name: kilimo
file-expiry: 1
- FARM_EQUIPMENT_MAINTENANCE