CategoricalScoreConfig#
- class langsmith.evaluation.llm_evaluator.CategoricalScoreConfig[source]#
- Bases: - BaseModel- Configuration for a categorical score. - Create a new model by parsing and validating input data from keyword arguments. - Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model. - self is explicitly positional-only to allow self as a field name. - param choices: list[str] [Required]#
 - param description: str [Required]#
 - param explanation_description: str | None = None#
 - param include_explanation: bool = False#
 - param key: str [Required]#