Skip to content

Coby0228/fact-checking-agent

Repository files navigation

參考 DelphiAgent: Multi-agent verification framework for automated fact verification 架構實作的 Multi-agent framework

CFEVER 測試結果

Model Label Precision Recall Accuracy
llm true 75.00% 60.00% 61.00%
false 45.83% 62.86%
llm + search true 76.54% 95.38% 78.00%
false 84.21% 45.71%
framework + search true 80.60% 83.08% 76.00%
false 70.97% 62.86%
  • 本框架除了很慢還比較弱,跟問題有關?
  • FIRE 框架成本低,像是優化的 LLM agent,更適合這種任務

實作

TODO

  • SERP

  • crawler

  • 開源套件

  • 怎麼辨別來源是否可信?

    • 檢查 domain

前置要求

  • Python 3.11
  • uv

安裝步驟

1. 安裝 uv

Windows (PowerShell):

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

macOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

2. 建立虛擬環境

uv venv

3. 安裝依賴套件

uv pip sync

4. 設定環境變數

cp .env.example .env

編輯 .env 檔案並輸入你的 API key:

API_KEY=your_api_key_here

資料集

DelphiAgent

執行主程式

uv run python script.py

About

itri project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages