Compare commits
27 Commits
1e76d604c9
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
| f7658b967a | |||
| 8775579d92 | |||
| 93970c05b8 | |||
| 8ec09f2617 | |||
| 76e7199138 | |||
| f9c1b023b9 | |||
| a19244c4b9 | |||
| cfb75ebb71 | |||
| c96f404368 | |||
| 90a56946bd | |||
| 619e412057 | |||
| 129924485e | |||
| a91195149e | |||
| 9ec8af1363 | |||
| e61a04c395 | |||
| bcffd0d74b | |||
| 44bb677324 | |||
| 86d61d79d6 | |||
| 3df5de43db | |||
| 2172be7446 | |||
| 7f59b796d8 | |||
| e5cd05857b | |||
| d99c5fb1fa | |||
| 782b604ee8 | |||
| 2ab023c753 | |||
| 2515df50a1 | |||
| 0c73b84d3b |
@@ -0,0 +1,42 @@
|
||||
server:
|
||||
port: 9088
|
||||
spring:
|
||||
application:
|
||||
name: com-imaray-ms-core
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
datasource:
|
||||
url: jdbc:postgresql://localhost:5432/imaray_core
|
||||
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
|
||||
s3:
|
||||
endpoint: https://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: NlhGzbXaIO1Cw2op9pZW
|
||||
secret-key: Jpa9x4LKUlEiZGlqfioBM7suZh6fzjs016GqN6jC
|
||||
bucket-name: imaray-local
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,44 @@
|
||||
server:
|
||||
port: 9088
|
||||
spring:
|
||||
application:
|
||||
name: com-imaray-ms-core
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
datasource:
|
||||
url: jdbc:postgresql://127.0.0.1:5432/imaray_core
|
||||
# username: apiuser
|
||||
# password: 4hKiOnTqbP2kLwR
|
||||
username: postgres
|
||||
password: CHANGE_ME_POSTGRES
|
||||
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://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: NlhGzbXaIO1Cw2op9pZW
|
||||
secret-key: Jpa9x4LKUlEiZGlqfioBM7suZh6fzjs016GqN6jC
|
||||
bucket-name: imaray
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,42 @@
|
||||
server:
|
||||
port: 8080
|
||||
spring:
|
||||
application:
|
||||
name: com-safaricom-app-suite-ms-core
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
datasource:
|
||||
url: jdbc:postgresql://localhost:5432/ms_app_suite
|
||||
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
|
||||
s3:
|
||||
endpoint: https://api.storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: tbSuDwtmr1SOUd2uwWxi
|
||||
secret-key: QAmtiJKYdrIeKmDSMPuYi4IYDgh7m0NPVR3yTQrI
|
||||
bucket-name: shilling
|
||||
file-expiry: 1
|
||||
@@ -0,0 +1,44 @@
|
||||
server:
|
||||
port: 8080
|
||||
spring:
|
||||
application:
|
||||
name: com-safaricom-app-suite-ms-core
|
||||
data:
|
||||
redis:
|
||||
host: redis
|
||||
port: 6379
|
||||
datasource:
|
||||
url: jdbc:postgresql://postgres:5432/ms_app_suite
|
||||
# username: apiuser
|
||||
# password: 4hKiOnTqbP2kLwR
|
||||
username: postgres
|
||||
password: CHANGE_ME_POSTGRES
|
||||
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: shilling
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,42 @@
|
||||
server:
|
||||
port: 6788
|
||||
spring:
|
||||
application:
|
||||
name: dev-auto-app-ms-core
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
datasource:
|
||||
url: jdbc:postgresql://localhost:5432/auto_app_core
|
||||
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
|
||||
s3:
|
||||
endpoint: https://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: tVwa9buIKU8SVKwF8gJQ
|
||||
secret-key: XZOvFsAKCqrAW67d9dTvoxYyTiO3pXtIp2jHjyWE
|
||||
bucket-name: autoapp-core-local
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,44 @@
|
||||
server:
|
||||
port: 6788
|
||||
spring:
|
||||
application:
|
||||
name: dev-auto-app-ms-core
|
||||
data:
|
||||
redis:
|
||||
host: redis
|
||||
port: 6379
|
||||
datasource:
|
||||
url: jdbc:postgresql://postgres:5432/auto_app_core
|
||||
# username: apiuser
|
||||
# password: 4hKiOnTqbP2kLwR
|
||||
username: postgres
|
||||
password: CHANGE_ME_POSTGRES
|
||||
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://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: tVwa9buIKU8SVKwF8gJQ
|
||||
secret-key: XZOvFsAKCqrAW67d9dTvoxYyTiO3pXtIp2jHjyWE
|
||||
bucket-name: autoapp-core
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,24 @@
|
||||
server:
|
||||
port: 6789
|
||||
spring:
|
||||
application:
|
||||
name: dev-auto-app-ms-runtime
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
mongodb:
|
||||
uri: mongodb://localhost:27017/auto_app_core
|
||||
logging:
|
||||
pattern:
|
||||
console: "%d{HH:mm:ss.SSS} [%X{requestId}] %-5level %logger{36} - %msg%n"
|
||||
cors:
|
||||
allowed-origins:
|
||||
- http://localhost:9089
|
||||
s3:
|
||||
endpoint: https://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: tVwa9buIKU8SVKwF8gJQ
|
||||
secret-key: XZOvFsAKCqrAW67d9dTvoxYyTiO3pXtIp2jHjyWE
|
||||
bucket-name: autoapp-runtime-local
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,24 @@
|
||||
server:
|
||||
port: 6789
|
||||
spring:
|
||||
application:
|
||||
name: dev-auto-app-ms-runtime
|
||||
data:
|
||||
redis:
|
||||
host: redis
|
||||
port: 6379
|
||||
mongodb:
|
||||
uri: mongodb://mongodb:27017/auto_app_core
|
||||
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/
|
||||
s3:
|
||||
endpoint: https://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: tVwa9buIKU8SVKwF8gJQ
|
||||
secret-key: XZOvFsAKCqrAW67d9dTvoxYyTiO3pXtIp2jHjyWE
|
||||
bucket-name: autoapp-runtime
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,24 @@
|
||||
server:
|
||||
port: 6787
|
||||
spring:
|
||||
application:
|
||||
name: dev-auto-app-ms-utility
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
mongodb:
|
||||
uri: mongodb://localhost:27017/auto_app_core
|
||||
logging:
|
||||
pattern:
|
||||
console: "%d{HH:mm:ss.SSS} [%X{requestId}] %-5level %logger{36} - %msg%n"
|
||||
cors:
|
||||
allowed-origins:
|
||||
- http://localhost:9089
|
||||
s3:
|
||||
endpoint: https://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: tVwa9buIKU8SVKwF8gJQ
|
||||
secret-key: XZOvFsAKCqrAW67d9dTvoxYyTiO3pXtIp2jHjyWE
|
||||
bucket-name: autoapp-utility-local
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,24 @@
|
||||
server:
|
||||
port: 6787
|
||||
spring:
|
||||
application:
|
||||
name: dev-auto-app-ms-utility
|
||||
data:
|
||||
redis:
|
||||
host: redis
|
||||
port: 6379
|
||||
mongodb:
|
||||
uri: mongodb://mongodb:27017/auto_app_core
|
||||
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/
|
||||
s3:
|
||||
endpoint: https://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: tVwa9buIKU8SVKwF8gJQ
|
||||
secret-key: XZOvFsAKCqrAW67d9dTvoxYyTiO3pXtIp2jHjyWE
|
||||
bucket-name: autoapp-utility
|
||||
file-expiry: 3
|
||||
@@ -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://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: shzG9sSNidfpLcreG8YS
|
||||
secret-key: Q1t6yTOppEhZgEXFLq4tEy2JQKNacwo3l7zdNBL5
|
||||
bucket-name: fitnessvitals-local
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,44 @@
|
||||
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
|
||||
username: postgres
|
||||
password: CHANGE_ME_POSTGRES
|
||||
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://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: shzG9sSNidfpLcreG8YS
|
||||
secret-key: Q1t6yTOppEhZgEXFLq4tEy2JQKNacwo3l7zdNBL5
|
||||
bucket-name: fitnessvitals
|
||||
file-expiry: 3
|
||||
@@ -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://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: qeaXXGpoQZvuzkNKdvhn
|
||||
secret-key: yZjNxPlDkZTfUg6fwuIACNQsufcNifBEAqDvcMSO
|
||||
bucket-name: shilling-local
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,80 @@
|
||||
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
|
||||
username: postgres
|
||||
password: CHANGE_ME_POSTGRES
|
||||
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://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: qeaXXGpoQZvuzkNKdvhn
|
||||
secret-key: yZjNxPlDkZTfUg6fwuIACNQsufcNifBEAqDvcMSO
|
||||
bucket-name: shilling
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,44 @@
|
||||
server:
|
||||
port: 9080
|
||||
spring:
|
||||
application:
|
||||
name: skool-bus
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
datasource:
|
||||
url: jdbc:postgresql://localhost:5432/skoolbus
|
||||
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://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: NlKkV4cCu1jq8fAA0vSQ
|
||||
secret-key: TuKOWRigO8UEUcDffY7RucIYKjgLhe0sP9sD6XLy
|
||||
bucket-name: skoolbus-local
|
||||
file-expiry: 3
|
||||
@@ -0,0 +1,44 @@
|
||||
server:
|
||||
port: 9080
|
||||
spring:
|
||||
application:
|
||||
name: skool-bus
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
port: 6379
|
||||
datasource:
|
||||
url: jdbc:postgresql://127.0.0.1:5432/skoolbus
|
||||
# username: apiuser
|
||||
# password: 4hKiOnTqbP2kLwR
|
||||
username: postgres
|
||||
password: CHANGE_ME_POSTGRES
|
||||
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://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: NlKkV4cCu1jq8fAA0vSQ
|
||||
secret-key: TuKOWRigO8UEUcDffY7RucIYKjgLhe0sP9sD6XLy
|
||||
bucket-name: skoolbus
|
||||
file-expiry: 3
|
||||
@@ -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
|
||||
|
||||
@@ -5,12 +5,14 @@ spring:
|
||||
name: farm-kilimo-ms-assistant
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
host: redis
|
||||
port: 6379
|
||||
datasource:
|
||||
url: jdbc:postgresql://127.0.0.1:5432/kilimo_assistant
|
||||
username: apiuser
|
||||
password: 4hKiOnTqbP2kLwR
|
||||
url: jdbc:postgresql://postgres:5432/kilimo_assistant
|
||||
# username: apiuser
|
||||
# password: 4hKiOnTqbP2kLwR
|
||||
username: postgres
|
||||
password: CHANGE_ME_POSTGRES
|
||||
driver-class-name: org.postgresql.Driver
|
||||
jpa:
|
||||
show-sql: false
|
||||
@@ -26,10 +28,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 +46,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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -8,7 +8,7 @@ spring:
|
||||
# 2. Redis Configuration
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
host: redis
|
||||
port: 6379
|
||||
connect-timeout: 2000ms
|
||||
|
||||
@@ -30,10 +30,10 @@ spring:
|
||||
maxAge: 3600 # Cache the preflight response for 1 hour
|
||||
routes:
|
||||
- id: kilimo_core_service
|
||||
uri: http://localhost:9081
|
||||
uri: http://farm-kilimo-ms-core:9081
|
||||
predicates:
|
||||
- Path=/core/**
|
||||
- Method=GET,POST,PUT,DELETE,OPTIONS
|
||||
- Method=GET,POST,PUT,DELETE,OPTIONS,PATCH
|
||||
filters:
|
||||
- RewritePath=/core/(?<path>.*), /$\{path}
|
||||
- name: AuthFilter
|
||||
@@ -44,10 +44,10 @@ spring:
|
||||
key-resolver: "#{@userKeyResolver}"
|
||||
|
||||
- id: kilimo_assistant_service
|
||||
uri: http://localhost:9082
|
||||
uri: http://farm-kilimo-ms-assistant:9082
|
||||
predicates:
|
||||
- Path=/assistant/**
|
||||
- Method=GET,POST,PUT,DELETE,OPTIONS
|
||||
- Method=GET,POST,PUT,DELETE,OPTIONS,PATCH
|
||||
filters:
|
||||
- RewritePath=/assistant/(?<segment>.*), /${segment}
|
||||
- name: AuthFilter
|
||||
|
||||
@@ -36,9 +36,9 @@ jwt:
|
||||
device:
|
||||
expiration: 86400000
|
||||
s3:
|
||||
endpoint: https://api.storage.kilimo.farm
|
||||
endpoint: https://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: tbSuDwtmr1SOUd2uwWxi
|
||||
secret-key: QAmtiJKYdrIeKmDSMPuYi4IYDgh7m0NPVR3yTQrI
|
||||
bucket-name: kilimo
|
||||
file-expiry: 1
|
||||
access-key: IjUeqMAYjDbrndln0vIW
|
||||
secret-key: bwrXK7OQXeSRx1sewY9pNQ2rPAbjunCkOvEvYe22
|
||||
bucket-name: kilimo-local
|
||||
file-expiry: 3
|
||||
@@ -5,12 +5,14 @@ spring:
|
||||
name: farm-kilimo-ms-core
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
host: redis
|
||||
port: 6379
|
||||
datasource:
|
||||
url: jdbc:postgresql://127.0.0.1:5432/kilimo
|
||||
username: apiuser
|
||||
password: 4hKiOnTqbP2kLwR
|
||||
url: jdbc:postgresql://postgres:5432/kilimo
|
||||
# username: apiuser
|
||||
# password: 4hKiOnTqbP2kLwR
|
||||
username: postgres
|
||||
password: CHANGE_ME_POSTGRES
|
||||
driver-class-name: org.postgresql.Driver
|
||||
jpa:
|
||||
show-sql: false
|
||||
@@ -34,9 +36,9 @@ jwt:
|
||||
device:
|
||||
expiration: 86400000
|
||||
s3:
|
||||
endpoint: http://localhost:9000
|
||||
endpoint: https://storage.kilimo.farm
|
||||
region: us-east-1
|
||||
access-key: FVNLhRSDpO0huRX2WeCc
|
||||
secret-key: fbtEZTZaMFwB1LLMBrbsxHTbN4oFIqwYCSfBHVCF
|
||||
access-key: IjUeqMAYjDbrndln0vIW
|
||||
secret-key: bwrXK7OQXeSRx1sewY9pNQ2rPAbjunCkOvEvYe22
|
||||
bucket-name: kilimo
|
||||
file-expiry: 3
|
||||
Reference in New Issue
Block a user