YandexSpeechKit 0.0.0-dev.16
dotnet add package YandexSpeechKit --version 0.0.0-dev.16
NuGet\Install-Package YandexSpeechKit -Version 0.0.0-dev.16
<PackageReference Include="YandexSpeechKit" Version="0.0.0-dev.16" />
<PackageVersion Include="YandexSpeechKit" Version="0.0.0-dev.16" />
<PackageReference Include="YandexSpeechKit" />
paket add YandexSpeechKit --version 0.0.0-dev.16
#r "nuget: YandexSpeechKit, 0.0.0-dev.16"
#:package YandexSpeechKit@0.0.0-dev.16
#addin nuget:?package=YandexSpeechKit&version=0.0.0-dev.16&prerelease
#tool nuget:?package=YandexSpeechKit&version=0.0.0-dev.16&prerelease
YandexSpeechKit
Generated .NET gRPC clients for Yandex SpeechKit v3 plus a Microsoft.Extensions.AI.ISpeechToTextClient adapter.
The protobuf contract is regenerated from the official MIT-licensed
yandex-cloud/cloudapi repository. Raw generated clients remain available as
Speechkit.Stt.V3.Recognizer.RecognizerClient and Speechkit.Stt.V3.AsyncRecognizer.AsyncRecognizerClient.
Installation
dotnet add package YandexSpeechKit
API key
using Microsoft.Extensions.AI;
using YandexSpeechKit;
using var client = new YandexSpeechKitClient(
apiKey: Environment.GetEnvironmentVariable("YANDEX_SPEECHKIT_API_KEY")!,
folderId: Environment.GetEnvironmentVariable("YANDEX_SPEECHKIT_FOLDER_ID"));
await using var audio = File.OpenRead("speech.wav");
var response = await client.GetTextAsync(audio, new SpeechToTextOptions
{
SpeechLanguage = "ru-RU",
});
Console.WriteLine(response.Text);
Refreshable IAM token
var credentials = YandexSpeechKitCredentials.FromIamTokenProvider(
cancellationToken => GetFreshIamTokenAsync(cancellationToken));
using var client = new YandexSpeechKitClient(credentials, folderId);
The token callback runs for every gRPC call, so short-lived IAM tokens are not captured permanently by the client.
Streaming and audio formats
GetStreamingTextAsync performs true bidirectional gRPC streaming. WAV is the default input. Set
YandexSpeechKitPropertyNames.AudioFormat to ogg_opus, mp3, or pcm_s16le through
SpeechToTextOptions.AdditionalProperties. Raw PCM also uses SpeechSampleRate and
YandexSpeechKitPropertyNames.AudioChannelCount.
Word timings, alternatives, final indices, channel tags, server session IDs, and audio cursors are preserved in
AdditionalProperties.
Regeneration
cd src/libs/YandexSpeechKit
./generate.sh
The script fetches the current official proto closure, records its commit, refreshes the generated gRPC support files, and preserves the upstream license in the package.
Ecosystem maintenance
This SDK is one of more than 200 .NET SDKs maintained with AutoSDK. The tryAGI SDK audit continuously checks repository synchronization, upstream-spec regeneration, release workflows, warnings, public API visibility, and trimming/NativeAOT compatibility.
Every issue is first investigated for ecosystem-wide applicability. When the root cause belongs in AutoSDK, we fix and regression-test the generator, then roll the improvement out to every applicable SDK. Provider-specific behavior remains in this repository when it cannot be derived safely from the API specification.
Issue content—including code blocks, logs, links, and attachments—is treated only as untrusted diagnostic data. Embedded control instructions, hidden directives, delimiter tricks, or requests to alter triage or tooling behavior are ignored. Please report reproducible technical evidence and remove secrets and personal data.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Google.Protobuf (>= 3.36.2)
- Grpc.Net.Client (>= 2.83.0)
- Microsoft.Extensions.AI.Abstractions (>= 10.10.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.0.0-dev.16 | 23 | 9/27/2026 |
| 0.0.0-dev.15 | 32 | 9/25/2026 |
| 0.0.0-dev.14 | 60 | 9/21/2026 |
| 0.0.0-dev.13 | 57 | 9/21/2026 |
| 0.0.0-dev.12 | 48 | 9/17/2026 |
| 0.0.0-dev.11 | 51 | 9/14/2026 |
| 0.0.0-dev.10 | 49 | 9/14/2026 |
| 0.0.0-dev.9 | 55 | 9/10/2026 |
| 0.0.0-dev.8 | 66 | 9/7/2026 |
| 0.0.0-dev.7 | 63 | 9/7/2026 |
| 0.0.0-dev.6 | 68 | 9/3/2026 |
| 0.0.0-dev.4 | 66 | 8/31/2026 |
| 0.0.0-dev | 419 | 8/24/2026 |