Class: Xberg::DeepseekOcrBackendOptions
- Inherits:
-
Object
- Object
- Xberg::DeepseekOcrBackendOptions
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cache_dir ⇒ String?
readonly
Returns the value of attribute cache_dir.
-
#device ⇒ enum_CandleDevicePreference?
readonly
Returns the value of attribute device.
-
#dtype ⇒ enum_CandleDeepseekOcrDtype?
readonly
Returns the value of attribute dtype.
-
#hf_revision ⇒ String?
readonly
Returns the value of attribute hf_revision.
-
#model_id ⇒ String?
readonly
Returns the value of attribute model_id.
-
#model_path ⇒ String?
readonly
Returns the value of attribute model_path.
-
#version ⇒ Integer?
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ DeepseekOcrBackendOptions
constructor
A new instance of DeepseekOcrBackendOptions.
Constructor Details
#initialize ⇒ DeepseekOcrBackendOptions
Returns a new instance of DeepseekOcrBackendOptions.
481 |
# File 'sig/types.rbs', line 481 def initialize: (?model_path: String, ?model_id: String, ?hf_revision: String, ?cache_dir: String, ?device: enum_CandleDevicePreference, ?version: Integer, ?dtype: enum_CandleDeepseekOcrDtype) -> void |
Instance Attribute Details
#cache_dir ⇒ String? (readonly)
Returns the value of attribute cache_dir.
476 477 478 |
# File 'sig/types.rbs', line 476 def cache_dir @cache_dir end |
#device ⇒ enum_CandleDevicePreference? (readonly)
Returns the value of attribute device.
477 478 479 |
# File 'sig/types.rbs', line 477 def device @device end |
#dtype ⇒ enum_CandleDeepseekOcrDtype? (readonly)
Returns the value of attribute dtype.
479 480 481 |
# File 'sig/types.rbs', line 479 def dtype @dtype end |
#hf_revision ⇒ String? (readonly)
Returns the value of attribute hf_revision.
475 476 477 |
# File 'sig/types.rbs', line 475 def hf_revision @hf_revision end |
#model_id ⇒ String? (readonly)
Returns the value of attribute model_id.
474 475 476 |
# File 'sig/types.rbs', line 474 def model_id @model_id end |
#model_path ⇒ String? (readonly)
Returns the value of attribute model_path.
473 474 475 |
# File 'sig/types.rbs', line 473 def model_path @model_path end |
#version ⇒ Integer? (readonly)
Returns the value of attribute version.
478 479 480 |
# File 'sig/types.rbs', line 478 def version @version end |