Module: OpenAI::Models::Graders::TextSimilarityGrader::EvaluationMetric

Extended by:
Internal::Type::Enum
Defined in:
lib/openai/models/graders/text_similarity_grader.rb

Overview

The evaluation metric to use. One of fuzzy_match, bleu, gleu, meteor, rouge_1, rouge_2, rouge_3, rouge_4, rouge_5, or rouge_l.

See Also:

Constant Summary collapse

FUZZY_MATCH =
:fuzzy_match
BLEU =
:bleu
GLEU =
:gleu
METEOR =
:meteor
ROUGE_1 =
:rouge_1
ROUGE_2 =
:rouge_2
ROUGE_3 =
:rouge_3
ROUGE_4 =
:rouge_4
ROUGE_5 =
:rouge_5
ROUGE_L =
:rouge_l

Method Summary

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

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, new_coerce_state, type_info