Skip to content

Add NeuralTrust integration - #605

Open
albertbausili wants to merge 1 commit into
deepset-ai:mainfrom
albertbausili:add-neuraltrust-integration
Open

albertbausili wants to merge 1 commit into
deepset-ai:mainfrom
albertbausili:add-neuraltrust-integration

Conversation

@albertbausili

Copy link
Copy Markdown

Adds NeuralTrust to the integration registry as a Custom Component, with installation instructions and runnable text, pipeline routing, and chat examples.

The NeuralTrust-maintained neuraltrust-haystack package provides NeuralTrustGuard and NeuralTrustChatGuard for TrustGuard input/output policy evaluation. It supports synchronous and asynchronous execution, Haystack pipeline serialization, Python 3.10+, and Haystack 2.31 / 3.x.

Validation: checked the frontmatter against the current registry template and executed all three Python examples with mocked TrustGuard responses, including blocked pipeline routing. Package release validation also covers the Python/Haystack compatibility matrix and production TrustGuard evaluations.

@albertbausili
albertbausili requested a review from a team as a code owner September 15, 2026 09:21
@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown

@albertbausili is attempting to deploy a commit to the deepset Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃煝 Approval recommended

The only noted issue is a minor documentation omission.

Pull request overview

Adds NeuralTrust as a Haystack integration with setup guidance and runnable examples.

Changes:

  • Documents installation and configuration.
  • Adds text, pipeline-routing, chat, async, and serialization examples.
  • Covers verdict handling and licensing.
File summaries
File Description
integrations/neuraltrust.md Adds the NeuralTrust integration page and usage documentation.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.


## Configuration and serialization

Optional constructor settings include `api_base`, `direction`, `on_violation`, `timeout`, `max_retries`, and the `collector_key` identifier for service-token authentication. Run calls accept `session_id`, `consumer_id`, and JSON-compatible `attributes`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants