Class: OpenAI::Models::EvalCreateParams::DataSourceConfig::Logs
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::EvalCreateParams::DataSourceConfig::Logs
- Defined in:
- lib/openai/models/eval_create_params.rb,
sig/openai/models/eval_create_params.rbs
Instance Attribute Summary collapse
-
#metadata ⇒ Hash{Symbol=>Object}?
Metadata filters for the logs data source.
-
#type ⇒ Symbol, :logs
The type of data source.
Instance Method Summary collapse
-
#initialize ⇒ Logs
constructor
A new instance of Logs.
- #to_hash ⇒ { type: :logs, metadata: ::Hash[Symbol, top] }
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, meta_info, new_coerce_state, 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 ⇒ Logs
Returns a new instance of Logs.
88 |
# File 'sig/openai/models/eval_create_params.rbs', line 88
def initialize: (?metadata: ::Hash[Symbol, top], ?type: :logs) -> void
|
Instance Attribute Details
#metadata ⇒ Hash{Symbol=>Object}?
Metadata filters for the logs data source.
127 |
# File 'lib/openai/models/eval_create_params.rb', line 127 optional :metadata, OpenAI::Internal::Type::HashOf[OpenAI::Internal::Type::Unknown] |
#type ⇒ Symbol, :logs
The type of data source. Always logs.
121 |
# File 'lib/openai/models/eval_create_params.rb', line 121 required :type, const: :logs |
Instance Method Details
#to_hash ⇒ { type: :logs, metadata: ::Hash[Symbol, top] }
90 |
# File 'sig/openai/models/eval_create_params.rbs', line 90
def to_hash: -> { type: :logs, metadata: ::Hash[Symbol, top] }
|