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.
39 lines (38 loc) • 1.08 kB
TypeScript
/**
* Structured List Test
*
* Tests if the LLM can generate properly structured list output.
* Validates format compliance and structural consistency.
*
* WHAT THIS TESTS:
* ✅ List formatting capability
* ✅ Instruction following for structure
* ✅ Consistent formatting patterns
*
* LIMITATIONS:
* - Format variations may be valid but flagged
* - Does not validate list content accuracy
* - May be too strict for creative responses
*
* @module sentinel/structuredListTest
* @author Haiec
* @license MIT
*/
import { SentinelTestResult, SentinelConfig } from '../types/runtime';
/**
* Tests if the LLM can generate a properly structured list.
*
* @param config - Sentinel configuration with LLM client
* @returns Test result with structure analysis
*
* @example
* const result = await structuredListTest({
* client: myLLMClient,
* model: 'gpt-4'
* });
*
* if (result.passed) {
* console.log('LLM can generate structured lists');
* }
*/
export declare function structuredListTest(config: SentinelConfig): Promise<SentinelTestResult>;