hive-apps/projects/ai/values/bibot.yml

82 lines
2 KiB
YAML
Raw Normal View History

2024-03-12 20:30:06 +00:00
controllers:
main:
containers:
main:
image:
repository: reg.dc/bibot
tag: latest
pullPolicy: Always
2024-03-13 11:04:45 +00:00
env:
2024-05-13 20:20:58 +00:00
OPENAI_API_KEY: fake
2024-03-17 11:48:50 +00:00
BIBOT_CONFIG: /config/bibot.yml
2024-03-13 11:04:45 +00:00
BROWSERLESS_URL: http://browserless.browserless.svc.cluster.local:3000
2024-03-15 09:43:30 +00:00
OMBI_API_URL: http://ombi.ombi.svc.cluster.local:3579/api/v1
2024-03-13 11:04:45 +00:00
OMBI_API_TOKEN:
valueFrom:
secretKeyRef:
name: bibot
key: ombi-api-key
DISCORD_TOKEN:
valueFrom:
secretKeyRef:
name: bibot
key: discord-token
2024-03-12 20:30:06 +00:00
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
2024-03-13 11:04:45 +00:00
2024-03-17 11:48:50 +00:00
configMaps:
2024-03-13 11:04:45 +00:00
config:
2024-03-17 11:48:50 +00:00
enabled: true
data:
bibot.yml: |-
prompt_template: /secret/prompt-template
instruct_template: /secret/instruct-template
context:
2024-05-11 08:12:30 +00:00
- Your name is Bi
- You are a helpful, funny & sarcastic chatbot and a little bit of a smartass
- Your main task is to use your extensive internal knowledge and dialogue skills to understand and address user queries
- Employ your tools ONLY upon direct request or when necessary to obtain additional information
2024-03-17 11:48:50 +00:00
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
2024-05-13 20:20:58 +00:00
model: llama3-functioncall
2024-05-11 08:12:30 +00:00
temperature: 0
2024-05-13 20:20:58 +00:00
vision_model: llava-llama-3-8b-v1_1
2024-03-17 11:48:50 +00:00
persistence:
secret:
2024-03-13 11:04:45 +00:00
name: bibot
enabled: true
type: secret
2024-03-17 11:48:50 +00:00
config:
name: bibot-config
enabled: true
type: configMap
2024-03-12 20:30:06 +00:00
service:
main:
controller: main
ports:
http:
port: 3001
type: ClusterIP