Skip to main content

haystack-vaultak

Vaultak runtime security components for Haystack pipelines.

Installation

pip install haystack-vaultak

Components

  • VaultakSecurityChecker — Risk-scores every query before it enters your pipeline. Blocks high-risk inputs.
  • VaultakPIIMasker — Masks PII in LLM replies before they reach users.

Quick start

from haystack import Pipeline
from haystack.components.generators.chat import OpenAIChatGenerator
from haystack_vaultak import VaultakSecurityChecker, VaultakPIIMasker
import os

pipeline = Pipeline()
pipeline.add_component("security", VaultakSecurityChecker(api_key=os.environ["VAULTAK_API_KEY"]))
pipeline.add_component("llm", OpenAIChatGenerator(model="gpt-4o-mini"))
pipeline.add_component("pii_masker", VaultakPIIMasker(api_key=os.environ["VAULTAK_API_KEY"]))

pipeline.connect("security.query", "llm.query")
pipeline.connect("llm.replies", "pii_masker.replies")

result = pipeline.run({"security": {"query": "What is the capital of France?"}})
print(result["pii_masker"]["replies"][0].text)

License

MIT

Release files for haystack-vaultak 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for haystack-vaultak 0.1.1
File Size Uploaded
haystack_vaultak-0.1.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for haystack-vaultak 0.1.1
File Interpreter ABI Platform
haystack_vaultak-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / haystack_vaultak-0.1.1.tar.gz

Download URL haystack_vaultak-0.1.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f28d987b18d9f68a606262912274c96b22d1225bd065a6ebd1026f8718453a3d
BLAKE2b-256 checksum
How to use checksums
2c6f1dc16ba45be7838a255ebc87ed8e7679a61046ab27a538c457b3dac594ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / haystack_vaultak-0.1.1-py3-none-any.whl

Download URL haystack_vaultak-0.1.1-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3769088334582c6bf1910e6282c7279f445fa35346f3cea1ae368f10e41377f4
BLAKE2b-256 checksum
How to use checksums
9f8354a29728300262c63b1533f80451667920b6afc68d908ae2cf2ba5151ac0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page