Class: Xberg::TranscriptionConfig
- Inherits:
-
Object
- Object
- Xberg::TranscriptionConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#allow_network ⇒ Boolean?
Returns the value of attribute allow_network.
-
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
-
#language ⇒ String?
Returns the value of attribute language.
-
#max_bytes ⇒ Integer?
Returns the value of attribute max_bytes.
-
#max_duration_ms ⇒ Integer?
Returns the value of attribute max_duration_ms.
-
#model ⇒ WhisperModel?
Returns the value of attribute model.
-
#model_cache_dir ⇒ String?
Returns the value of attribute model_cache_dir.
-
#timeout_ms ⇒ Integer?
Returns the value of attribute timeout_ms.
-
#timestamps ⇒ Boolean?
Returns the value of attribute timestamps.
-
#verify_hash ⇒ Boolean?
Returns the value of attribute verify_hash.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ TranscriptionConfig
constructor
A new instance of TranscriptionConfig.
Constructor Details
#initialize ⇒ TranscriptionConfig
Returns a new instance of TranscriptionConfig.
515 |
# File 'sig/types.rbs', line 515
def initialize: (?enabled: bool, ?model: 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?
Returns the value of attribute allow_network.
512 513 514 |
# File 'sig/types.rbs', line 512 def allow_network @allow_network end |
#enabled ⇒ Boolean?
Returns the value of attribute enabled.
504 505 506 |
# File 'sig/types.rbs', line 504 def enabled @enabled end |
#language ⇒ String?
Returns the value of attribute language.
506 507 508 |
# File 'sig/types.rbs', line 506 def language @language end |
#max_bytes ⇒ Integer?
Returns the value of attribute max_bytes.
509 510 511 |
# File 'sig/types.rbs', line 509 def max_bytes @max_bytes end |
#max_duration_ms ⇒ Integer?
Returns the value of attribute max_duration_ms.
508 509 510 |
# File 'sig/types.rbs', line 508 def max_duration_ms @max_duration_ms end |
#model ⇒ WhisperModel?
Returns the value of attribute model.
505 506 507 |
# File 'sig/types.rbs', line 505 def model @model end |
#model_cache_dir ⇒ String?
Returns the value of attribute model_cache_dir.
511 512 513 |
# File 'sig/types.rbs', line 511 def model_cache_dir @model_cache_dir end |
#timeout_ms ⇒ Integer?
Returns the value of attribute timeout_ms.
510 511 512 |
# File 'sig/types.rbs', line 510 def timeout_ms @timeout_ms end |
#timestamps ⇒ Boolean?
Returns the value of attribute timestamps.
507 508 509 |
# File 'sig/types.rbs', line 507 def @timestamps end |
#verify_hash ⇒ Boolean?
Returns the value of attribute verify_hash.
513 514 515 |
# File 'sig/types.rbs', line 513 def verify_hash @verify_hash end |
Class Method Details
.default ⇒ TranscriptionConfig
516 |
# File 'sig/types.rbs', line 516
def self.default: () -> TranscriptionConfig
|