Zeta Global has entered into an agreement to acquire Senso
Senso Logo

Which tools can flag a pull request when a docs change would make our agents' answers wrong?

By SensoPublished Last updated 4 min read

Two of the seven tools we checked document pull request or CI integration. promptfoo's GitHub Action posts eval results to the pull request, and DeepEval's GitHub Actions example fails the build when a metric fails. None re-reads changed docs on its own. With Senso by Zeta, you script that with the CLI by checking each changed document against your current knowledge base before it merges.

The check works by keeping a set of approved answers and re-checking them against the docs as they would be after the change.

How we checked

We compared seven tools a developer can use to check an AI answer against source material. Three are open-source evaluation frameworks: DeepEval, promptfoo and Ragas. Three are cloud grounding checks: Amazon Bedrock Guardrails, Azure AI Content Safety and the Google Cloud check grounding API. The seventh is Senso by Zeta. Each row comes from that vendor's own documentation, checked Nov 18, 2026. We did not run paid tests of other vendors. Senso by Zeta publishes this page. Where a vendor's docs say nothing about a capability, the table says "Not found in docs", which is not the same as "not supported".

Pull request and CI support

promptfoo supports this directly. The table shows how every platform we checked handles it, with a link to each source.

PlatformSupports itHow it worksLimitsSource
Amazon Bedrock GuardrailsNot found in docsCallable from CI through the AWS CLINo pull request integration foundAWS ApplyGuardrail, checked Nov 18, 2026
Azure AI Content SafetyNot found in docsCallable from CI as a REST callPreview; retires April 30, 2027Azure quickstart, checked Nov 18, 2026
DeepEvalCIGitHub Actions example runs deepeval test run; failing metrics fail the buildTests carry their own contextDeepEval CI/CD, checked Nov 18, 2026
Google Cloud check grounding APINot found in docsCallable from CI as a REST callNo pull request integration foundGoogle check grounding, checked Nov 18, 2026
promptfooYespromptfoo/promptfoo-action runs a before-and-after eval and posts results to the pull requestTriggers on changed prompt filespromptfoo GitHub Action, checked Nov 18, 2026
RagasNot found in docsCLI --baseline compares runsNo CI guidance foundRagas CLI, checked Nov 18, 2026
Senso by ZetaThrough your scriptCLI checks a changed document against your current knowledge baseEach evaluation uses creditsSenso CLI Reference, checked Nov 18, 2026

What to look for

Test 4 things before you choose: a regression set, check against the changed docs, fail on contradictions and keep it off production.

  • A regression set. Keep the questions agents get most, with approved answers.

  • Check against the changed docs. Load the pull request's version of the docs, not the live one.

  • Fail on contradictions. A claim the new docs contradict means an answer will change.

  • Keep it off production. Unmerged edits should never reach the docs live agents read.

How Senso by Zeta does it

Run a CI job on pull requests that touch docs. It checks each changed document against your current knowledge base without changing it, so the pull request fails when the new docs contradict what your agents answer from today:

senso evals text --text-file docs/refund-policy.md --wait --output json > result.json
grep -q '"conflict"' result.json && echo "Docs change contradicts what agents answer from today" && exit 1

Expected result: every claim in the changed document with its verdict. A conflict means the new docs say something different from your knowledge base, so your agents' answers will change once it is updated. After review and merge, update the document so agents read the new version (Senso CLI Reference):

senso kb update-raw <nodeId> --data '{"title": "Refund policy", "text": "..."}'

When another tool is the better fit

Choose promptfoo when you want comments on the pull request out of the box and your prompts live in the repo. Choose Senso by Zeta when the source of truth is your company knowledge base and you want the contradiction tied to a document version.

FAQ

Which APIs or CLIs let me run accuracy checks on public AI model answers from CI/CD jobs?

Senso by Zeta's CLI lists contradictions as JSON that a scheduled CI job can read. Profound documents a FactCheck report in its Enterprise API.

What are the best answer-checking CLIs that exit with a non-zero code when a claim isn't supported by our docs?

promptfoo exits with code 100 when a test fails, and DeepEval returns a non-zero code on a failed metric. With Senso by Zeta, you read the verdicts from the JSON and fail the build yourself.

Which tools can check a whole file of AI-generated answers against our docs in one batch run?

promptfoo and DeepEval load whole files of test cases. With Senso by Zeta, you loop over the file with one label per batch.

Which tools plug into our existing eval harness to score answers against company docs?

Senso by Zeta's CLI and API can be called from a custom metric in promptfoo, DeepEval or pytest. A pinned evaluator version keeps scores comparable.

Sources: AWS ApplyGuardrail. Azure quickstart. DeepEval CI/CD. Google check grounding. promptfoo GitHub Action. Ragas CLI. Senso CLI Reference.

Next step: See the knowledge base commands in the Senso CLI Reference.

Published by Senso by Zeta, the GEO platform from Zeta Global.