Class: OpenAI::Models::VectorStores::VectorStoreFile::LastError
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::VectorStores::VectorStoreFile::LastError
- Defined in:
- lib/openai/models/vector_stores/vector_store_file.rb
Overview
Defined Under Namespace
Modules: Code
Instance Attribute Summary collapse
-
#code ⇒ Symbol, OpenAI::Models::VectorStores::VectorStoreFile::LastError::Code
One of ‘server_error` or `rate_limit_exceeded`.
-
#message ⇒ String
A human-readable description of the error.
Instance Method Summary collapse
-
#initialize(code: , message: ) ⇒ Object
constructor
The last error associated with this vector store file.
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, 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(code: , message: ) ⇒ Object
The last error associated with this vector store file. Will be ‘null` if there are no errors.
|
# File 'lib/openai/models/vector_stores/vector_store_file.rb', line 115
|
Instance Attribute Details
#code ⇒ Symbol, OpenAI::Models::VectorStores::VectorStoreFile::LastError::Code
One of ‘server_error` or `rate_limit_exceeded`.
107 |
# File 'lib/openai/models/vector_stores/vector_store_file.rb', line 107 required :code, enum: -> { OpenAI::VectorStores::VectorStoreFile::LastError::Code } |
#message ⇒ String
A human-readable description of the error.
113 |
# File 'lib/openai/models/vector_stores/vector_store_file.rb', line 113 required :message, String |