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
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 | |
|---|---|---|---|
| llm2graph-0.3.5.tar.gz | 22.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| llm2graph-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
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
|