.Make sure compatibility along with several frameworks, including.NET 6.0,. NET Framework 4.6.2, and.NET Specification 2.0 and above.Decrease reliances to prevent variation conflicts and the need for binding redirects.Translating Sound Data.One of the major capabilities of the SDK is audio transcription. Designers can easily record audio files asynchronously or in real-time. Below is an example of exactly how to transcribe an audio documents:.utilizing AssemblyAI.making use of AssemblyAI.Transcripts.var customer = 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 files, similar code may be used to achieve transcription.wait for using var stream = new FileStream("./ nbc.mp3", FileMode.Open).var records = await client.Transcripts.TranscribeAsync(.stream,.new TranscriptOptionalParams.LanguageCode = TranscriptLanguageCode.EnUs.).transcript.EnsureStatusCompleted().Console.WriteLine( transcript.Text).Real-Time Audio Transcription.The SDK likewise reinforces real-time sound transcription making use of Streaming Speech-to-Text. This function is particularly valuable for uses calling for instant processing of audio data.using AssemblyAI.Realtime.await making use of var scribe = new RealtimeTranscriber( new RealtimeTranscriberOptions.ApiKey="YOUR_API_KEY",.SampleRate = 16_000. ).transcriber.PartialTranscriptReceived.Subscribe( records =>Console.WriteLine($" Partial: transcript.Text "). ).transcriber.FinalTranscriptReceived.Subscribe( transcript =>Console.WriteLine($" Ultimate: transcript.Text "). ).wait for transcriber.ConnectAsync().// Pseudocode for acquiring audio coming from a microphone as an example.GetAudio( async (part) => await transcriber.SendAudioAsync( part)).wait for transcriber.CloseAsync().Taking Advantage Of LeMUR for LLM Applications.The SDK incorporates along with LeMUR to enable designers to create large language version (LLM) apps on vocal information. Listed here is an instance:.var lemurTaskParams = brand new LemurTaskParams.Cause="Provide a quick review of the transcript.",.TranscriptIds = [transcript.Id],.FinalModel = LemurModel.AnthropicClaude3 _ 5_Sonnet..var action = await client.Lemur.TaskAsync( lemurTaskParams).Console.WriteLine( response.Response).Audio Knowledge Models.In addition, the SDK comes with built-in help for audio intellect styles, allowing feeling review as well as other state-of-the-art functions.var transcript = wait for client.Transcripts.TranscribeAsync( brand-new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3",.SentimentAnalysis = true. ).foreach (var cause transcript.SentimentAnalysisResults!).Console.WriteLine( result.Text).Console.WriteLine( result.Sentiment)// BENEFICIAL, NEUTRAL, or even NEGATIVE.Console.WriteLine( result.Confidence).Console.WriteLine($" Timestamp: result.Start - result.End ").To read more, see the formal AssemblyAI blog.Image resource: Shutterstock.