MCPcopy Create free account
hub / github.com/tmc/langchaingo / AssemblyAIAudioTranscriptLoader

Struct AssemblyAIAudioTranscriptLoader

documentloaders/assemblyai.go:46–60  ·  view source on GitHub ↗

AssemblyAIAudioTranscriptLoader transcribes an audio file using AssemblyAI and loads the transcript. Audio files can be specified using either a URL or a reader. For a list of the supported audio and video formats, see the [FAQ]. [FAQ]: https://www.assemblyai.com/docs/concepts/faq

Source from the content-addressed store, hash-verified

44//
45// [FAQ]: https://www.assemblyai.com/docs/concepts/faq
46type AssemblyAIAudioTranscriptLoader struct {
47 client *assemblyai.Client
48
49 // URL of the audio file to transcribe.
50 url string
51
52 // Reader of the audio file to transcribe.
53 r io.Reader
54
55 // Optional parameters for the transcription.
56 params *assemblyai.TranscriptOptionalParams
57
58 // Format of the document page content.
59 format TranscriptFormat
60}
61
62var _ Loader = &AssemblyAIAudioTranscriptLoader{}
63

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected