.Guarantee being compatible with a number of platforms, including.NET 6.0,. Internet Framework 4.6.2, and.NET Standard 2.0 and above.Minimize reliances to avoid variation problems and also the requirement for binding redirects.Transcribing Sound Data.Among the key functionalities of the SDK is actually audio transcription. Programmers can translate audio data asynchronously or even in real-time. Below is an example of how to record an audio documents:.utilizing AssemblyAI.utilizing AssemblyAI.Transcripts.var client = brand-new AssemblyAIClient(" YOUR_API_KEY").var records = 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 neighborhood files, identical code can be made use of to achieve transcription.await utilizing var flow = brand-new FileStream("./ nbc.mp3", FileMode.Open).var transcript = 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 reinforces real-time audio transcription utilizing Streaming Speech-to-Text. This function is actually especially practical for uses calling for urgent handling of audio records.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( records =>Console.WriteLine($" Partial: transcript.Text "). ).transcriber.FinalTranscriptReceived.Subscribe( transcript =>Console.WriteLine($" Ultimate: transcript.Text "). ).await transcriber.ConnectAsync().// Pseudocode for obtaining sound coming from a microphone as an example.GetAudio( async (portion) => wait for transcriber.SendAudioAsync( piece)).wait for transcriber.CloseAsync().Taking Advantage Of LeMUR for LLM Functions.The SDK integrates along with LeMUR to allow designers to develop large foreign language style (LLM) apps on voice records. Here is an example:.var lemurTaskParams = brand-new LemurTaskParams.Urge="Offer a short recap of the records.",.TranscriptIds = [transcript.Id],.FinalModel = LemurModel.AnthropicClaude3 _ 5_Sonnet..var response = await client.Lemur.TaskAsync( lemurTaskParams).Console.WriteLine( response.Response).Audio Intellect Styles.In addition, the SDK comes with integrated support for audio intellect versions, enabling view study and also various other sophisticated features.var transcript = wait for client.Transcripts.TranscribeAsync( new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3",.SentimentAnalysis = correct. ).foreach (var cause transcript.SentimentAnalysisResults!).Console.WriteLine( result.Text).Console.WriteLine( result.Sentiment)// BENEFICIAL, NEUTRAL, or NEGATIVE.Console.WriteLine( result.Confidence).Console.WriteLine($" Timestamp: result.Start - result.End ").To read more, explore the official AssemblyAI blog.Image resource: Shutterstock.