LangSmith · Interface
StringEvaluator
StringEvaluator defines a common interface for evaluating text produced by chains or language models. It can use the input and an optional reference label to grade or tag predictions.
Last updated
- Since
- v1.4
Syntax
class StringEvaluator(_EvalArgsMixin, ABC)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
_EvalArgsMixinABCevaluate_stringsaevaluate_strings