Skip to main content

goldenmatch-kg

Drop-in goldenmatch entity resolution for knowledge-graph frameworks.

What this is: goldenmatch is an entity-resolution engine, not a KG builder. KG pipelines (neo4j-graphrag, LlamaIndex, Graphiti, ...) ingest text, extract entities and relationships, resolve/dedupe the entities, and write a graph. This package drops goldenmatch in as that resolve stage, where each framework exposes a seam:

  • neo4j-graphrag -- a real GoldenMatchResolver you pass into the pipeline (true in-pipeline plugin; replaces the built-in FuzzyMatchResolver).
  • LlamaIndex PropertyGraphIndex -- a GoldenMatchEntityResolver transform that canonicalizes entity names before upsert. LlamaIndex ships no fuzzy resolver of its own (its default is exact name+label upsert), so this is additive: exact-only to real ER.
  • Graphiti -- a post-ingestion propose_entity_merges pass over the graph's existing entity nodes (Graphiti exposes no public resolver seam, so this runs as a maintenance step, not in-line).

One framework-agnostic core (resolve_entities) does all the goldenmatch work; each adapter just marshals its framework's entities in and the merge decision out.

Install

pip install goldenmatch-kg                        # core only
pip install "goldenmatch-kg[neo4j-graphrag]"      # + neo4j-graphrag adapter
pip install "goldenmatch-kg[llamaindex]"          # + LlamaIndex adapter
pip install "goldenmatch-kg[graphiti]"            # + Graphiti adapter

The lift (measured, not asserted)

These adapters deliver goldenmatch's resolution through each framework's pipeline. The size of the win is measured by ER-KG-Bench, which scores each framework's own default entity resolution against goldenmatch on real corpora. On the self-sourced ghsuite corpus (RESULTS_ghsuite.md):

Framework its default ER (F1) goldenmatch (F1)
neo4j-graphrag 0.322 (fuzzy resolver, real-inproc) 0.969
LlamaIndex PGI exact upsert only (exact-match family scores 0.0 to 0.24) 0.969
Graphiti 0.379 (deterministic floor, real-inproc) 0.969

goldenmatch (F1) is the goldenmatch(auto+fields) row (P 0.963 / R 0.975 / F1 0.969), deterministic, zero LLM calls. The lift is the resolution you get by swapping goldenmatch in as the ER stage; it is read off the existing bench board, not re-scored here. The same shape holds on the external Wikidata/RxNorm corpus (RESULTS.md).

This is an ER-stage win, not "goldenmatch builds your KG": you still run the rest of your pipeline (extraction, relationship building, graph store). goldenmatch resolves the entities.

Per-framework guides

License

MIT

Metadata

Release files for goldenmatch-kg 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for goldenmatch-kg 0.2.0
File Size Uploaded Provenance
goldenmatch_kg-0.2.0.tar.gz 19.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for goldenmatch-kg 0.2.0
File Interpreter ABI Platform
goldenmatch_kg-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 35.8 kB

Release files / goldenmatch_kg-0.2.0.tar.gz

Download URL goldenmatch_kg-0.2.0.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8b17dba914d5c2fd892e0816d35fe1a4061057f8a51ad427f2ee51208f2bf03e
BLAKE2b-256 checksum
How to use checksums
484f2d4a8a14b120ccab7f071851622524646d8ab6c28eb62cf20968e17fe846
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / goldenmatch_kg-0.2.0-py3-none-any.whl

Download URL goldenmatch_kg-0.2.0-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d78bc7b64e0b239d0b01e86f0e5b74b3178ac1de4eb206574d85ad01d5f9a41
BLAKE2b-256 checksum
How to use checksums
37377f2af2a6e08c10507f09ed1294dc8b7fb11a4cc9e23d701ef1501b7ff42a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for goldenmatch-kg 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page