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

Method Feed

core/backend/transcript_live.go:60–65  ·  view source on GitHub ↗
(pcm []float32)

Source from the content-addressed store, hash-verified

58}
59
60func (s *liveTranscriptionSession) Feed(pcm []float32) error {
61 s.trace.addPCM(pcm)
62 return s.stream.Send(&proto.TranscriptLiveRequest{
63 Payload: &proto.TranscriptLiveRequest_Audio{Audio: &proto.TranscriptLiveAudio{Pcm: pcm}},
64 })
65}
66
67func (s *liveTranscriptionSession) Close() error {
68 s.closeOnce.Do(func() {

Callers

nothing calls this directly

Calls 2

addPCMMethod · 0.80
SendMethod · 0.65

Tested by

no test coverage detected