.Ensure being compatible with several platforms, including.NET 6.0,. NET Framework 4.6.2, and.NET Criterion 2.0 and also above.Lessen dependencies to stop variation conflicts as well as the requirement for binding redirects.Translating Sound Files.Among the major performances of the SDK is audio transcription. Developers can translate audio files asynchronously or even in real-time. Below is an example of just how to record an audio file:.utilizing AssemblyAI.making use of AssemblyAI.Transcripts.var customer = brand new AssemblyAIClient(" YOUR_API_KEY").var records = wait for client.Transcripts.TranscribeAsync( brand new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3". ).transcript.EnsureStatusCompleted().Console.WriteLine( transcript.Text).For local documents, identical code can be made use of to accomplish transcription.await using var stream = new FileStream("./ nbc.mp3", FileMode.Open).var records = await client.Transcripts.TranscribeAsync(.flow,.brand new TranscriptOptionalParams.LanguageCode = TranscriptLanguageCode.EnUs.).transcript.EnsureStatusCompleted().Console.WriteLine( transcript.Text).Real-Time Audio Transcription.The SDK additionally reinforces real-time audio transcription utilizing Streaming Speech-to-Text. This component is particularly practical for treatments demanding instant processing of audio information.making use of AssemblyAI.Realtime.wait for utilizing var transcriber = new RealtimeTranscriber( brand-new RealtimeTranscriberOptions.ApiKey="YOUR_API_KEY",.SampleRate = 16_000. ).transcriber.PartialTranscriptReceived.Subscribe( transcript =>Console.WriteLine($" Limited: transcript.Text "). ).transcriber.FinalTranscriptReceived.Subscribe( records =>Console.WriteLine($" Last: transcript.Text "). ).wait for transcriber.ConnectAsync().// Pseudocode for receiving audio from a mic for example.GetAudio( async (portion) => wait for transcriber.SendAudioAsync( part)).await transcriber.CloseAsync().Making Use Of LeMUR for LLM Applications.The SDK includes with LeMUR to allow programmers to create sizable foreign language version (LLM) apps on voice data. Below is an instance:.var lemurTaskParams = new LemurTaskParams.Motivate="Deliver a short recap of the records.",.TranscriptIds = [transcript.Id],.FinalModel = LemurModel.AnthropicClaude3 _ 5_Sonnet..var action = wait for client.Lemur.TaskAsync( lemurTaskParams).Console.WriteLine( response.Response).Audio Intelligence Versions.In addition, the SDK features integrated assistance for audio intelligence styles, allowing conviction review and also various other advanced functions.var records = wait for client.Transcripts.TranscribeAsync( brand new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3",.SentimentAnalysis = correct. ).foreach (var result in transcript.SentimentAnalysisResults!).Console.WriteLine( result.Text).Console.WriteLine( result.Sentiment)// FAVORABLE, NEUTRAL, or NEGATIVE.Console.WriteLine( result.Confidence).Console.WriteLine($" Timestamp: result.Start - result.End ").For additional information, explore the formal AssemblyAI blog.Image resource: Shutterstock.