Dingo is a comprehensive AI data, model, and application quality evaluation tool, developed and open-sourced by MigoXLab. It is primarily aimed at machine learning practitioners, data engineers, and AI researchers, and is used to systematically evaluate and improve the quality of training data, fine-tuning datasets, and AI systems in production environments.
Main Uses
Dingo's core use is to evaluate the quality of AI-related data, including pre-training datasets, RAG systems, LLM chat data, and more. It helps users discover quality issues in data, such as insufficient completeness, formatting errors, PII leakage, hallucinations, factual errors, etc., thereby improving the overall performance of AI systems.
Main Capabilities
Dingo provides more than 100 evaluation metrics, covering multiple dimensions, and combines the speed of rule-based methods with the depth of LLM-based methods. Specific capabilities include:
- Multi-source data integration: Supports local files (JSONL, CSV, TXT, Parquet), SQL databases (PostgreSQL, MySQL, SQLite, Oracle, SQL Server, with streaming support), cloud storage (S3 and compatible storage), and HuggingFace datasets.
- Multi-field evaluation: Can apply different quality rules in parallel to different fields, for example, performing ISBN validation on the isbn field and text quality checks on the title field.
- RAG system evaluation: Provides 5 academically supported metrics—Faithfulness (consistency between answers and context, detecting hallucinations), Answer Relevancy (alignment between answers and queries), Context Precision (retrieval precision), Context Recall (retrieval recall), and Context Relevancy (relevance between context and query).
- Hybrid evaluation system: Combines fast rule-based heuristic checks (30+ built-in rules, such as text quality, formatting, and PII detection) with deep LLM-based semantic evaluation (supports OpenAI GPT-4o/GPT-3.5, DeepSeek, Kimi, local models Llama3/Qwen, vision-language models InternVL/Gemini, etc.), and also supports Agent-based multi-step reasoning and tool calling (such as web search Tavily, multi-source fact verification).
- Flexible execution: Provides a local executor (suitable for rapid iteration, debugging, and smallFor datasets with 100,000 rows) and the Spark executor (suitable for production pipelines, distributed processing, and datasets with over 1 million rows), as well as the retrieval benchmark executor (evaluates search APIs against MTEB standard retrieval benchmarks such as SciFact and SCIDOCS, with metrics including NDCG, Recall, and MRR).
- Rich reports: Generates a summary.json overall metrics report and detailed reports, including the specific issues for each rule violation, field-level breakdowns, and type and name distributions.
- Extensible architecture: Supports custom rules, prompts, models, and Agents through a plugin-based registration mechanism. All prompts are defined in the dingo/model/llm/ directory, organized by category (such as text_quality/, rag/, hhh/, etc.), and can be extended or modified to meet specific domain needs.
Usage
Dingo provides multiple usage interfaces:
- Command-line interface (CLI): For quick checks, supporting rule-set-based or LLM-based (such as GPT-4o) evaluation.
- Python SDK: For integration into existing Python projects.
- MCP server: A built-in Model Context Protocol server that supports integration with AI agents, for example in Cursor and Claude Desktop. An official video demonstration is provided showing how to use the Dingo MCP server step by step in Cursor.
For installation and detailed configuration, refer to the project GitHub repository. During evaluation, users can specify the data source, fields, rule set, or LLM model, and Dingo will run the evaluation in parallel and output a report.
Applicable scenarios
- Evaluate the quality of LLM chat data
- Evaluate the overall quality of a dataset
- Evaluate retrieval and generation quality for RAG systems
- Perform multi-field quality checks on structured data in production databases
- Perform distributed quality evaluation on large-scale datasets (billion-level)
- Perform interactive data quality checks through MCP integration in an IDE
- Perform academic benchmark evaluation on search/retrieval APIs
Limitations and notes
- The current built-in detection rules and model methods mainly target common data quality issues. For special evaluation needs, custom detection rules are recommended.
- Some advanced features (such as Web UI, access control, visualization reports, and RESTful API) are only provided in Dingo SaaS Enterprise Edition and are not included in the open-source version. The SaaS version requires applying for access permission, with a review time of 1-5 business days.
- The project uses the Apache 2.0 open-source license, and some features use fasttext (MIT license) for language detection.
- The roadmap includes Agent-as-a-Judge, SaaS platform, audio and video modalities, diversity metrics, real-time monitoring, etc. These features are still in planning and are not yet available.
- For specific installation commands, code examples, and configuration details, please refer to the official GitHub repository.