.Guarantee being compatible along with numerous platforms, including.NET 6.0,. Web Structure 4.6.2, and.NET Requirement 2.0 as well as above.Decrease dependencies to prevent variation problems and also the need for tiing redirects.Transcribing Audio Information.One of the major capabilities of the SDK is actually audio transcription. Creators can record audio reports asynchronously or in real-time. Below is actually an example of exactly how to translate an audio data:.using AssemblyAI.utilizing 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 local reports, identical code may be utilized to obtain transcription.await utilizing var stream = brand-new FileStream("./ nbc.mp3", FileMode.Open).var transcript = wait for client.Transcripts.TranscribeAsync(.stream,.new TranscriptOptionalParams.LanguageCode = TranscriptLanguageCode.EnUs.).transcript.EnsureStatusCompleted().Console.WriteLine( transcript.Text).Real-Time Sound Transcription.The SDK likewise sustains real-time audio transcription using Streaming Speech-to-Text. This component is actually especially beneficial for treatments demanding urgent processing of audio information.utilizing AssemblyAI.Realtime.wait for making use of var transcriber = brand new RealtimeTranscriber( brand-new RealtimeTranscriberOptions.ApiKey="YOUR_API_KEY",.SampleRate = 16_000. ).transcriber.PartialTranscriptReceived.Subscribe( records =>Console.WriteLine($" Limited: transcript.Text "). ).transcriber.FinalTranscriptReceived.Subscribe( transcript =>Console.WriteLine($" Last: transcript.Text "). ).await transcriber.ConnectAsync().// Pseudocode for obtaining sound coming from a mic as an example.GetAudio( async (piece) => await transcriber.SendAudioAsync( piece)).await transcriber.CloseAsync().Making Use Of LeMUR for LLM Functions.The SDK integrates with LeMUR to allow creators to develop big foreign language version (LLM) apps on voice information. Right here is an example:.var lemurTaskParams = brand-new LemurTaskParams.Cause="Give a short summary of the transcript.",.TranscriptIds = [transcript.Id],.FinalModel = LemurModel.AnthropicClaude3 _ 5_Sonnet..var reaction = await client.Lemur.TaskAsync( lemurTaskParams).Console.WriteLine( response.Response).Audio Intellect Versions.Additionally, the SDK possesses integrated help for audio intelligence models, allowing conviction evaluation as well as other sophisticated attributes.var transcript = wait for client.Transcripts.TranscribeAsync( brand-new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3",.SentimentAnalysis = correct. ).foreach (var lead to 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, visit the official AssemblyAI blog.Image resource: Shutterstock.