Skip to content

Speech To Text Client Get Service Metadata

This example assumes using AssemblyAI; is in scope and apiKey contains your AssemblyAI API key.

1
2
3
4
5
using var client = new AssemblyAIClient("dummy-key");
ISpeechToTextClient speechClient = client;

// Retrieve metadata about the speech-to-text provider.
var metadata = speechClient.GetService<SpeechToTextClientMetadata>();