Metadata-Version: 2.4
Name: sgraal-rag
Version: 0.1.0
Summary: Sgraal memory governance filter for RAG pipelines
Author-email: Sgraal AI <hello@sgraal.com>
License: Apache-2.0
Project-URL: Homepage, https://sgraal.com
Project-URL: Repository, https://github.com/sgraal-ai/core
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.28.0
Requires-Dist: sgraal>=0.2.0
Dynamic: license-file

# sgraal-rag

Sgraal memory governance filter for RAG pipelines. Validates retrieved documents before generation.

```bash
pip install sgraal-rag
```

```python
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:
```python
lc_filter = f.as_langchain_filter()
li_filter = f.as_llamaindex_filter()
```

## License
Apache 2.0
