Interface: ConversationOptions

Optional parameters for Conversation class constructor.

Properties

country

Optional country: string

Specify which country will be used to interpret certain entities.


ignoreDecodingEvents

Optional ignoreDecodingEvents: DecodingEvent[]

Specify on which decoding events we want to unsubscribe to.


ignoreEntities

Optional ignoreEntities: EntityEvent[]

Specify on which entity events we want to unsubscribe to.


interim_results

Optional interim_results: boolean

Send interim segments as well as the final segments.


model

Optional model: string

Specify which model to use to decode the audio.


origin

Optional origin: number

If provided, it's a Unix Timestamp in millisecond that sets the origin of time for the transcript events.


readonly

Optional readonly: boolean

Set to true if you don't want to send audio but only read. Note that in read-only mode, no events will be emitted.


rescoring

Optional rescoring: boolean

Rescore the transcript result for better results.


speaker

Optional speaker: string

Speaker identifier.


wrapper

Optional wrapper: string

Specify in which element the conversation should be displayed.