Class: Dataleon::Models::Individuals::GenericDocument::Value
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Dataleon::Models::Individuals::GenericDocument::Value
- Defined in:
- lib/dataleon/models/individuals/generic_document.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Float?
Confidence score (between 0 and 1) for the extracted value.
-
#name ⇒ String?
Name or label of the extracted field.
-
#value ⇒ Array<Integer>?
List of integer values related to the field (e.g., bounding box coordinates).
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(confidence: nil, name: nil, value: nil) ⇒ Object
|
|
# File 'lib/dataleon/models/individuals/generic_document.rb', line 122
|
Instance Attribute Details
#confidence ⇒ Float?
Confidence score (between 0 and 1) for the extracted value.
108 |
# File 'lib/dataleon/models/individuals/generic_document.rb', line 108 optional :confidence, Float |
#name ⇒ String?
Name or label of the extracted field.
114 |
# File 'lib/dataleon/models/individuals/generic_document.rb', line 114 optional :name, String |