Graph RAG
Project description
Knwl
A clean Graph RAG implementation.
The current implementation is rather old and there is a major effort ongoing in the v2 branch.
Query modes
Local
-
low-level keywords are matched against nodes, called the primary nodes
-
relationship neighborhood around these primary nodes is considered
The context consists of:
- primary node records/table consisting of name, type, and description
- relationship records/table consisting of source, target, type, and description
- chunks taken from the primary nodes
Global
- high-level keywords are matched against edges
The context consists of:
- node endpoints of the edges
- edge records/table consisting of source, target, type, and description
- chunks taken from the edges
Naive
The simply gives the question to the chunks and is added as context.
Hybrid
The hybrid mode is a combination of the local and global modes. It takes the local and global contexts, combines it as augmentation.
Project details
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 knwl-0.4.0.tar.gz.
File metadata
- Download URL: knwl-0.4.0.tar.gz
- Upload date:
- Size: 398.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a13488e93e0741f1d5897224d2f3c4f659a320501c433d23ef80fd02813f4283
|
|
| MD5 |
fbe99692269fecb3f16b6d3cb20388d5
|
|
| BLAKE2b-256 |
9d7164b3855332ff2d8caedd14cfdcbf2952c77d7a85e5df884436e82f06f6cc
|
Provenance
The following attestation bundles were made for knwl-0.4.0.tar.gz:
Publisher:
publish.yml on Orbifold/knwl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
knwl-0.4.0.tar.gz -
Subject digest:
a13488e93e0741f1d5897224d2f3c4f659a320501c433d23ef80fd02813f4283 - Sigstore transparency entry: 592826480
- Sigstore integration time:
-
Permalink:
Orbifold/knwl@167755b26b7db2ba58cdc476175cb3ea4bf22c25 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Orbifold
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@167755b26b7db2ba58cdc476175cb3ea4bf22c25 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file knwl-0.4.0-py3-none-any.whl.
File metadata
- Download URL: knwl-0.4.0-py3-none-any.whl
- Upload date:
- Size: 47.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f1905848f44529e2eb5c69a0fe0f93a9a1a0a565d846336d467cb418996dba8
|
|
| MD5 |
64a9c83555117310ba4e9ad074f2d426
|
|
| BLAKE2b-256 |
5907c5c0e3da83f594fa0a0f75638535c4c6c0e1609116104308bc8ad472723c
|
Provenance
The following attestation bundles were made for knwl-0.4.0-py3-none-any.whl:
Publisher:
publish.yml on Orbifold/knwl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
knwl-0.4.0-py3-none-any.whl -
Subject digest:
6f1905848f44529e2eb5c69a0fe0f93a9a1a0a565d846336d467cb418996dba8 - Sigstore transparency entry: 592826554
- Sigstore integration time:
-
Permalink:
Orbifold/knwl@167755b26b7db2ba58cdc476175cb3ea4bf22c25 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Orbifold
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@167755b26b7db2ba58cdc476175cb3ea4bf22c25 -
Trigger Event:
workflow_dispatch
-
Statement type: