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)


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

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:



523
524
525
# File 'sig/types.rbs', line 523

def llm
  @llm
end

#preserve_markupBoolean (readonly)

Returns the value of attribute preserve_markup.

Returns:

  • (Boolean)


522
523
524
# File 'sig/types.rbs', line 522

def preserve_markup
  @preserve_markup
end

#source_langString (readonly)

Returns the value of attribute source_lang.

Returns:

  • (String)


521
522
523
# File 'sig/types.rbs', line 521

def source_lang
  @source_lang
end

#target_langString (readonly)

Returns the value of attribute target_lang.

Returns:

  • (String)


520
521
522
# File 'sig/types.rbs', line 520

def target_lang
  @target_lang
end