Add NeuralTrust integration - #605
Open
albertbausili wants to merge 1 commit into
Open
albertbausili wants to merge 1 commit into
albertbausili wants to merge 1 commit into
Conversation
|
@albertbausili is attempting to deploy a commit to the deepset Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
There was a problem hiding this comment.
馃煝 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`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-haystackpackage providesNeuralTrustGuardandNeuralTrustChatGuardfor 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.