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,6 @@ logging:
|
||||
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)."
|
||||
@@ -64,11 +54,4 @@ assistant:
|
||||
- YIELD_PREDICTION
|
||||
- IRRIGATION_SCHEDULING
|
||||
- MARKET_PRICES
|
||||
- FARM_EQUIPMENT_MAINTENANCE
|
||||
s3:
|
||||
endpoint: http://localhost:9000
|
||||
region: us-east-1
|
||||
access-key: drwRB7Lb0CIlq3tySFXU
|
||||
secret-key: ePchq5VQtlW7UsKX3fRzNE4wDTpmCJIHLFS1O8ov
|
||||
bucket-name: kilimo
|
||||
file-expiry: 3
|
||||
- FARM_EQUIPMENT_MAINTENANCE
|
||||
Reference in New Issue
Block a user