Skip to main content

configure_session

An asynchronous function that runs at the beginning of every session. It configures the session by returning a SessionConfig object, which contains parameters like VAD (voice activity detection), STT (speech-to-text), TTS (text-to-speech), the initial messages of the session, etc.

Example usage

Parameters

object
required
Example input parameter:

Returns

object
required