.Guarantee compatibility along with various platforms, including.NET 6.0,. Internet Framework 4.6.2, and.NET Criterion 2.0 and above.Reduce reliances to stop variation disputes and also the necessity for binding redirects.Recording Sound Record.Some of the key functionalities of the SDK is actually audio transcription. Creators may record audio files asynchronously or even in real-time. Below is actually an instance of just how to transcribe an audio documents:.making use of AssemblyAI.utilizing 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 local area documents, similar code can be utilized to attain transcription.wait for using var stream = brand new FileStream("./ nbc.mp3", FileMode.Open).var records = wait for client.Transcripts.TranscribeAsync(.stream,.brand-new TranscriptOptionalParams.LanguageCode = TranscriptLanguageCode.EnUs.).transcript.EnsureStatusCompleted().Console.WriteLine( transcript.Text).Real-Time Audio Transcription.The SDK additionally holds real-time sound transcription utilizing Streaming Speech-to-Text. This function is particularly helpful for requests calling for prompt processing of audio data.using AssemblyAI.Realtime.wait for making use of var scribe = new RealtimeTranscriber( brand-new RealtimeTranscriberOptions.ApiKey="YOUR_API_KEY",.SampleRate = 16_000. ).transcriber.PartialTranscriptReceived.Subscribe( transcript =>Console.WriteLine($" Partial: transcript.Text "). ).transcriber.FinalTranscriptReceived.Subscribe( records =>Console.WriteLine($" Final: transcript.Text "). ).await transcriber.ConnectAsync().// Pseudocode for acquiring sound from a mic as an example.GetAudio( async (chunk) => await transcriber.SendAudioAsync( part)).await transcriber.CloseAsync().Taking Advantage Of LeMUR for LLM Functions.The SDK combines with LeMUR to allow programmers to construct huge foreign language version (LLM) functions on vocal records. Listed below is actually an instance:.var lemurTaskParams = brand new LemurTaskParams.Urge="Supply a brief rundown of the records.",.TranscriptIds = [transcript.Id],.FinalModel = LemurModel.AnthropicClaude3 _ 5_Sonnet..var response = wait for client.Lemur.TaskAsync( lemurTaskParams).Console.WriteLine( response.Response).Sound Knowledge Models.Also, the SDK includes built-in assistance for audio intellect styles, allowing view review as well as various other enhanced functions.var transcript = await client.Transcripts.TranscribeAsync( brand-new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3",.SentimentAnalysis = real. ).foreach (var result in transcript.SentimentAnalysisResults!).Console.WriteLine( result.Text).Console.WriteLine( result.Sentiment)// GOOD, NEUTRAL, or even downside.Console.WriteLine( result.Confidence).Console.WriteLine($" Timestamp: result.Start - result.End ").To read more, go to the official AssemblyAI blog.Image resource: Shutterstock.