Awesome Infra for AI › LLM Evaluation & Testing

relari-ai/continuous-eval

⭐ 518 Python repository created 2023-12-08

continuous-eval is an open-source Python package designed for the data-driven evaluation of applications powered by Large Language Models (LLMs). It emphasizes modularized evaluation, allowing users to measure individual components of an LLM pipeline with tailored metrics. The framework provides a comprehensive library of metrics covering various LLM use cases, including Retrieval-Augmented Generation (RAG), Code Generation, and Agent Tool Use, supporting deterministic, semantic, and LLM-based metrics. A key feature is its support for probabilistic evaluation, enabling more nuanced assessments of pipeline performance. The package facilitates running single metrics on data points or conducting full evaluations on datasets using the `EvaluationRunner` class. It also supports modular pipeline evaluation, where complex LLM systems composed of multiple modules (e.g., Retriever, Reranker, Generator) can be evaluated independently for each module. Users can define custom metrics, including LLM-as-a-Judge metrics, to suit specific evaluation criteria. It is provided as a PyPi package for easy installation and integration into existing ML workflows.

https://github.com/relari-ai/continuous-eval

LLM evaluationRAG evaluationAI agent evaluationLLM testingcontinuous evaluationevaluation frameworkLLM metricsprompt evaluationmodular evaluation

Also in LLM Evaluation & Testing

promptfoo/promptfoo

Promptfoo is a CLI and library for evaluating LLM applications, offering automated testing, red teaming, and vulnerability scanning for prompts, models, agents, and RAGs.

ifixai-ai/iFixAi

iFixAi is a diagnostic tool that evaluates AI models and agents for operational misalignment, including fabrication, manipulation, deception, unpredictability, and opacity, by running up to 45 insp...

confident-ai/deepeval

DeepEval is an open-source LLM evaluation framework, offering a variety of metrics and tools for assessing the performance of AI agents, RAG pipelines, and chatbots through unit testing.

vibrantlabsai/ragas

Ragas is an evaluation framework for LLM applications that provides objective metrics, test data generation, and feedback loops for continuous improvement.

NVIDIA/garak

Garak is an open-source LLM vulnerability scanner designed to red-team and assess generative AI models for weaknesses like hallucination, data leakage, prompt injection, and toxicity.

evidentlyai/evidently

Evidently is an open-source Python framework for evaluating, testing, and monitoring ML and LLM systems, providing comprehensive data and model quality checks from experiments to production.

open-compass/opencompass

Open-source LLM evaluation platform for running standardized benchmarks across models, with configurable datasets, prompt templates, and an official public leaderboard.

Giskard-AI/giskard-oss

Giskard is an open-source Python library for testing and evaluating agentic systems and LLM applications, offering tools for scenario-based testing, red teaming, and vulnerability scanning.