Skip to main content

DataStax RAGStack Knowledge Graph

Project description

RAGStack Knowledge Store

[!WARNING] This is a proof-of-concept showing how knowledge graphs can be stored in Astra / Cassandra and retrieved via traversal. There are a variety of planned improvements including benchmarking, evaluation, and possible schema changes.

This includes some code (CassandraGraphStore) which could be added to LangChain or RAGStack to write LangChain's GraphDocuments to Cassandra tables. It also includes code to create a runnable for retrieving knowledge triples from Cassandra.

The file notebook.ipynb shows this working on an example snippet from LangChain's docs.

To run, copy env.template to .env.

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

ragstack_ai_knowledge_graph-0.0.2.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file ragstack_ai_knowledge_graph-0.0.2.tar.gz.

File metadata

File hashes

Hashes for ragstack_ai_knowledge_graph-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e637a50a6dbd38edad3dcf8276620cdb8ad52cfe54b1a39d693a3d6aaa7280c7
MD5 27ec61d531b9869856dad3bd95276215
BLAKE2b-256 fd9ea4637a776267f6795fb2a3c8d733520f54cd0bcbb4f7fe03923b3b5acdb1

See more details on using hashes here.

File details

Details for the file ragstack_ai_knowledge_graph-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ragstack_ai_knowledge_graph-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9321299de187a732d2344b505e844b852068508bd769109b3ede97a22bd4724e
MD5 c16e10ae8826b3e6b78cea2059fca9d9
BLAKE2b-256 23c3edcef72ad8657c29574fcbd8534e5bb2ef7f0bb80b5620c74af44ff685a6

See more details on using hashes here.

Supported by

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