Class: OpenAI::Models::Evals::Runs::OutputItemListResponse::Sample::Input
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Evals::Runs::OutputItemListResponse::Sample::Input
- Defined in:
- lib/openai/models/evals/runs/output_item_list_response.rb
Instance Attribute Summary collapse
-
#content ⇒ String
The content of the message.
-
#role ⇒ String
The role of the message sender (e.g., system, user, developer).
Instance Method Summary collapse
-
#initialize(error: , finish_reason: , input: , max_completion_tokens: , model: , output: , seed: , temperature: , top_p: , usage: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see OpenAI::Models::Evals::Runs::OutputItemListResponse::Sample for more details.
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(error: , finish_reason: , input: , max_completion_tokens: , model: , output: , seed: , temperature: , top_p: , usage: ) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Evals::Runs::OutputItemListResponse::Sample for more details.
A sample containing the input and output of the evaluation run.
183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/openai/models/evals/runs/output_item_list_response.rb', line 183 class Input < OpenAI::Internal::Type::BaseModel # @!attribute content # The content of the message. # # @return [String] required :content, String # @!attribute role # The role of the message sender (e.g., system, user, developer). # # @return [String] required :role, String # @!method initialize(content:, role:) # An input message. # # @param content [String] The content of the message. # # @param role [String] The role of the message sender (e.g., system, user, developer). end |
Instance Attribute Details
#content ⇒ String
The content of the message.
188 |
# File 'lib/openai/models/evals/runs/output_item_list_response.rb', line 188 required :content, String |
#role ⇒ String
The role of the message sender (e.g., system, user, developer).
194 |
# File 'lib/openai/models/evals/runs/output_item_list_response.rb', line 194 required :role, String |