[Integration]: NeuralTrust

Aperta Adatta ai principianti
#789 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 9 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
76/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
ai, documentation

Direzione di ricerca

Leggi la procedura per elencare le integrazioni e la struttura esistente della pagina del registro; l’issue non indica alcun file di destinazione né alcun test. Verifica il pacchetto, il repository sorgente e i link alla documentazione elencati qui, quindi prepara la PR per la pagina del registro descritta nell’issue. Il lavoro è concluso quando la voce rimanda correttamente all’integrazione NeuralTrust Haystack pubblicata e alla relativa guida alla configurazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
Python
Stelle
114
Fork
332
Merge medio
5g 1h
PR unite (30g)
13

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di deepset-ai/haystack-integrations

Tutte le issue di deepset-ai/haystack-integrations

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.