Akay.To.AI
0.0.4
dotnet add package Akay.To.AI --version 0.0.4
NuGet\Install-Package Akay.To.AI -Version 0.0.4
<PackageReference Include="Akay.To.AI" Version="0.0.4" />
<PackageVersion Include="Akay.To.AI" Version="0.0.4" />
<PackageReference Include="Akay.To.AI" />
paket add Akay.To.AI --version 0.0.4
#r "nuget: Akay.To.AI, 0.0.4"
#:package Akay.To.AI@0.0.4
#addin nuget:?package=Akay.To.AI&version=0.0.4
#tool nuget:?package=Akay.To.AI&version=0.0.4
Akay.To.AI
Integraciones reutilizables de inteligencia artificial y proveedores externos: Azure Speech y Azure Translator. Los contratos públicos viven en Akay.To.Core; aquí están las implementaciones. Depende de Akay.To.Core.
¿Para qué sirve?
Para añadir capacidades de voz (texto a voz y voz a texto) y traducción a tu aplicación sin acoplarte a los SDKs de Azure Cognitive Services, con retry, caché y health checks incluidos.
Funcionalidades
Speech (Azure Cognitive Services)
AzureCognitiveSpeechService implementa ICognitiveSpeechService:
- Texto a voz (TTS):
TextToSpeechStreamAsyncsintetiza y transmite el audio por fragmentos a medida que se genera - TTS con caché:
TextToSpeechCacheableStreamAsyncguarda el audio en Blob Storage y lo sirve desde ahí en llamadas posteriores con los mismos parámetros de voz (no vuelve a sintetizar) - Voz a texto (STT):
SpeechToTextAsyncreconoce un audio WAV/PCM completo, con reintentos automáticos y backoff configurable - STT streaming:
SpeechToTextStreamAsynctransmite los fragmentos de texto reconocidos en tiempo real (filtrando duplicados) - Health check
azure_speech
services.AddAzureCognitiveSpeechServices(settings?.SpeechSettings);
{
"SpeechSettings": {
"Key": "<azure-speech-key>",
"Region": "westeurope"
}
}
Translator (Azure Cognitive Services)
AzureCognitiveTranslatorService implementa ICognitiveTranslatorService:
TranslateTextAsynctraduce un texto a uno o varios idiomas de destino- Auto-detección del idioma de origen si no se especifica
- Retry y backoff configurable (constant, linear, exponential)
- Resultado tipado:
TranslationResultconDetectedLanguageyTranslations - Health check
azure_translator
services.AddAzureCognitiveTranslatorServices(settings?.TranslatorSettings);
{
"TranslatorSettings": {
"BaseUrl": "https://api.cognitive.microsofttranslator.com/",
"Key": "<azure-translator-key>",
"Region": "westeurope"
}
}
Documentación
Consulta docs/CognitiveServices/ para guías detalladas de Speech y Translator.
Changelog
0.0.4
- 2026-09-10
- refactor: Enroll course and subjects (04b4c3c)
0.0.3
- 2026-07-28
- chore: rerun ci wokrflow (728f954)
0.0.2
- 2026-07-28
- chore: bump Akay.To.Core to 1.1.5 (9774773)
0.0.1
- 2026-06-09
- Commit inicial con la estructura del proyecto.
- Azure Cognitive Speech y Azure Translator movidos desde
Akay.To.Azure.
| 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
- Akay.To.Core (>= 1.1.11)
- Microsoft.CognitiveServices.Speech (>= 1.50.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.