Class: Feather::Result
- Inherits:
-
Object
- Object
- Feather::Result
- Defined in:
- sig/Feather.rbs
Instance Attribute Summary collapse
-
#candidates ⇒ Array[Result]
readonly
Returns the value of attribute candidates.
-
#common_name ⇒ String?
readonly
Returns the value of attribute common_name.
-
#confidence ⇒ Symbol?
readonly
Returns the value of attribute confidence.
-
#consensus_models ⇒ Array[String]?
readonly
Returns the value of attribute consensus_models.
-
#cost ⇒ Float?
readonly
Returns the value of attribute cost.
-
#duration_ms ⇒ Integer?
readonly
Returns the value of attribute duration_ms.
-
#family ⇒ String?
readonly
Returns the value of attribute family.
-
#input_tokens ⇒ Integer?
readonly
Returns the value of attribute input_tokens.
-
#model_id ⇒ String?
readonly
Returns the value of attribute model_id.
-
#output_tokens ⇒ Integer?
readonly
Returns the value of attribute output_tokens.
-
#region_native ⇒ Boolean?
readonly
Returns the value of attribute region_native.
-
#source ⇒ Symbol?
readonly
Returns the value of attribute source.
-
#species ⇒ String?
readonly
Returns the value of attribute species.
Instance Method Summary collapse
- #confident? ⇒ Boolean
-
#initialize ⇒ Result
constructor
A new instance of Result.
- #photography_tips ⇒ Hash[Symbol, String]?
- #region_native? ⇒ Boolean
- #to_h ⇒ Hash[Symbol, untyped]
Constructor Details
#initialize ⇒ Result
Returns a new instance of Result.
44 |
# File 'sig/Feather.rbs', line 44
def initialize: (Hash[Symbol, untyped] attrs) -> void
|
Instance Attribute Details
#candidates ⇒ Array[Result] (readonly)
Returns the value of attribute candidates.
35 36 37 |
# File 'sig/Feather.rbs', line 35 def candidates @candidates end |
#common_name ⇒ String? (readonly)
Returns the value of attribute common_name.
30 31 32 |
# File 'sig/Feather.rbs', line 30 def common_name @common_name end |
#confidence ⇒ Symbol? (readonly)
Returns the value of attribute confidence.
33 34 35 |
# File 'sig/Feather.rbs', line 33 def confidence @confidence end |
#consensus_models ⇒ Array[String]? (readonly)
Returns the value of attribute consensus_models.
42 43 44 |
# File 'sig/Feather.rbs', line 42 def consensus_models @consensus_models end |
#cost ⇒ Float? (readonly)
Returns the value of attribute cost.
38 39 40 |
# File 'sig/Feather.rbs', line 38 def cost @cost end |
#duration_ms ⇒ Integer? (readonly)
Returns the value of attribute duration_ms.
40 41 42 |
# File 'sig/Feather.rbs', line 40 def duration_ms @duration_ms end |
#family ⇒ String? (readonly)
Returns the value of attribute family.
32 33 34 |
# File 'sig/Feather.rbs', line 32 def family @family end |
#input_tokens ⇒ Integer? (readonly)
Returns the value of attribute input_tokens.
36 37 38 |
# File 'sig/Feather.rbs', line 36 def input_tokens @input_tokens end |
#model_id ⇒ String? (readonly)
Returns the value of attribute model_id.
39 40 41 |
# File 'sig/Feather.rbs', line 39 def model_id @model_id end |
#output_tokens ⇒ Integer? (readonly)
Returns the value of attribute output_tokens.
37 38 39 |
# File 'sig/Feather.rbs', line 37 def output_tokens @output_tokens end |
#region_native ⇒ Boolean? (readonly)
Returns the value of attribute region_native.
34 35 36 |
# File 'sig/Feather.rbs', line 34 def region_native @region_native end |
#source ⇒ Symbol? (readonly)
Returns the value of attribute source.
41 42 43 |
# File 'sig/Feather.rbs', line 41 def source @source end |
#species ⇒ String? (readonly)
Returns the value of attribute species.
31 32 33 |
# File 'sig/Feather.rbs', line 31 def species @species end |
Instance Method Details
#confident? ⇒ Boolean
45 |
# File 'sig/Feather.rbs', line 45
def confident?: () -> bool
|
#photography_tips ⇒ Hash[Symbol, String]?
47 |
# File 'sig/Feather.rbs', line 47
def photography_tips: () -> Hash[Symbol, String]?
|
#region_native? ⇒ Boolean
46 |
# File 'sig/Feather.rbs', line 46
def region_native?: () -> bool
|
#to_h ⇒ Hash[Symbol, untyped]
48 |
# File 'sig/Feather.rbs', line 48
def to_h: () -> Hash[Symbol, untyped]
|