MCPcopy
hub / github.com/mudler/LocalAI / VAD

Method VAD

core/http/endpoints/openai/realtime_model.go:77–79  ·  view source on GitHub ↗
(ctx context.Context, request *schema.VADRequest)

Source from the content-addressed store, hash-verified

75}
76
77func (m *transcriptOnlyModel) VAD(ctx context.Context, request *schema.VADRequest) (*schema.VADResponse, error) {
78 return backend.VAD(request, ctx, m.modelLoader, m.appConfig, *m.VADConfig)
79}
80
81func (m *transcriptOnlyModel) Transcribe(ctx context.Context, audio, language string, translate bool, diarize bool, prompt string) (*schema.TranscriptionResult, error) {
82 return backend.ModelTranscription(ctx, audio, language, translate, diarize, prompt, m.modelLoader, *m.TranscriptionConfig, m.appConfig)

Callers

nothing calls this directly

Calls 1

VADFunction · 0.92

Tested by

no test coverage detected