Class: Xberg::TranscriptionConfig
- Inherits:
-
Object
- Object
- Xberg::TranscriptionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#allow_network ⇒ Boolean
readonly
Returns the value of attribute allow_network.
-
#enabled ⇒ Boolean
readonly
Returns the value of attribute enabled.
-
#language ⇒ String?
readonly
Returns the value of attribute language.
-
#max_bytes ⇒ Integer?
readonly
Returns the value of attribute max_bytes.
-
#max_duration_ms ⇒ Integer?
readonly
Returns the value of attribute max_duration_ms.
-
#model ⇒ enum_WhisperModel
readonly
Returns the value of attribute model.
-
#model_cache_dir ⇒ String?
readonly
Returns the value of attribute model_cache_dir.
-
#timeout_ms ⇒ Integer?
readonly
Returns the value of attribute timeout_ms.
-
#timestamps ⇒ Boolean
readonly
Returns the value of attribute timestamps.
-
#verify_hash ⇒ Boolean
readonly
Returns the value of attribute verify_hash.
Instance Method Summary collapse
-
#initialize ⇒ TranscriptionConfig
constructor
A new instance of TranscriptionConfig.
Constructor Details
#initialize ⇒ TranscriptionConfig
Returns a new instance of TranscriptionConfig.
2612 |
# File 'sig/types.rbs', line 2612 def initialize: (?enabled: bool, ?model: enum_WhisperModel, ?language: String, ?timestamps: bool, ?max_duration_ms: Integer, ?max_bytes: Integer, ?timeout_ms: Integer, ?model_cache_dir: String, ?allow_network: bool, ?verify_hash: bool) -> void |
Instance Attribute Details
#allow_network ⇒ Boolean (readonly)
Returns the value of attribute allow_network.
2609 2610 2611 |
# File 'sig/types.rbs', line 2609 def allow_network @allow_network end |
#enabled ⇒ Boolean (readonly)
Returns the value of attribute enabled.
2601 2602 2603 |
# File 'sig/types.rbs', line 2601 def enabled @enabled end |
#language ⇒ String? (readonly)
Returns the value of attribute language.
2603 2604 2605 |
# File 'sig/types.rbs', line 2603 def language @language end |
#max_bytes ⇒ Integer? (readonly)
Returns the value of attribute max_bytes.
2606 2607 2608 |
# File 'sig/types.rbs', line 2606 def max_bytes @max_bytes end |
#max_duration_ms ⇒ Integer? (readonly)
Returns the value of attribute max_duration_ms.
2605 2606 2607 |
# File 'sig/types.rbs', line 2605 def max_duration_ms @max_duration_ms end |
#model ⇒ enum_WhisperModel (readonly)
Returns the value of attribute model.
2602 2603 2604 |
# File 'sig/types.rbs', line 2602 def model @model end |
#model_cache_dir ⇒ String? (readonly)
Returns the value of attribute model_cache_dir.
2608 2609 2610 |
# File 'sig/types.rbs', line 2608 def model_cache_dir @model_cache_dir end |
#timeout_ms ⇒ Integer? (readonly)
Returns the value of attribute timeout_ms.
2607 2608 2609 |
# File 'sig/types.rbs', line 2607 def timeout_ms @timeout_ms end |
#timestamps ⇒ Boolean (readonly)
Returns the value of attribute timestamps.
2604 2605 2606 |
# File 'sig/types.rbs', line 2604 def end |
#verify_hash ⇒ Boolean (readonly)
Returns the value of attribute verify_hash.
2610 2611 2612 |
# File 'sig/types.rbs', line 2610 def verify_hash @verify_hash end |