EntityIdentification

by u3588064

1 stars
120 downloads
Not rated
GitHub

About

MCP (Model Context Protocol) server for identifying whether two sets of data are from the same entity. 识别两组数据是否来自同一主体的MCP服务器

Details

Author
u3588064
GitHub stars
1
Downloads
120
Categories
Other

- Text normalization (lowercase, remove punctuation, normalize whitespace)
- Exact and semantic value comparison
- Order‑ignoring comparison for lists
- JSON key‑by‑key traversal
- Language model integration for final similarity judgment

Install the required dependency with pip install genai, then call the compare_json function with two JSON objects. The function iterates through keys, compares values using normalize_text and compare_values, and finally uses a language model (e.g., gemini-2.0-flash-thinking-exp) to generate a matching result.

EntityIdentification

Identify whether two sets of data are from the same entity. 识别两组数据是否来自同一主体

This is a MCP (Model Context Protocol) server. 这是一个支持MCP协议的服务器。

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.