summaryrefslogtreecommitdiffstats
path: root/templates/feature/agl-offline-voice-agent/50_local.conf.inc
blob: 632f14be2f7e0324ee2ccc062299a7075cf08be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# agl-offline-voice-agent
FORTRAN:forcevariable = ",fortran"
RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath"

# bad practice but required to build scikit-learn
HOSTTOOLS += "gfortran" 

# FIXME check if needed and/or submit upstream
BBCLASSEXTEND:pn-python3-charset-normalizer = "native nativesdk"

PACKAGECONFIG:pn-openblas := "cblas lapack lapack-deprecated"

FEATURE_PACKAGES_agl-offline-voice-agent:append = " \
    python3-snips-inference-agl \ 
    snips-model-agl \
    vosk \
    vosk-kaldi \
    vosk-server \
    python3-vosk-api \ 
    python3-vosk-websocket-server \
    python3-sounddevice \
    flutter-voiceassistant \
    agl-service-voiceagent \
    whisper \
    openai-whisper-base \
    "

EXTRA_IMAGE_FEATURES += "agl-offline-voice-agent"

PREFERRED_RPROVIDER_vosk-model ?= "vosk-model-small-en-us"
PREFERRED_RPROVIDER_whisper-model ?= "openai-whisper-base"

# bump bazel limits
BAZEL_JOBS = "HOST_CPUS*.4"
BAZEL_MEM = "HOST_RAM*.4"

LICENSE_FLAGS_ACCEPTED += "commercial_ffmpeg"