hive-apps/projects/ai/values/bibot.yml
2024-03-17 12:55:58 +01:00

79 lines
1.7 KiB
YAML

controllers:
main:
containers:
main:
image:
repository: reg.dc/bibot
tag: latest
pullPolicy: Always
env:
BIBOT_CONFIG: /config/bibot.yml
BROWSERLESS_URL: http://browserless.browserless.svc.cluster.local:3000
OMBI_API_URL: http://ombi.ombi.svc.cluster.local:3579/api/v1
OMBI_API_TOKEN:
valueFrom:
secretKeyRef:
name: bibot
key: ombi-api-key
DISCORD_TOKEN:
valueFrom:
secretKeyRef:
name: bibot
key: discord-token
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
configMaps:
config:
enabled: true
data:
bibot.yml: |-
prompt_template: /secret/prompt-template
instruct_template: /secret/instruct-template
context:
- name: "Your name is"
value: "Bi"
- name: "Your master is"
value: "noldtronics"
discord:
channels: [ '1216440541064200192' ]
tools:
ombi:
url: http://ombi.ombi.svc.cluster.local:3579/api/v1
browserless:
url: http://browserless.browserless.svc.cluster.local:3000
openai:
url: http://localai-local-ai.ai.svc.cluster.local/v1
model: command-r
temperature: 0.2
persistence:
secret:
name: bibot
enabled: true
type: secret
config:
name: bibot-config
enabled: true
type: configMap
service:
main:
controller: main
ports:
http:
port: 3001
type: ClusterIP