.Ensure compatibility with numerous frameworks, including.NET 6.0,. NET Framework 4.6.2, and.NET Standard 2.0 and above.Decrease reliances to prevent version disagreements and also the need for tiing redirects.Translating Sound Info.One of the main performances of the SDK is actually audio transcription. Programmers may record audio reports asynchronously or in real-time. Below is actually an example of how to record an audio documents:.utilizing AssemblyAI.utilizing 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 neighborhood data, comparable code can be used to achieve transcription.wait for making use of var stream = brand-new FileStream("./ nbc.mp3", FileMode.Open).var records = await client.Transcripts.TranscribeAsync(.stream,.brand-new TranscriptOptionalParams.LanguageCode = TranscriptLanguageCode.EnUs.).transcript.EnsureStatusCompleted().Console.WriteLine( transcript.Text).Real-Time Sound Transcription.The SDK likewise holds real-time audio transcription using Streaming Speech-to-Text. This attribute is particularly practical for uses requiring immediate processing of audio records.making use of AssemblyAI.Realtime.await utilizing 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 "). ).wait for transcriber.ConnectAsync().// Pseudocode for acquiring audio from a microphone as an example.GetAudio( async (piece) => wait for transcriber.SendAudioAsync( part)).wait for transcriber.CloseAsync().Utilizing LeMUR for LLM Functions.The SDK includes with LeMUR to permit developers to build huge foreign language version (LLM) functions on vocal records. Listed here is an instance:.var lemurTaskParams = brand-new LemurTaskParams.Cue="Offer a quick summary of the records.",.TranscriptIds = [transcript.Id],.FinalModel = LemurModel.AnthropicClaude3 _ 5_Sonnet..var reaction = await client.Lemur.TaskAsync( lemurTaskParams).Console.WriteLine( response.Response).Audio Knowledge Designs.Additionally, the SDK possesses integrated assistance for audio intellect styles, allowing sentiment study and also other state-of-the-art components.var records = wait for client.Transcripts.TranscribeAsync( new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3",.SentimentAnalysis = accurate. ).foreach (var result in 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 read more, go to the official AssemblyAI blog.Image resource: Shutterstock.