Class: Xberg::TranslationConfig
- Inherits:
-
Object
- Object
- Xberg::TranslationConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#llm ⇒ LlmConfig
readonly
Returns the value of attribute llm.
-
#preserve_markup ⇒ Boolean
readonly
Returns the value of attribute preserve_markup.
-
#source_lang ⇒ String?
readonly
Returns the value of attribute source_lang.
-
#target_lang ⇒ String
readonly
Returns the value of attribute target_lang.
Instance Method Summary collapse
-
#initialize ⇒ TranslationConfig
constructor
A new instance of TranslationConfig.
Constructor Details
#initialize ⇒ TranslationConfig
Returns a new instance of TranslationConfig.
2630 |
# File 'sig/types.rbs', line 2630 def initialize: (target_lang: String, ?source_lang: String, preserve_markup: bool, llm: LlmConfig) -> void |
Instance Attribute Details
#llm ⇒ LlmConfig (readonly)
Returns the value of attribute llm.
2628 2629 2630 |
# File 'sig/types.rbs', line 2628 def llm @llm end |
#preserve_markup ⇒ Boolean (readonly)
Returns the value of attribute preserve_markup.
2627 2628 2629 |
# File 'sig/types.rbs', line 2627 def preserve_markup @preserve_markup end |
#source_lang ⇒ String? (readonly)
Returns the value of attribute source_lang.
2626 2627 2628 |
# File 'sig/types.rbs', line 2626 def source_lang @source_lang end |
#target_lang ⇒ String (readonly)
Returns the value of attribute target_lang.
2625 2626 2627 |
# File 'sig/types.rbs', line 2625 def target_lang @target_lang end |