RealtimeModelDetails

class oci.ai_speech.models.RealtimeModelDetails(**kwargs)

Bases: object

Details of the ASR model used by the realtime speech service.

Attributes

DOMAIN_GENERIC A constant which can be used with the domain property of a RealtimeModelDetails.
DOMAIN_MEDICAL A constant which can be used with the domain property of a RealtimeModelDetails.
domain Gets the domain of this RealtimeModelDetails.
language_code Gets the language_code of this RealtimeModelDetails.

Methods

__init__(**kwargs) Initializes a new RealtimeModelDetails object with values from keyword arguments.
DOMAIN_GENERIC = 'GENERIC'

A constant which can be used with the domain property of a RealtimeModelDetails. This constant has a value of “GENERIC”

DOMAIN_MEDICAL = 'MEDICAL'

A constant which can be used with the domain property of a RealtimeModelDetails. This constant has a value of “MEDICAL”

__init__(**kwargs)

Initializes a new RealtimeModelDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • domain (str) – The value to assign to the domain property of this RealtimeModelDetails. Allowed values for this property are: “GENERIC”, “MEDICAL”
  • language_code (str) – The value to assign to the language_code property of this RealtimeModelDetails.
domain

Gets the domain of this RealtimeModelDetails. Model Domain.

Allowed values for this property are: “GENERIC”, “MEDICAL”

Returns:The domain of this RealtimeModelDetails.
Return type:str
language_code

Gets the language_code of this RealtimeModelDetails. Locale value as per given in [https://datatracker.ietf.org/doc/html/rfc5646]. - en-US: English - United States - es-ES: Spanish - Spain - pt-BR: Portuguese - Brazil - en-GB: English - Great Britain - en-AU: English - Australia - en-IN: English - India - hi-IN: Hindi - India - fr-FR: French - France - de-DE: German - Germany - it-IT: Italian - Italy

Returns:The language_code of this RealtimeModelDetails.
Return type:str