.Make certain compatibility along with multiple platforms, including.NET 6.0,. Internet Framework 4.6.2, and.NET Standard 2.0 and also above.Reduce dependences to stop model disagreements and also the need for binding redirects.Translating Audio Info.One of the major functionalities of the SDK is audio transcription. Designers may translate audio files asynchronously or even in real-time. Below is actually an instance of exactly how to record an audio data:.making use of AssemblyAI.using AssemblyAI.Transcripts.var client = brand-new AssemblyAIClient(" YOUR_API_KEY").var transcript = wait for client.Transcripts.TranscribeAsync( new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3". ).transcript.EnsureStatusCompleted().Console.WriteLine( transcript.Text).For regional reports, identical code may be used to achieve transcription.await utilizing var flow = brand-new FileStream("./ nbc.mp3", FileMode.Open).var transcript = wait for client.Transcripts.TranscribeAsync(.stream,.brand new TranscriptOptionalParams.LanguageCode = TranscriptLanguageCode.EnUs.).transcript.EnsureStatusCompleted().Console.WriteLine( transcript.Text).Real-Time Audio Transcription.The SDK also holds real-time sound transcription making use of Streaming Speech-to-Text. This function is actually particularly practical for applications needing quick processing of audio information.making use of AssemblyAI.Realtime.await utilizing var scribe = brand new RealtimeTranscriber( new RealtimeTranscriberOptions.ApiKey="YOUR_API_KEY",.SampleRate = 16_000. ).transcriber.PartialTranscriptReceived.Subscribe( records =>Console.WriteLine($" Partial: transcript.Text "). ).transcriber.FinalTranscriptReceived.Subscribe( records =>Console.WriteLine($" Ultimate: transcript.Text "). ).wait for transcriber.ConnectAsync().// Pseudocode for receiving sound from a microphone as an example.GetAudio( async (chunk) => wait for transcriber.SendAudioAsync( part)).await transcriber.CloseAsync().Making Use Of LeMUR for LLM Applications.The SDK incorporates with LeMUR to permit creators to develop big foreign language version (LLM) functions on vocal data. Below is actually an example:.var lemurTaskParams = new LemurTaskParams.Cue="Provide a quick review of the records.",.TranscriptIds = [transcript.Id],.FinalModel = LemurModel.AnthropicClaude3 _ 5_Sonnet..var action = await client.Lemur.TaskAsync( lemurTaskParams).Console.WriteLine( response.Response).Audio Intellect Versions.In addition, the SDK comes with integrated help for audio cleverness versions, allowing feeling evaluation and various other advanced components.var records = await client.Transcripts.TranscribeAsync( new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3",.SentimentAnalysis = accurate. ).foreach (var lead to transcript.SentimentAnalysisResults!).Console.WriteLine( result.Text).Console.WriteLine( result.Sentiment)// GOOD, NEUTRAL, or NEGATIVE.Console.WriteLine( result.Confidence).Console.WriteLine($" Timestamp: result.Start - result.End ").To learn more, visit the official AssemblyAI blog.Image resource: Shutterstock.