Class: Xberg::TranslationConfig

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTranslationConfig

Returns a new instance of TranslationConfig.

Parameters:

  • target_lang: (String)
  • source_lang: (String)
  • preserve_markup: (Boolean)
  • llm: (LlmConfig)


583
# File 'sig/types.rbs', line 583

def initialize: (target_lang: String, ?source_lang: String, preserve_markup: bool, llm: LlmConfig) -> void

Instance Attribute Details

#llmLlmConfig (readonly)

Returns the value of attribute llm.

Returns:



581
582
583
# File 'sig/types.rbs', line 581

def llm
  @llm
end

#preserve_markupBoolean (readonly)

Returns the value of attribute preserve_markup.

Returns:

  • (Boolean)


580
581
582
# File 'sig/types.rbs', line 580

def preserve_markup
  @preserve_markup
end

#source_langString (readonly)

Returns the value of attribute source_lang.

Returns:

  • (String)


579
580
581
# File 'sig/types.rbs', line 579

def source_lang
  @source_lang
end

#target_langString (readonly)

Returns the value of attribute target_lang.

Returns:

  • (String)


578
579
580
# File 'sig/types.rbs', line 578

def target_lang
  @target_lang
end