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.1.tar.gz (13.8 kB view hashes)

Uploaded Source

Built Distribution

ragstack_ai_knowledge_graph-0.0.1-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

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