summaryrefslogtreecommitdiff
path: root/config.example.toml
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-11-09 12:59:50 +0300
committerGrail Finder <wohilas@gmail.com>2025-11-09 12:59:50 +0300
commit48f32ba36a889d2514888589bc6c5da710a19feb (patch)
tree128e8e9b4b71d49bfd8e5b9841cf50bbfde8ec5e /config.example.toml
parent4a581f6c122255bddcb3580539ff24b3c7d7c657 (diff)
Enha: binary whisper stt impl
Diffstat (limited to 'config.example.toml')
-rw-r--r--config.example.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.example.toml b/config.example.toml
index 8a38073..ca88e3b 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -20,8 +20,14 @@ TTS_URL = "http://localhost:8880/v1/audio/speech"
TTS_SPEED = 1.0
# extra stt
STT_ENABLED = false
+STT_TYPE = "WHISPER_SERVER" # WHISPER_SERVER or WHISPER_BINARY
STT_URL = "http://localhost:8081/inference"
+WhisperBinaryPath = "./whisper-cli" # Path to whisper binary (for WHISPER_BINARY mode)
+WhisperModelPath = "./ggml-model.bin" # Path to whisper model file (for WHISPER_BINARY mode)
+STT_LANG = "en" # Language for speech recognition (for WHISPER_BINARY mode)
+STT_SR = 16000 # Sample rate for audio recording
DBPATH = "gflt.db"
+#
FetchModelNameAPI = "http://localhost:8080/v1/models"
# external search tool
SearchAPI = "" # url to call the tool by