You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's no API for�client.Transcripts.TranscribeAsync(stream, optionalOptions, cancellationToken)
Attempting to add this IntegrationTests to TranscriptClientTests.cs will not compile.
[Test]publicasyncTaskShould_Submit_Using_Stream_With_Options(){varclient=Helpers.CreateClient();// Adjust the path to where your test file is locatedvartestFilePath=Path.Combine(TestContext.CurrentContext.TestDirectory,"TestData","nbc.mp3");usingvarstream=File.OpenRead(testFilePath);vartranscript=awaitclient.Transcripts.TranscribeAsync(stream,newTranscriptOptionalParams{LanguageCode=TranscriptLanguageCode.Pt,},CancellationToken.None).ConfigureAwait(false);Assert.That(transcript,Is.Not.Null);Assert.Multiple(()=>{Assert.That(transcript.Id,Is.Not.Null);Assert.That(transcript.Text,Is.Null);Assert.That(transcript.Status,Is.EqualTo(TranscriptStatus.Queued));});}
Suggest updating the
assemblyai-csharp-sdk/src/AssemblyAI/Transcripts/ExtendedTranscriptsClient.cs
Line 70 in b83e710
TranscribeOptionsParams
to go downstream the streaming.The text was updated successfully, but these errors were encountered: