.Make sure being compatible with several platforms, including.NET 6.0,. Web Platform 4.6.2, and.NET Criterion 2.0 and above.Lessen addictions to avoid variation disputes and also the demand for binding redirects.Translating Sound Record.Among the primary performances of the SDK is audio transcription. Programmers can easily translate audio data asynchronously or even in real-time. Below is actually an instance of just how to transcribe an audio documents:.making use of AssemblyAI.using AssemblyAI.Transcripts.var client = brand-new AssemblyAIClient(" YOUR_API_KEY").var transcript = 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 regional data, similar code may be utilized to accomplish transcription.wait for utilizing var stream = brand new FileStream("./ nbc.mp3", FileMode.Open).var records = await client.Transcripts.TranscribeAsync(.flow,.new TranscriptOptionalParams.LanguageCode = TranscriptLanguageCode.EnUs.).transcript.EnsureStatusCompleted().Console.WriteLine( transcript.Text).Real-Time Sound Transcription.The SDK likewise holds real-time sound transcription using Streaming Speech-to-Text. This attribute is specifically valuable for treatments calling for immediate processing of audio data.utilizing AssemblyAI.Realtime.await making use of var scribe = brand new RealtimeTranscriber( brand-new RealtimeTranscriberOptions.ApiKey="YOUR_API_KEY",.SampleRate = 16_000. ).transcriber.PartialTranscriptReceived.Subscribe( transcript =>Console.WriteLine($" Partial: transcript.Text "). ).transcriber.FinalTranscriptReceived.Subscribe( transcript =>Console.WriteLine($" Last: transcript.Text "). ).await transcriber.ConnectAsync().// Pseudocode for acquiring sound coming from a mic for instance.GetAudio( async (part) => await transcriber.SendAudioAsync( part)).await transcriber.CloseAsync().Taking Advantage Of LeMUR for LLM Applications.The SDK combines along with LeMUR to enable designers to construct big foreign language style (LLM) applications on voice data. Below is an example:.var lemurTaskParams = new LemurTaskParams.Prompt="Offer a quick rundown of the transcript.",.TranscriptIds = [transcript.Id],.FinalModel = LemurModel.AnthropicClaude3 _ 5_Sonnet..var reaction = await client.Lemur.TaskAsync( lemurTaskParams).Console.WriteLine( response.Response).Sound Intelligence Designs.Also, the SDK features built-in support for audio cleverness designs, making it possible for feeling evaluation and also other advanced components.var records = await client.Transcripts.TranscribeAsync( new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3",.SentimentAnalysis = real. ).foreach (var cause transcript.SentimentAnalysisResults!).Console.WriteLine( result.Text).Console.WriteLine( result.Sentiment)// FAVORABLE, NEUTRAL, or even NEGATIVE.Console.WriteLine( result.Confidence).Console.WriteLine($" Timestamp: result.Start - result.End ").To learn more, check out the main AssemblyAI blog.Image resource: Shutterstock.