From 8d8c291cfff4a211175ba7ae218888b5d0a28b4a Mon Sep 17 00:00:00 2001 From: Jeffrey Ip Date: Wed, 10 Jan 2024 11:21:36 -0800 Subject: [PATCH] Fix docs --- docs/docs/metrics-toxicity.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/metrics-toxicity.mdx b/docs/docs/metrics-toxicity.mdx index 0af3e030a..90d34aec6 100644 --- a/docs/docs/metrics-toxicity.mdx +++ b/docs/docs/metrics-toxicity.mdx @@ -33,7 +33,7 @@ from deepeval.test_case import LLMTestCase, LLMTestCaseParams # Replace this with the actual output from your LLM application actual_output = "We offer a 30-day full refund at no extra cost." -metric = UnBiasedMetric( +metric = NonToxicMetric( evaluation_params=[LLMTestCaseParams.INPUT, LLMTestCaseParams.ACTUAL_OUTPUT], minimum_score=0.5 )