# 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`.
Raw data
{
"_id": null,
"home_page": "https://github.com/datastax/ragstack-ai",
"name": "ragstack-ai-knowledge-graph",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": null,
"keywords": null,
"author": "DataStax",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/fd/9e/a4637a776267f6795fb2a3c8d733520f54cd0bcbb4f7fe03923b3b5acdb1/ragstack_ai_knowledge_graph-0.0.2.tar.gz",
"platform": null,
"description": "# RAGStack Knowledge Store\n\n> [!WARNING]\n> This is a proof-of-concept showing how knowledge graphs can be stored in Astra\n> / Cassandra and retrieved via traversal. There are a variety of planned improvements\n> including benchmarking, evaluation, and possible schema changes.\n\nThis includes some code (`CassandraGraphStore`) which could be added to\nLangChain or RAGStack to write LangChain's `GraphDocuments` to Cassandra tables.\nIt also includes code to create a runnable for retrieving knowledge triples from\nCassandra.\n\nThe file `notebook.ipynb` shows this working on an example snippet from\nLangChain's docs.\n\nTo run, copy `env.template` to `.env`.\n",
"bugtrack_url": null,
"license": "BUSL-1.1",
"summary": "DataStax RAGStack Knowledge Graph",
"version": "0.0.2",
"project_urls": {
"Documentation": "https://docs.datastax.com/en/ragstack",
"Homepage": "https://github.com/datastax/ragstack-ai",
"Repository": "https://github.com/datastax/ragstack-ai"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "23c3edcef72ad8657c29574fcbd8534e5bb2ef7f0bb80b5620c74af44ff685a6",
"md5": "c16e10ae8826b3e6b78cea2059fca9d9",
"sha256": "9321299de187a732d2344b505e844b852068508bd769109b3ede97a22bd4724e"
},
"downloads": -1,
"filename": "ragstack_ai_knowledge_graph-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c16e10ae8826b3e6b78cea2059fca9d9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 19082,
"upload_time": "2024-07-30T10:38:21",
"upload_time_iso_8601": "2024-07-30T10:38:21.051193Z",
"url": "https://files.pythonhosted.org/packages/23/c3/edcef72ad8657c29574fcbd8534e5bb2ef7f0bb80b5620c74af44ff685a6/ragstack_ai_knowledge_graph-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fd9ea4637a776267f6795fb2a3c8d733520f54cd0bcbb4f7fe03923b3b5acdb1",
"md5": "27ec61d531b9869856dad3bd95276215",
"sha256": "e637a50a6dbd38edad3dcf8276620cdb8ad52cfe54b1a39d693a3d6aaa7280c7"
},
"downloads": -1,
"filename": "ragstack_ai_knowledge_graph-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "27ec61d531b9869856dad3bd95276215",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 15220,
"upload_time": "2024-07-30T10:38:22",
"upload_time_iso_8601": "2024-07-30T10:38:22.253507Z",
"url": "https://files.pythonhosted.org/packages/fd/9e/a4637a776267f6795fb2a3c8d733520f54cd0bcbb4f7fe03923b3b5acdb1/ragstack_ai_knowledge_graph-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-30 10:38:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "datastax",
"github_project": "ragstack-ai",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "ragstack-ai-knowledge-graph"
}