[Integration]: NeuralTrust

未关闭 适合新手
#789 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 9 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
76/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
ai, documentation

调研方向

阅读集成收录流程和现有注册表页面结构;issue 未指定目标文件或测试。验证此处列出的软件包、源代码仓库和文档链接,然后准备 issue 中描述的注册表页面 PR。完成标准是该条目准确链接到已发布的 NeuralTrust Haystack 集成及其设置指南。

由索引模型根据 Issue 内容生成。

描述

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

NeuralTrust

Integration type

Custom Component

Published package or repo (if it exists)
Need or proof of use

The integration is already published and works in standard Haystack pipelines.

Haystack users who need runtime policy checks can place an input guard before a generator and an output guard after it, and connect downstream components to the guard's content output so only accepted or policy-transformed content continues. This avoids writing a custom TrustGuard HTTP client and keeps verdict handling (raise or route) inside the pipeline.

Short description

NeuralTrust TrustGuard evaluates application input and output against the policy assigned to a collector (allow, report, transform, block, or hold for approval). The NeuralTrust-maintained neuraltrust-haystack package adds two native Haystack components:

  • NeuralTrustGuard: evaluates a text string (input or completed output)
  • NeuralTrustChatGuard: evaluates a list of text-only ChatMessages, preserving names and metadata

Both support sync and async execution and Haystack pipeline serialization. Credentials use a Haystack Secret (default: TRUSTGUARD_API_KEY).

Known limits: the chat component rejects multimodal content, multiple content parts, reasoning, and tool calls/results; output evaluation covers completed replies and does not intercept streamed tokens or an Agent's internal tool actions; an ask verdict stays stopped, since human approval is not implemented.

I'm Alessandro Pignati (@alespignaNT) at NeuralTrust, taking this integration over from Albert (@AlbertNeuralTrust) as noted on #605. Once approved, I'll open a PR for the registry page linking this issue. Thanks for pointing us to the new process!

主要语言
Python
星标
114
派生
332
平均合并
5 天 1 小时
30 天内合并 PR
13

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

deepset-ai/haystack-integrations 的其他 Issue

查看 deepset-ai/haystack-integrations 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。