Class AiPromptContradictionDetector
Reasons over the structured AiPromptDeclaredOutcome claims every selected AiPromptSection makes, and surfaces contradictions for the generated prompt to hand back to the user. Findings never block Compose(AiPromptCompositionRequest) — they render into the prompt as questions the AI agent must resolve before it starts working.
Inherited Members
Namespace: Serenity.Editor.AiPromptBuilder
Assembly: Serenity.AiPromptBuilder.Editor.dll
Syntax
public static class AiPromptContradictionDetector
Methods
Detect(IReadOnlyList<AiPromptSection>, AiPromptProjectScan)
Declaration
public static IReadOnlyList<AiPromptConflictFinding> Detect(IReadOnlyList<AiPromptSection> sections, AiPromptProjectScan scan)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<AiPromptSection> | sections | |
| AiPromptProjectScan | scan |
Returns
| Type | Description |
|---|---|
| IReadOnlyList<AiPromptConflictFinding> |