Using Client Options with SDKs
Learn how to use different client options with Deepgram SDKs.
JS SDK
The JS SDK provides the ability to set connection-related client options. This is optional and is only needed when a specific need arises.
JS Client Options Interface
Python SDK
The Python SDK provides the ability to set connection-related client options. This is optional and is only needed when a specific need arises.
Python Client Options Interface
The options
field in the constructor is a simple dictionary of key/value pairs. Here are some notable options available:
keep_alive
: This enables the client to automatically sendKeepAlive
messages for Live Transcription.auto_flush_reply_delta
: This value, set in milliseconds, will send aFinalize
message if anis_final
transcription has not been received after the set number of milliseconds.
.NET SDK
The .NET SDK provides the ability to set connection-related client options. This is optional and is only needed when a specific need arises.
.NET Client Options Interface
Go SDK
The Go SDK provides the ability to set connection-related client options. This is optional and is only needed when a specific need arises.