Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::CritiqueResult Struct Reference

Structured result from a single critique generation pass. More...

#include <entropic/types/validation.h>

Public Attributes

bool compliant = true
 true if output passes all rules
 
std::vector< Violationviolations
 List of constitutional violations.
 
std::string revised
 Revised text (may be empty)
 
std::string raw_json
 Raw critique JSON for audit logging.
 

Detailed Description

Structured result from a single critique generation pass.

Produced by parsing the grammar-constrained JSON output of the critique generation. The grammar ensures valid JSON structure; parse failures are handled as infrastructure errors (not content judgments).

Version
1.9.8

Definition at line 44 of file validation.h.

Member Data Documentation

◆ compliant

bool entropic::CritiqueResult::compliant = true

true if output passes all rules

Definition at line 45 of file validation.h.

◆ raw_json

std::string entropic::CritiqueResult::raw_json

Raw critique JSON for audit logging.

Definition at line 48 of file validation.h.

◆ revised

std::string entropic::CritiqueResult::revised

Revised text (may be empty)

Definition at line 47 of file validation.h.

◆ violations

std::vector<Violation> entropic::CritiqueResult::violations

List of constitutional violations.

Definition at line 46 of file validation.h.


The documentation for this struct was generated from the following file: