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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file goldengraph-0.1.0.tar.gz.
File metadata
- Download URL: goldengraph-0.1.0.tar.gz
- Upload date:
- Size: 173.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1da20185cbf143ef3cc04d127dc0b9484f7e4163f782405f8429ddf1b15b38be
|
|
| MD5 |
5e93b5d144d1832bed453ba7b2184220
|
|
| BLAKE2b-256 |
05a0cd8bb62a4c247f3a1f96dcab81f6439b5f792c3169baf343a6f95f609638
|
File details
Details for the file goldengraph-0.1.0-py3-none-any.whl.
File metadata
- Download URL: goldengraph-0.1.0-py3-none-any.whl
- Upload date:
- Size: 104.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2fe185a8357da891b99e5856236efaf0ea6a1713bee598f6011ecd8b0ef9b6a
|
|
| MD5 |
87855be6270e2fa70fe5688c36d935b0
|
|
| BLAKE2b-256 |
d02c884b70a795257aa45961cf2f25f2329826706478f492fabcce7db7885b09
|