LLM2Graph
llm2graph is a toolkit for:
- building entity-centric knowledge graphs with LLM calls
- generating graph-derived evaluation queries
- running benchmark-style evaluation workflows for unlearning and retention experiments
This 0.3.5 release includes local fixes made after the 0.3.4 wheel in this environment:
- parallel question answering during graph construction
- parallel triple extraction during graph construction
- configurable question-generation prompt count instead of a fixed hard-coded ten-question prompt
- GPT-5-family OpenAI requests omit explicit
temperature - default timeout increased to 180 seconds across the package
- maintainer-facing documentation added locally in this workspace
Install
pip install llm2graph
Optional extras:
pip install "llm2graph[gemini]"
pip install "llm2graph[hf-local]"
Quickstart
llm2graph entity \
--seed "Stephen King" \
--provider openai \
--model gpt-5-mini \
--max-depth 0 \
--elicitation-question-count 3 \
--out graph.json
llm2graph gen-queries \
--graph graph.json \
--target "Stephen King" \
--hops 2 \
--out queries.json
llm2graph eval \
--queries queries.json \
--pre-provider openai \
--pre-model gpt-5-mini \
--post-provider openai \
--post-model gpt-5-mini \
--out eval_report.json
Metadata
Release files for llm2graph 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llm2graph-0.3.5.tar.gz | 22.4 kB | Without provenance | Details for llm2graph-0.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm2graph-0.3.5-py3-none-any.whl | Python 3 | none | any | Details for llm2graph-0.3.5-py3-none-any.whl |
Total release size: 48.6 kB
Release files / llm2graph-0.3.5.tar.gz
| Download URL | llm2graph-0.3.5.tar.gz |
|---|---|
| Size | 22.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc4e66f95fe9ca858d3f03a0c0af93a36be89d4d2f53765d7ead961ed9a5ebd6
|
|
BLAKE2b-256 checksum How to use checksums |
d76922f3a55b69a30ecb2496590647dc6c58b253baac2ca85b301875626d73eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / llm2graph-0.3.5-py3-none-any.whl
| Download URL | llm2graph-0.3.5-py3-none-any.whl |
|---|---|
| Size | 26.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
08e84d3225cdbb86c2b8397d2184f47c08d94abb307e24baabc21995328a6088
|
|
BLAKE2b-256 checksum How to use checksums |
4e81c1fb73c048453bac1db2a6e2f7319851bba41e65c8c6a0eacf292a07af9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Security for llm2graph 0.3.5
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.