Class: OpenAI::Models::VectorStore::FileCounts
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::VectorStore::FileCounts
- Defined in:
- lib/openai/models/vector_store.rb,
sig/openai/models/vector_store.rbs
Overview
Instance Attribute Summary collapse
-
#cancelled ⇒ Integer
The number of files that were cancelled.
-
#completed ⇒ Integer
The number of files that have been successfully processed.
-
#failed ⇒ Integer
The number of files that have failed to process.
-
#in_progress ⇒ Integer
The number of files that are currently being processed.
-
#total ⇒ Integer
The total number of files.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ FileCounts
constructor
A new instance of FileCounts.
- #to_hash ⇒ { cancelled: Integer, completed: Integer, failed: Integer, in_progress: Integer, total: Integer }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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 ⇒ FileCounts
Returns a new instance of FileCounts.
151 152 153 154 155 156 157 |
# File 'sig/openai/models/vector_store.rbs', line 151
def initialize: (
cancelled: Integer,
completed: Integer,
failed: Integer,
in_progress: Integer,
total: Integer
) -> void
|
Instance Attribute Details
#cancelled ⇒ Integer
The number of files that were cancelled.
126 |
# File 'lib/openai/models/vector_store.rb', line 126 required :cancelled, Integer |
#completed ⇒ Integer
The number of files that have been successfully processed.
132 |
# File 'lib/openai/models/vector_store.rb', line 132 required :completed, Integer |
#failed ⇒ Integer
The number of files that have failed to process.
138 |
# File 'lib/openai/models/vector_store.rb', line 138 required :failed, Integer |
#in_progress ⇒ Integer
The number of files that are currently being processed.
144 |
# File 'lib/openai/models/vector_store.rb', line 144 required :in_progress, Integer |
#total ⇒ Integer
The total number of files.
150 |
# File 'lib/openai/models/vector_store.rb', line 150 required :total, Integer |
Instance Method Details
#to_hash ⇒ { cancelled: Integer, completed: Integer, failed: Integer, in_progress: Integer, total: Integer }
159 160 161 162 163 164 165 |
# File 'sig/openai/models/vector_store.rbs', line 159
def to_hash: -> {
cancelled: Integer,
completed: Integer,
failed: Integer,
in_progress: Integer,
total: Integer
}
|