goldengraph
Build an own-your-KG knowledge graph from text:
text → LLM extraction → goldenmatch entity resolution → a durable, bi-temporal store.
Entity resolution is the differentiator — duplicate surface forms across documents collapse into one durable entity, the thing most GraphRAG frameworks do badly.
from goldengraph import ingest, OpenAIClient
from goldengraph_native import _native as gg
store = gg.PyStore() # durable bi-temporal store (SP2 engine)
llm = OpenAIClient() # or any object with .complete(prompt) -> str
ingest("Acme Inc, founded by ...", store, at=1, llm=llm)
snapshot = store.snapshot() # canonical JSON; persist + reopen later
view = store.as_of(valid_t=1, tx_t=1) # bi-temporal slice -> queryable graph
extract(text, llm)— text → typed entities + relationships (LLM).resolve(mentions)— goldenmatch's zero-configdedupe_df→ merged entities +:h1:record keys.ingest(text, store, *, at, llm)— the end-to-end path into the store.
Part of the goldengraph program.
The engine (goldengraph-native: store / query / communities) is pyo3-free Rust;
this package is the Python host pipeline. LLM access is provider-agnostic
(LLMClient protocol); an OpenAIClient ships behind the [openai] extra.
Scope: SP4b (this package) is the build path. Retrieval + synthesis + NL query (SP4c) and WASM/C surfaces (SP5) are separate slices.
Release files for goldengraph 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| goldengraph-0.2.0.tar.gz | 174.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| goldengraph-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 280.2 kB
Release files / goldengraph-0.2.0.tar.gz
| Download URL | goldengraph-0.2.0.tar.gz |
|---|---|
| Size | 174.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
218277804723368922a1b4082f30e925d825ad958053c16aba78f8a0fa6f9b2a
|
|
BLAKE2b-256 checksum How to use checksums |
ebe44d97c1a4fff00d04deebf01466aa69a7f038aebf5b136a83687e8f16cc6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / goldengraph-0.2.0-py3-none-any.whl
| Download URL | goldengraph-0.2.0-py3-none-any.whl |
|---|---|
| Size | 105.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
099e6afd26391279cbf1fc0700c6d5af2cff966e23e2f794bbc931a7e202e3d6
|
|
BLAKE2b-256 checksum How to use checksums |
996fb1b010ed2ddccc6495a2b0e6b6d84fcf35e8afac14cf6951e144aabec923
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|