man am i misunderstanding the docs? ```new inferen...
# agents
b
man am i misunderstanding the docs?
Copy code
new inference.STT({
        model: 'assemblyai/universal-streaming',
        language: 'en',
}),
How can I use this with my own livekit server? Just getting
APIConnectionError
when i pass in apiKey or apiSecret
q
inference.STT is using the inference gateway is LiveKit Cloud feature. In order for you to run your STT, you must use the plugin
Copy code
import * as deepgram from '@livekit/agents-plugin-deepgram';  
  
// Create STT instance  
const stt = new deepgram.STT();