Updated gateway
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user