Class: Deeprails::Models::WorkflowEventDetailResponse::EvaluationHistory

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/deeprails/models/workflow_event_detail_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(evaluation_history:, evaluation_result:, event_id:, filtered:, improved_model_output:, improvement_action:, improvement_tool_status:, status:, threshold_type:, workflow_id:, automatic_hallucination_tolerance_levels: nil, capabilities: nil, custom_hallucination_threshold_values: nil, files: nil) ⇒ Object

Some parameter documentations has been truncated, see Deeprails::Models::WorkflowEventDetailResponse for more details.

Parameters:



134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 134

class EvaluationHistory < Deeprails::Internal::Type::BaseModel
  # @!attribute attempt
  #
  #   @return [String, nil]
  optional :attempt, String

  # @!attribute created_at
  #
  #   @return [Time, nil]
  optional :created_at, Time

  # @!attribute error_message
  #
  #   @return [String, nil]
  optional :error_message, String

  # @!attribute evaluation_result
  #
  #   @return [Hash{Symbol=>Object}, nil]
  optional :evaluation_result, Deeprails::Internal::Type::HashOf[Deeprails::Internal::Type::Unknown]

  # @!attribute evaluation_status
  #
  #   @return [String, nil]
  optional :evaluation_status, String

  # @!attribute evaluation_total_cost
  #
  #   @return [Float, nil]
  optional :evaluation_total_cost, Float

  # @!attribute guardrail_metrics
  #
  #   @return [Array<String>, nil]
  optional :guardrail_metrics, Deeprails::Internal::Type::ArrayOf[String]

  # @!attribute model_input
  #
  #   @return [Hash{Symbol=>Object}, nil]
  optional :model_input, Deeprails::Internal::Type::HashOf[Deeprails::Internal::Type::Unknown]

  # @!attribute model_output
  #
  #   @return [String, nil]
  optional :model_output, String

  # @!attribute modified_at
  #
  #   @return [Time, nil]
  optional :modified_at, Time

  # @!attribute nametag
  #
  #   @return [String, nil]
  optional :nametag, String

  # @!attribute progress
  #
  #   @return [Integer, nil]
  optional :progress, Integer

  # @!attribute run_mode
  #
  #   @return [String, nil]
  optional :run_mode, String

  # @!method initialize(attempt: nil, created_at: nil, error_message: nil, evaluation_result: nil, evaluation_status: nil, evaluation_total_cost: nil, guardrail_metrics: nil, model_input: nil, model_output: nil, modified_at: nil, nametag: nil, progress: nil, run_mode: nil)
  #   @param attempt [String]
  #   @param created_at [Time]
  #   @param error_message [String]
  #   @param evaluation_result [Hash{Symbol=>Object}]
  #   @param evaluation_status [String]
  #   @param evaluation_total_cost [Float]
  #   @param guardrail_metrics [Array<String>]
  #   @param model_input [Hash{Symbol=>Object}]
  #   @param model_output [String]
  #   @param modified_at [Time]
  #   @param nametag [String]
  #   @param progress [Integer]
  #   @param run_mode [String]
end

Instance Attribute Details

#attemptString?

Returns:

  • (String, nil)


138
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 138

optional :attempt, String

#created_atTime?

Returns:

  • (Time, nil)


143
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 143

optional :created_at, Time

#error_messageString?

Returns:

  • (String, nil)


148
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 148

optional :error_message, String

#evaluation_resultHash{Symbol=>Object}?

Returns:

  • (Hash{Symbol=>Object}, nil)


153
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 153

optional :evaluation_result, Deeprails::Internal::Type::HashOf[Deeprails::Internal::Type::Unknown]

#evaluation_statusString?

Returns:

  • (String, nil)


158
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 158

optional :evaluation_status, String

#evaluation_total_costFloat?

Returns:

  • (Float, nil)


163
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 163

optional :evaluation_total_cost, Float

#guardrail_metricsArray<String>?

Returns:

  • (Array<String>, nil)


168
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 168

optional :guardrail_metrics, Deeprails::Internal::Type::ArrayOf[String]

#model_inputHash{Symbol=>Object}?

Returns:

  • (Hash{Symbol=>Object}, nil)


173
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 173

optional :model_input, Deeprails::Internal::Type::HashOf[Deeprails::Internal::Type::Unknown]

#model_outputString?

Returns:

  • (String, nil)


178
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 178

optional :model_output, String

#modified_atTime?

Returns:

  • (Time, nil)


183
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 183

optional :modified_at, Time

#nametagString?

Returns:

  • (String, nil)


188
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 188

optional :nametag, String

#progressInteger?

Returns:

  • (Integer, nil)


193
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 193

optional :progress, Integer

#run_modeString?

Returns:

  • (String, nil)


198
# File 'lib/deeprails/models/workflow_event_detail_response.rb', line 198

optional :run_mode, String