Class: Xberg::GlmOcrBackendOptions

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGlmOcrBackendOptions

Returns a new instance of GlmOcrBackendOptions.

Parameters:

  • task: (enum_GlmOcrTaskKind)
  • device: (enum_CandleDevicePreference)
  • layout_mode: (enum_GlmOcrLayoutMode)
  • enable_chart_understanding: (Boolean)
  • cache_dir: (String)


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

def initialize: (?task: enum_GlmOcrTaskKind, ?device: enum_CandleDevicePreference, ?layout_mode: enum_GlmOcrLayoutMode, ?enable_chart_understanding: bool, ?cache_dir: String) -> void

Instance Attribute Details

#cache_dirString? (readonly)

Returns the value of attribute cache_dir.

Returns:

  • (String, nil)


1140
1141
1142
# File 'sig/types.rbs', line 1140

def cache_dir
  @cache_dir
end

#deviceenum_CandleDevicePreference? (readonly)

Returns the value of attribute device.

Returns:

  • (enum_CandleDevicePreference, nil)


1137
1138
1139
# File 'sig/types.rbs', line 1137

def device
  @device
end

#enable_chart_understandingBoolean? (readonly)

Returns the value of attribute enable_chart_understanding.

Returns:

  • (Boolean, nil)


1139
1140
1141
# File 'sig/types.rbs', line 1139

def enable_chart_understanding
  @enable_chart_understanding
end

#layout_modeenum_GlmOcrLayoutMode? (readonly)

Returns the value of attribute layout_mode.

Returns:

  • (enum_GlmOcrLayoutMode, nil)


1138
1139
1140
# File 'sig/types.rbs', line 1138

def layout_mode
  @layout_mode
end

#taskenum_GlmOcrTaskKind? (readonly)

Returns the value of attribute task.

Returns:

  • (enum_GlmOcrTaskKind, nil)


1136
1137
1138
# File 'sig/types.rbs', line 1136

def task
  @task
end