← 返回
未分类 中文

Diffgate

Compare two texts and get a unified diff with a similarity score (0-1), line-level additions/deletions, and individual change records. Useful for comparing L...
比较两段文本,返回统一diff,含相似度评分(0‑1)、行级增删及单独变更记录,适用于比较 L...
mirni mirni 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 372
下载
💾 1
安装
1
版本
#latest

概述

DiffGate

Compare two texts and see exactly what changed.

Start the server

uvicorn diffgate.app:app --port 8006

Compare texts

curl -s -X POST http://localhost:8006/v1/diff \
  -H "Content-Type: application/json" \
  -d '{"text_a": "hello\nworld", "text_b": "hello\nearth"}' | jq

Returns similarity (1.0 = identical, 0.0 = completely different), additions, deletions, and changes (each with type add/delete and content).

Use cases

  • Compare two LLM outputs to check consistency
  • Verify a document hasn't been tampered with
  • Track changes between skill versions
  • Diff config files before and after an update

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 10:22 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 76 📥 182,442
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 681 📥 329,401
ai-agent

The Agent Testing & Observability Cookbook: Ship Reliable Agent Commerce Systems

mirni
《代理测试与可观测性实践手册》:交付可靠的代理商务系统。面向从业者的代理商务测试与监控实践手册:工具契约...
★ 0 📥 621