assemblyai-node-sdk
assemblyai-node-sdk copied to clipboard
The AssemblyAI JavaScript SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, audio intelligence models, as well as the lat...
Add samples that are ready to run either from a notebook experience, or from the terminal.
Running `tsc` in my app results in the following error. ```plaintext node_modules/assemblyai/dist/services/realtime/service.d.ts:23:15 - error TS2304: Cannot find name 'WritableStream'. 23 stream(): WritableStream; ~~~~~~~~~~~~~~ node_modules/assemblyai/dist/types/files/index.d.ts:3:47 - error TS2304: Cannot find name...
Unable to utilize slam-1 model when passing as an argument. Example below? ``` const transcript = await assemblyAIClient.transcripts.create({ audio_url: fileUrl, speaker_labels: true, model: "slam-1", }) ```
**Description:** When using the AssemblyAI Node SDK in a Cloudflare Worker, I encounter the following error: ``` TypeError: Cannot read properties of undefined (reading 'node') ``` **Code Snippet:** ```javascript const...
Feedback from a customer: In the typescript sdk when assembly.transcripts.submit returns an error it's just a string. Is there a way to tell if it's retriable or not (ie if...
``` this.assemblyClient = new AssemblyAI({ apiKey: process.env.ASSEMBLYAI_API_KEY }); this.transcriber = this.assemblyClient.realtime.transcriber({ sampleRate: this.config.sampleRate, speech_model: 'best', }); ```` `Object literal may only specify known properties, and 'speech_model' does not exist in...
When using the eu baseUrl the file is queued and processed in the EU server. It can complete but the `transcribe` or the `submit` don't seem to work as expected....
When using RealtimeTranscriber the documentation mentions you can import `assemblyai/streaming` in the browser. However the generated types for this package do not include the typings.
I'm getting the following error using the AssemblyAI SDK on Deno 2.1.10 with the SDK imported as `"assemblyai": "npm:assemblyai@^4.9.0"`. Using the straight HTTP API is fine. ``` Error: Not found...
I set this params const params = { audio: audioUrl, audio_start_from: 5699, // The start time of the transcription in milliseconds audio_end_at: 8597 // The end time of the transcription...