Data & RAG Integration
Pipeline Execution Consent Component for Deepset Haystack
Insert human permission gates between Haystack retriever and generator components.
Integration Code Example (PYTHON)
from haystack import Pipeline
from permitly.haystack import PermitlyConsentGate
pipeline = Pipeline()
pipeline.add_component("consent_gate", PermitlyConsentGate(scope="pipeline.generate"))
Execution Sequence Flow
sequenceDiagram
participant Pipe as 🌾 Haystack Pipeline
participant Gate as 🛡️ Permitly Gate
participant User as 👤 Approver
Pipe->>Gate: 1. Retriever Output -> Gate
Gate->>User: 2. Request Human Approval
User-->>Gate: 3. Token Signed
Gate-->>Pipe: 4. Dispatch to Generator
High-ROI Security Gate
Protecting your Deepset Haystack pipeline against unauthorized actions delivers an immediate compliance audit trail with zero infrastructure overhead.
Frequently Asked Questions
Is Permitly compatible with Haystack 2.0 pipelines?
Yes, Permitly acts as a custom component inside Haystack 2.0 pipeline graphs.