Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
634c94a
feat: add arxiv tool and claim tool to support an article fact check …
seancoding-day Feb 2, 2026
32ecdfa
feat(agent): add ArticleFactChecker for article-level fact verification
seancoding-day Feb 9, 2026
d3b660e
test(data): add test articles for ArticleFactChecker
seancoding-day Feb 9, 2026
54326d0
test(agent): add unit tests for ArticleFactChecker
seancoding-day Feb 9, 2026
2850aec
test(tools): add tests for arxiv_search and claims_extractor tools
seancoding-day Feb 9, 2026
05cb859
fix(test): remove duplicate TestArxivSupport classes from test_agent_…
seancoding-day Feb 9, 2026
a0e6e8b
feat(example): add article fact-checking example script
seancoding-day Feb 9, 2026
69d1fb8
docs(agent): add ArticleFactChecker documentation suite
seancoding-day Feb 9, 2026
4e18119
feat(agent): auto-derive artifact output path for ArticleFactChecker
tutu Feb 26, 2026
94e762c
docs(agent): consolidate and refresh agent documentation
tutu Feb 26, 2026
8b14c18
refactor(agent): simplify ArticleFactChecker and fact-checking example
seancoding-day Feb 26, 2026
ec7d6e0
perf(agent): parallelize ArticleFactChecker claim verification with a…
seancoding-day Feb 27, 2026
b9982d4
fix(agent): remove useless element, increase default max tokens
tutu Mar 2, 2026
3305563
fix(agent): harden ArticleFactChecker reliability and clean up agent …
seancoding-day Mar 3, 2026
e530c16
feat(agent): add real-time progress output for claim verification
seancoding-day Mar 3, 2026
706483c
fix(test): restore ToolRegistry state after each test to prevent poll…
seancoding-day Mar 3, 2026
baaea23
fix(example): adjust default model and concurrent limit
seancoding-day Mar 3, 2026
86cfa4f
docs(readme): update agent section in readme
seancoding-day Mar 4, 2026
ed9d7b9
fix(gemini): resolve gemini review comments
seancoding-day Mar 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ Both patterns share the same configuration interface and are transparent to user
**Built-in Agents:**
- `AgentFactCheck`: LangChain-based fact-checking with autonomous search control
- `AgentHallucination`: Custom workflow hallucination detection with adaptive context gathering
- `ArticleFactChecker`: Two-phase article fact-checking — extracts verifiable claims then verifies each in parallel using web search and Arxiv, with configurable concurrency control

**Quick Example:**

Expand Down Expand Up @@ -597,6 +598,7 @@ For detailed guidance on choosing and implementing agent patterns, see [Agent De
- [Agent Development Guide](docs/agent_development_guide.md) - Comprehensive guide for creating custom agents and tools
- [AgentHallucination Example](examples/agent/agent_hallucination_example.py) - Production agent example
- [AgentFactCheck Example](examples/agent/agent_executor_example.py) - LangChain agent example
- [ArticleFactChecker Example](examples/agent/agent_article_fact_checking_example.py) - Article-scale two-phase fact verification

## ⚙️ Execution Modes

Expand Down
2 changes: 2 additions & 0 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,7 @@ Dingo 支持基于智能体的评估器,可以使用外部工具进行多步
**内置智能体:**
- `AgentFactCheck`: 基于 LangChain 的事实核查,自主搜索控制
- `AgentHallucination`: 自定义工作流的幻觉检测,自适应上下文收集
- `ArticleFactChecker`: 两阶段文章事实核查 —— 先提取可验证声明,再并发调用网络搜索与 Arxiv 逐条验证,支持可配置的并发控制

**快速示例:**

Expand Down Expand Up @@ -590,6 +591,7 @@ class MyAgent(BaseAgent):
- [智能体开发指南](docs/agent_development_guide.md)
- [AgentHallucination 示例](examples/agent/agent_hallucination_example.py)
- [AgentFactCheck LangChain示例](examples/agent/agent_executor_example.py)
- [ArticleFactChecker 示例](examples/agent/agent_article_fact_checking_example.py) - 文章级两阶段事实核查

## 执行引擎

Expand Down
46 changes: 24 additions & 22 deletions dingo/model/llm/agent/__init__.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
"""
Agent Framework for Dingo

This package provides agent-based evaluation capabilities that extend LLMs with
tool usage, multi-step reasoning, and adaptive context gathering.

Key Components:
- BaseAgent: Abstract base class for agent evaluators
- Tool system: Registry and base classes for agent tools
"""

from dingo.model.llm.agent.base_agent import BaseAgent
from dingo.model.llm.agent.tools import BaseTool, ToolConfig, ToolRegistry, get_tool, tool_register

__all__ = [
'BaseAgent',
'BaseTool',
'ToolConfig',
'ToolRegistry',
'get_tool',
'tool_register',
]
"""
Agent Framework for Dingo

This package provides agent-based evaluation capabilities that extend LLMs with
tool usage, multi-step reasoning, and adaptive context gathering.

Key Components:
- BaseAgent: Abstract base class for agent evaluators
- Tool system: Registry and base classes for agent tools
"""

from dingo.model.llm.agent.agent_article_fact_checker import ArticleFactChecker
from dingo.model.llm.agent.base_agent import BaseAgent
from dingo.model.llm.agent.tools import BaseTool, ToolConfig, ToolRegistry, get_tool, tool_register

__all__ = [
'ArticleFactChecker',
'BaseAgent',
'BaseTool',
'ToolConfig',
'ToolRegistry',
'get_tool',
'tool_register',
]
Loading