Create a custom evaluation metric beyond the 27 built-in scorers
Create a custom scorer for domain-specific evaluation criteria. Playgent provides 27 built-in metrics (RAG, safety, agentic, multi-turn), but use this endpoint when you need evaluation logic specific to your use case.Documentation Index
Fetch the complete documentation index at: https://playgent.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
playval,
faithfulness, answer_relevancy, bias, toxicity, and other
out-of-the-box metrics.llm_judge
code
regex
policy_compliance, discount_accuracy)llm_judge, code, or regexplayval with a custom expected_behavior or use safety metrics like bias/toxicity before creating a full scorer{{output}}, {{input}}, {{context}} to reference evaluation data