Class: Crawlberg::ExtractionMeta
- Inherits:
-
Object
- Object
- Crawlberg::ExtractionMeta
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#chunks_processed ⇒ Integer?
Returns the value of attribute chunks_processed.
-
#completion_tokens ⇒ Integer?
Returns the value of attribute completion_tokens.
-
#cost ⇒ Float?
Returns the value of attribute cost.
-
#model ⇒ String?
Returns the value of attribute model.
-
#prompt_tokens ⇒ Integer?
Returns the value of attribute prompt_tokens.
Instance Method Summary collapse
-
#initialize ⇒ ExtractionMeta
constructor
A new instance of ExtractionMeta.
Constructor Details
#initialize ⇒ ExtractionMeta
Returns a new instance of ExtractionMeta.
19 |
# File 'sig/types.rbs', line 19
def initialize: (?cost: Float, ?prompt_tokens: Integer, ?completion_tokens: Integer, ?model: String, ?chunks_processed: Integer) -> void
|
Instance Attribute Details
#chunks_processed ⇒ Integer?
Returns the value of attribute chunks_processed.
17 18 19 |
# File 'sig/types.rbs', line 17 def chunks_processed @chunks_processed end |
#completion_tokens ⇒ Integer?
Returns the value of attribute completion_tokens.
15 16 17 |
# File 'sig/types.rbs', line 15 def completion_tokens @completion_tokens end |
#cost ⇒ Float?
Returns the value of attribute cost.
13 14 15 |
# File 'sig/types.rbs', line 13 def cost @cost end |
#model ⇒ String?
Returns the value of attribute model.
16 17 18 |
# File 'sig/types.rbs', line 16 def model @model end |
#prompt_tokens ⇒ Integer?
Returns the value of attribute prompt_tokens.
14 15 16 |
# File 'sig/types.rbs', line 14 def prompt_tokens @prompt_tokens end |