Skip to main content

Lightrag graph store implementation for agensgraph

Project description

LightRag Knowledge Graph Integration: AgensGraph

This plugin adds support for storing and querying knowledge graphs in AgensGraph with LightRAG.

Build

You can use the following commands to build the plugin from source.

pip install poetry
poetry install
poetry build

Usage

pip install lightrag-hku lightrag_agensgraph-0.1.0-py3-none-any.whl
from lightrag import LightRag
import lighrag_agensgraph

os.environ["AGENSGRAPH_DB"] = ""
os.environ["AGENSGRAPH_USER"] = ""
os.environ["AGENSGRAPH_PASSWORD"] = ""
os.environ["AGENSGRAPH_HOST"] = ""
os.environ["AGENSGRAPH_PORT"] = ""
os.environ["AGENSGRAPH_GRAPHNAME"] = ""

rag = LightRAG(
    graph_storage="AgensgraphStorage",
    ...
)

See examples and tests for more details on how to use the plugin with LightRAG.

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

lightrag_agensgraph-0.1.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lightrag_agensgraph-0.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file lightrag_agensgraph-0.1.0.tar.gz.

File metadata

  • Download URL: lightrag_agensgraph-0.1.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.5 Darwin/20.6.0

File hashes

Hashes for lightrag_agensgraph-0.1.0.tar.gz
Algorithm Hash digest
SHA256 240ae9dfc9d468866fa6a60c3877bb0d1f9213101184a00c72e4501e8d49ab35
MD5 dcbd9a67fa4096507b419bec2b5fcad2
BLAKE2b-256 b655458ca200fbc74c389f89714a3909e0cf5310f4545a9f2b8aef24ea4f2bfd

See more details on using hashes here.

File details

Details for the file lightrag_agensgraph-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lightrag_agensgraph-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b562364d64ea7cf9dace86385c00d4e88d9096a8de87fa6aebdb0d03c2679ee
MD5 aa42a1768184f5e89f19908af086905d
BLAKE2b-256 0072ea6227cd3a6aa7606e277b437b33a6b18376efbfa24e9c569ee2ae933ef2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page