This covers how to load document objects from an audio file using the Sonix API.Documentation Index
Fetch the complete documentation index at: https://langchain-5e9cc07a-preview-openap-1765292790-ae6c60d.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Setup
To run this loader you will need to create an account on the https://sonix.ai/ and obtain an auth key from the https://my.sonix.ai/api page. You’ll also need to install thesonix-speech-recognition library:
npm
Usage
Once auth key is configured, you can use the loader to create transcriptions and then convert them into a Document. In therequest parameter, you can either specify a local file by setting audioFilePath or a remote file using audioUrl.
You will also need to specify the audio language. See the list of supported languages here.