Skip to main content

Installation

Quick start

QWEDQueryEngine

Wraps any LlamaIndex query engine to add verification:

How responses are verified

Changed in v8.0.0 (GHSA-83v6-6h23-pvp4)
response.verified is True only when a QWED engine checked the response and the server admitted it. The integration reads the client’s is_verified, which follows the server’s admission. Everything else fails closed:
Before v8.0.0, QWEDQueryEngine returned verified=True with status PASSED for any response no engine checked, including fact-style queries. Don’t rely on verified=True from earlier versions.

QWEDVerificationTransform

Node postprocessor that verifies retrieved content:
The transform sets qwed_verified in each node’s metadata:
  • True only when a check ran and the server admitted the content.
  • False when the server refused the content or the check raised an error.
  • False together with qwed_checked: False when the node had nothing to check.

QWEDCallbackHandler

Track verification across all operations:

QWEDVerifyTool

For LlamaIndex agents:

VerifiedResponse