feat(gallery): declare speaker_recognition on parakeet-cpp bundles

The small and standard bundles have a voice component, and
parakeet-cpp-realtime-scene-speakers loads a speaker encoder, so they can
serve /v1/voice/* and the realtime voice_recognition stage. Add the usecase
to their known_usecases and pin it in the gallery tests.

Assisted-by: Claude Code:claude-sonnet-5-5
This commit is contained in:
Ettore Di Giacinto committed 2026-10-05 23:46:06 +00:00
1 parent fa25493c9e
commit ce4099ea38
2 files changed
+15 -2

No files matched your search

+12 -2
View File
@@ -25,12 +25,12 @@ var _ = Describe("gallery/index.yaml parakeet-cpp bundle entries", func() {
"parakeet-cpp-bundle-small": {
"parakeet-cpp/parakeet-bundle-small.gguf",
"5f2c6697eb08d4d67e858692d4223a9d911aacc51ae16cf2aee9e760f8a2269a",
[]string{"transcript", "vad", "diarization", "sound_classification"}, full,
[]string{"transcript", "vad", "diarization", "sound_classification", "speaker_recognition"}, full,
},
"parakeet-cpp-bundle-standard": {
"parakeet-cpp/parakeet-bundle-standard.gguf",
"85304e3bb49de04b84a7d0c76baaa7dedd1a0c02c0920078a99f92c00cffbdf6",
[]string{"transcript", "vad", "diarization", "sound_classification"}, full,
[]string{"transcript", "vad", "diarization", "sound_classification", "speaker_recognition"}, full,
},
"parakeet-cpp-bundle-moondream-redux": {
"parakeet-cpp/parakeet-bundle-moondream-redux.gguf",
@@ -80,6 +80,16 @@ var _ = Describe("gallery/index.yaml parakeet-cpp bundle entries", func() {
}
})
It("declares speaker recognition only where the model has a speaker encoder", func() {
all := entries()
for _, name := range []string{"parakeet-cpp-bundle-small", "parakeet-cpp-bundle-standard", "parakeet-cpp-realtime-scene-speakers"} {
Expect(all[name].Overrides["known_usecases"]).To(ContainElement("speaker_recognition"), name)
}
for _, name := range []string{"parakeet-cpp-bundle-moondream-redux", "parakeet-cpp-tdt_ctc-110m"} {
Expect(all[name].Overrides["known_usecases"]).ToNot(ContainElement("speaker_recognition"), name)
}
})
It("states that the licence is per component and names each one", func() {
all := entries()
for name := range want {
+3
View File
@@ -54528,6 +54528,7 @@
backend: parakeet-cpp
known_usecases:
- transcript
- speaker_recognition
name: parakeet-cpp-realtime-scene-speakers
options:
- diarization_model:parakeet-cpp/nemotron-3-diarization-q8_0.gguf
@@ -54902,6 +54903,7 @@
- vad
- diarization
- sound_classification
- speaker_recognition
name: parakeet-cpp-bundle-small
options:
- vad:true
@@ -54965,6 +54967,7 @@
- vad
- diarization
- sound_classification
- speaker_recognition
name: parakeet-cpp-bundle-standard
options:
- vad:true