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)


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

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:



554
555
556
# File 'sig/types.rbs', line 554

def llm
  @llm
end

#preserve_markupBoolean (readonly)

Returns the value of attribute preserve_markup.

Returns:

  • (Boolean)


553
554
555
# File 'sig/types.rbs', line 553

def preserve_markup
  @preserve_markup
end

#source_langString (readonly)

Returns the value of attribute source_lang.

Returns:

  • (String)


552
553
554
# File 'sig/types.rbs', line 552

def source_lang
  @source_lang
end

#target_langString (readonly)

Returns the value of attribute target_lang.

Returns:

  • (String)


551
552
553
# File 'sig/types.rbs', line 551

def target_lang
  @target_lang
end