UNPKG

llmverify

Version:

AI Output Verification Toolkit — Local-first LLM safety, hallucination detection, PII redaction, prompt injection defense, and runtime monitoring. Zero telemetry. OWASP LLM Top 10 aligned.

21 lines (20 loc) 609 B
/** * Risk Analyzer * * Analyzes risk indicators for claims using pattern-based heuristics. * All processing is local - no external API calls. * * @module engines/hallucination/risk-analyzer * @author Haiec * @license MIT */ import { Claim } from '../../types/results'; import { Config } from '../../types/config'; /** * Analyze risk indicators for a claim with enhanced detection */ export declare function analyzeRiskIndicators(claim: Claim, _config: Config): Claim; /** * Check for contradiction signals between claims */ export declare function checkContradictions(claims: Claim[]): Claim[];