Module: OpenAI::Models::EvalCreateParams::DataSourceConfig
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/eval_create_params.rb
Overview
The configuration for the data source used for the evaluation runs. Dictates the schema of the data used in the evaluation.
Defined Under Namespace
Classes: Custom, Logs, StoredCompletions
Instance Method Summary collapse
-
#initialize(metadata: nil, type: :logs) ⇒ Object
A data source config which specifies the metadata property of your logs query.
Methods included from Internal::Type::Union
==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Instance Method Details
#initialize(metadata: nil, type: :logs) ⇒ Object
A data source config which specifies the metadata property of your logs query. This is usually metadata like ‘usecase=chatbot` or `prompt-version=v2`, etc.
|
# File 'lib/openai/models/eval_create_params.rb', line 98
|