Sgraal memory governance filter for RAG pipelines
Project description
sgraal-rag
Sgraal memory governance filter for RAG pipelines. Validates retrieved documents before generation.
pip install sgraal-rag
from sgraal_rag import SgraalRAGFilter
f = SgraalRAGFilter(api_key="sg_demo_playground", domain="fintech")
safe_docs = f.filter(retrieved_documents)
Compatible with LangChain and LlamaIndex:
lc_filter = f.as_langchain_filter()
li_filter = f.as_llamaindex_filter()
License
Apache 2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sgraal_rag-0.1.0.tar.gz
(2.9 kB
view details)
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 sgraal_rag-0.1.0.tar.gz.
File metadata
- Download URL: sgraal_rag-0.1.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
315bb3b2c8f5fe2c92e2ae819e903c07ed2e6d3f12b785e36de577a3ad835681
|
|
| MD5 |
431e08eac8fa08049d9fad8ceabf89d7
|
|
| BLAKE2b-256 |
53970831df5e0a2fd914347664a84287741b1af5d60123fdd90b534f6efc6387
|
File details
Details for the file sgraal_rag-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sgraal_rag-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff5a03ee3716b0e1844110b663de2c446fe9d4ffae004cf14b8ca351f8dbff72
|
|
| MD5 |
dedf5bd8722407d51417ce4101c4c170
|
|
| BLAKE2b-256 |
5d9aa57fc3be51b4622c9ed76ca86e7b22879d78ff5d22de20d5ff79089549c4
|