Compare commits

...

6 commits

Author SHA1 Message Date
a9430e3ca7 feat(bibot): command-r 2024-03-16 19:38:00 +01:00
53bebdc3ac update(localai): 2.10.0 2024-03-16 17:40:14 +01:00
0607f263b2 disabled(flowise0 2024-03-16 13:13:17 +01:00
3ca3abbfea del(ovos) 2024-03-16 13:12:02 +01:00
35469da5e6 removed(authentik) 2024-03-16 13:11:22 +01:00
678052d69c update(localai) 2024-03-16 13:07:21 +01:00
10 changed files with 8 additions and 176 deletions

View file

@ -15,10 +15,10 @@ apps:
chart: app-template
targetRevision: 2.4.0
- name: flowise
repo: bjw-s
chart: app-template
targetRevision: 2.4.0
# - name: flowise
# repo: bjw-s
# chart: app-template
# targetRevision: 2.4.0
- name: big-agi
repo: bjw-s
@ -47,3 +47,4 @@ apps:
- discord-token
- ombi-api-key
- prompt-template
- instruct-template

View file

@ -9,9 +9,10 @@ controllers:
env:
BIBOT_PROMPT_FILE: /config/prompt-template
# BIBOT_INSTRUCT_PROMPT_FILE: /config/instruct-template
BROWSERLESS_URL: http://browserless.browserless.svc.cluster.local:3000
OPENAI_API_URL: http://localai-local-ai.ai.svc.cluster.local/v1
OPENAI_MODEL: mixtral-8x7b-instruct
OPENAI_MODEL: command-r
OMBI_API_URL: http://ombi.ombi.svc.cluster.local:3579/api/v1
DISCORD_CHANNELS: "1216440541064200192"
OMBI_API_TOKEN:

View file

@ -3,7 +3,7 @@ replicaCount: 1
deployment:
image:
repository: quay.io/go-skynet/local-ai
tag: v2.9.0-cublas-cuda12
tag: v2.10.0-cublas-cuda12-ffmpeg-core
pullPolicy: Always
runtimeClassName: nvidia

View file

@ -1,14 +0,0 @@
LOCALAI=https://ai.dc
if [ "$1" == "search" ] ; then
curl ${LOCALAI}/models/available | jq ".[] | select(.name | contains(\"${2}\")) | .name"
elif [ "$1" == "apply" ] ; then
STATUS_URL=$(curl -q $LOCALAI/models/apply -H "Content-Type: application/json" -d "{ \"id\": \"${2}\" }" | jq -r .status)
STATUS=$(curl -q $STATUS_URL | jq -r .message)
while [ "$STATUS" != "completed" ] ; do
STATUS=$(curl -q $STATUS_URL | jq -r .message)
echo $STATUS
sleep 5
done
elif [ "$1" == "list" ] ; then
curl -q $LOCALAI/models | jq .
fi

View file

@ -1,13 +0,0 @@
config:
description: OpenVoice OS Services
apps:
- name: ovos-tts-server
repo: bjw-s
chart: app-template
targetRevision: 2.4.0
- name: ovos-stt-server
repo: bjw-s
chart: app-template
targetRevision: 2.4.0

View file

@ -1,68 +0,0 @@
controllers:
main:
containers:
main:
image:
repository: smartgic/ovos-stt-server-fasterwhisper
tag: alpha
pullPolicy: Always
env:
## VECTOR_DB: "lancedb"
ingress:
main:
enabled: true
annotations:
cert-manager.io/cluster-issuer: vault-issuer
hosts:
- host: ovos-stt-server.dc
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- ovos-stt-server.dc
secretName: ovos-stt-server-tls
configMaps:
config:
enabled: true
data:
mycroft.conf: |
{
"stt": {
"module": "ovos-stt-plugin-fasterwhisper",
"ovos-stt-plugin-fasterwhisper": {
"model": "medium",
"cpu_threads": 8
}
}
}
persistence:
config:
type: configMap
enabled: true
name: ovos-stt-server-config
advancedMounts:
main:
main:
- path: /home/ovos/.config/mycroft/mycroft.conf
readOnly: true
subPath: mycroft.conf
securityContext:
privileged: false
service:
main:
ports:
http:
enabled: true
port: 8080
type: ClusterIP

View file

@ -1,75 +0,0 @@
controllers:
main:
containers:
main:
image:
repository: docker.io/smartgic/ovos-tts-server-piper
tag: alpha
pullPolicy: Always
env:
# GID='1000'
ingress:
main:
annotations:
cert-manager.io/cluster-issuer: vault-issuer
enabled: true
hosts:
- host: ovos-tts-server.dc
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- ovos-tts-server.dc
secretName: ovos-tts-server-tls
configMaps:
config:
enabled: true
data:
mycroft.conf: |
{
"tts": {
"module": "ovos-tts-plugin-piper",
"ovos-tts-plugin-piper": {
"model": "alan-low"
}
}
}
persistence:
data:
type: persistentVolumeClaim
enabled: true
size: 2Gi
storageClass: ssd
accessMode: ReadWriteOnce
globalMounts:
- path: /home/ovos/.local/share/piper_tts
config:
type: configMap
enabled: true
name: ovos-tts-server-config
advancedMounts:
main:
main:
- path: /home/ovos/.config/mycroft/mycroft.conf
readOnly: true
subPath: mycroft.conf
securityContext:
privileged: false
service:
main:
ports:
http:
enabled: true
port: 9666
type: ClusterIP