.Make sure being compatible with numerous platforms, including.NET 6.0,. Web Platform 4.6.2, and.NET Criterion 2.0 and also above.Minimize reliances to stop variation problems as well as the demand for tiing redirects.Recording Audio Record.Some of the primary functions of the SDK is audio transcription. Developers may translate audio files asynchronously or even in real-time. Below is an example of just how to transcribe an audio report:.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 regional files, identical code may be used to accomplish transcription.await using var stream = new FileStream("./ nbc.mp3", FileMode.Open).var transcript = await client.Transcripts.TranscribeAsync(.flow,.new TranscriptOptionalParams.LanguageCode = TranscriptLanguageCode.EnUs.).transcript.EnsureStatusCompleted().Console.WriteLine( transcript.Text).Real-Time Sound Transcription.The SDK additionally sustains real-time audio transcription utilizing Streaming Speech-to-Text. This function is especially beneficial for requests needing prompt handling of audio data.using 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 getting audio from a mic for example.GetAudio( async (piece) => wait for transcriber.SendAudioAsync( part)).await transcriber.CloseAsync().Utilizing LeMUR for LLM Functions.The SDK incorporates along with LeMUR to enable developers to develop big foreign language model (LLM) apps on vocal records. Below is an example:.var lemurTaskParams = brand-new LemurTaskParams.Prompt="Supply a short review of the records.",.TranscriptIds = [transcript.Id],.FinalModel = LemurModel.AnthropicClaude3 _ 5_Sonnet..var action = wait for client.Lemur.TaskAsync( lemurTaskParams).Console.WriteLine( response.Response).Audio Intelligence Styles.In addition, the SDK features integrated support for audio intelligence designs, allowing conviction review and also other state-of-the-art components.var transcript = wait for client.Transcripts.TranscribeAsync( brand-new TranscriptParams.AudioUrl="https://storage.googleapis.com/aai-docs-samples/nbc.mp3",.SentimentAnalysis = true. ).foreach (var cause transcript.SentimentAnalysisResults!).Console.WriteLine( result.Text).Console.WriteLine( result.Sentiment)// GOOD, NEUTRAL, or downside.Console.WriteLine( result.Confidence).Console.WriteLine($" Timestamp: result.Start - result.End ").For additional information, explore the official AssemblyAI blog.Image resource: Shutterstock.