root.validators =============== .. py:module:: root.validators Classes ------- .. autoapisummary:: root.validators.AValidator root.validators.Validator Functions --------- .. autoapisummary:: root.validators.APredicateValidator root.validators.PredicateValidator Module Contents --------------- .. py:class:: AValidator(*, evaluator_id: Optional[str] = None, evaluator_name: Optional[str] = None, prompt: Optional[str] = None, model: Optional[root.skills.ModelName] = None, threshold: float = 0.0) .. py:attribute:: evaluator_id .. py:attribute:: evaluator_name .. py:attribute:: model .. py:attribute:: prompt .. py:attribute:: threshold .. py:class:: Validator(*, evaluator_id: Optional[str] = None, evaluator_name: Optional[str] = None, prompt: Optional[str] = None, model: Optional[root.skills.ModelName] = None, threshold: float = 0.0) .. py:attribute:: evaluator_id .. py:attribute:: evaluator_name .. py:attribute:: model .. py:attribute:: prompt .. py:attribute:: threshold .. py:function:: APredicateValidator(evaluator_id: str, threshold: float) -> AValidator Deprecated name for Validator; please use Validator. .. py:function:: PredicateValidator(evaluator_id: str, threshold: float) -> Validator Deprecated name for Validator; please use Validator.