Skip to content

Speech To Text Client Get Service Self

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;

// Access the underlying AssemblyAIClient from the MEAI interface.
var self = speechClient.GetService<AssemblyAIClient>();