From 7c448aa81623c40085bddacad5e1d1812472a437 Mon Sep 17 00:00:00 2001 From: nold Date: Sun, 17 Mar 2024 12:48:50 +0100 Subject: [PATCH] update9bibot) --- projects/ai/values/bibot.yml | 41 ++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/projects/ai/values/bibot.yml b/projects/ai/values/bibot.yml index 36f2be58..48ebe116 100644 --- a/projects/ai/values/bibot.yml +++ b/projects/ai/values/bibot.yml @@ -8,13 +8,9 @@ controllers: pullPolicy: Always env: - BIBOT_PROMPT_FILE: /config/prompt-template - # BIBOT_INSTRUCT_PROMPT_FILE: /config/instruct-template + BIBOT_CONFIG: /config/bibot.yml BROWSERLESS_URL: http://browserless.browserless.svc.cluster.local:3000 - OPENAI_API_URL: http://localai-local-ai.ai.svc.cluster.local/v1 - OPENAI_MODEL: command-r OMBI_API_URL: http://ombi.ombi.svc.cluster.local:3579/api/v1 - DISCORD_CHANNELS: "1216440541064200192" OMBI_API_TOKEN: valueFrom: secretKeyRef: @@ -33,12 +29,45 @@ controllers: startup: enabled: false -persistence: +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