Class: Crawlberg::ExtractionMeta
- Inherits:
-
Object
- Object
- Crawlberg::ExtractionMeta
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#chunks_processed ⇒ Integer
readonly
Returns the value of attribute chunks_processed.
-
#completion_tokens ⇒ Integer?
readonly
Returns the value of attribute completion_tokens.
-
#cost ⇒ Float?
readonly
Returns the value of attribute cost.
-
#model ⇒ String?
readonly
Returns the value of attribute model.
-
#prompt_tokens ⇒ Integer?
readonly
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.
275 |
# File 'sig/types.rbs', line 275
def initialize: (?cost: Float, ?prompt_tokens: Integer, ?completion_tokens: Integer, ?model: String, ?chunks_processed: Integer) -> void
|
Instance Attribute Details
#chunks_processed ⇒ Integer (readonly)
Returns the value of attribute chunks_processed.
273 274 275 |
# File 'sig/types.rbs', line 273 def chunks_processed @chunks_processed end |
#completion_tokens ⇒ Integer? (readonly)
Returns the value of attribute completion_tokens.
271 272 273 |
# File 'sig/types.rbs', line 271 def completion_tokens @completion_tokens end |
#cost ⇒ Float? (readonly)
Returns the value of attribute cost.
269 270 271 |
# File 'sig/types.rbs', line 269 def cost @cost end |
#model ⇒ String? (readonly)
Returns the value of attribute model.
272 273 274 |
# File 'sig/types.rbs', line 272 def model @model end |
#prompt_tokens ⇒ Integer? (readonly)
Returns the value of attribute prompt_tokens.
270 271 272 |
# File 'sig/types.rbs', line 270 def prompt_tokens @prompt_tokens end |