Class: Telnyx::Models::AI::Assistants::TestUpdateParams::Rubric

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/ai/assistants/test_update_params.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(criteria:, name:) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::AI::Assistants::TestUpdateParams::Rubric for more details.

Parameters:

  • criteria (String)

    Specific guidance on how to assess the assistant’s performance for this rubric i

  • name (String)

    Label for the evaluation criterion, e.g., Empathy, Accuracy, Clarity.



86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'lib/telnyx/models/ai/assistants/test_update_params.rb', line 86

class Rubric < Telnyx::Internal::Type::BaseModel
  # @!attribute criteria
  #   Specific guidance on how to assess the assistant’s performance for this rubric
  #   item.
  #
  #   @return [String]
  required :criteria, String

  # @!attribute name
  #   Label for the evaluation criterion, e.g., Empathy, Accuracy, Clarity.
  #
  #   @return [String]
  required :name, String

  # @!method initialize(criteria:, name:)
  #   Some parameter documentations has been truncated, see
  #   {Telnyx::Models::AI::Assistants::TestUpdateParams::Rubric} for more details.
  #
  #   @param criteria [String] Specific guidance on how to assess the assistant’s performance for this rubric i
  #
  #   @param name [String] Label for the evaluation criterion, e.g., Empathy, Accuracy, Clarity.
end

Instance Attribute Details

#criteriaString

Specific guidance on how to assess the assistant’s performance for this rubric item.

Returns:

  • (String)


92
# File 'lib/telnyx/models/ai/assistants/test_update_params.rb', line 92

required :criteria, String

#nameString

Label for the evaluation criterion, e.g., Empathy, Accuracy, Clarity.

Returns:

  • (String)


98
# File 'lib/telnyx/models/ai/assistants/test_update_params.rb', line 98

required :name, String