Closed louisbrulenaudet closed 5 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
evals-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 13, 2024 8:41pm |
@louisbrulenaudet What is the piece of code you're showing^ ?
Hallucination uses context while faithfulness will use retrieval context: https://docs.confident-ai.com/docs/metrics-faithfulness, not sure if you discovered this.
Replace
context
withretrieval_context
inLLMTestCaseParams
forHallucinationMetric
to align with other classes and implement a loop over evaluators using the sameTestCase
.Previously, this class was the only one not to borrow this nomenclature, which blocked the possibility of producing loops on the same
TestCase
. Now, codes like the following are possibleLet me know if you have any questions.
Louis Brulé Naudet