6 ms·
We're thrilled to announce the launch of DeepEval, an LLM evaluation and testing suite designed to work nicely within a CI/CD pipeline. As more companies integ
by jacky2wong 3y ago
We're thrilled to announce the launch of DeepEval, an LLM evaluation and testing suite designed to work nicely within a CI/CD pipeline.
As more companies integrate LLM/RAG applications into their operations, ensuring the effectiveness, reliability and safety of these models is hard.
About DeepEval
We started with consulting on a few RAG projects and quickly realised how many issues came up when we iterated on our prompts, chunking methodologies, added function calls, added guardrails, etc. Very quickly we realised this had downstream effects that caused unexpected problems and results.
DeepEval, inspired by Pytest, aims to make iterating on these RAG and agent applications as easy as possible by building evaluation into part of their CI/CD workflow. The goal is to make deployment of LLMs as straightforward as getting all tests to pass.
Some features of DeepEval include:
- Opinionated tests for answer relevancy, factual consistency, toxicness, bias.
- Web UI to view tests, implementations, comparisons.
- Opinionated flow for synthetic dataset creation.
We are currently in a fully operational beta release and would love your feedback and suggestions to continue improving DeepEval.
We are happy to answer any questions you have!
- pancakeguy 3y agoHow do I know I can trust the factual consistency metric? You linked to a research paper in the docs but reading a research paper is the last thing I want to do right now.
- jacky2wong 3y agoThanks for checking us out! We measure factual consistency using a NLP task known as "natural language inference". We then compare 2 sentences to know if one is an 'entailment' of another (for example - if "there are 3000 oranges in the supermarket", an entailment would be "there are oranges in the supermarket" - which would get a high score whereas "there are no oranges in the supermarket" would be a contradiction. We use the score of the entailment class to get a measure of how factually consistent it is. We provide a high-level summary in the documentation (https://docs.confident-ai.com/docs/measuring_llm_performance/factual_consistency https://docs.confident-ai.com/docs/measuring_llm_performance...) and will be sharing an in-depth blog article on it soon!