Constitutional validation pipeline configuration.
More...
#include <entropic/types/config.h>
|
| bool | enabled = false |
| | Global enable/disable (default OFF)
|
| |
| int | max_revisions = 2 |
| | Max re-generation attempts (0 = critique only)
|
| |
| int | max_critique_tokens = 1024 |
| | Token budget for critique generation.
|
| |
| float | temperature = 0.0f |
| | Critique generation temperature.
|
| |
| bool | enable_thinking = false |
| | Enable think-blocks for critique (default OFF)
|
| |
| int | priority = 100 |
| | Hook priority (higher = later)
|
| |
| std::string | grammar_key = "constitutional_critique" |
| | Grammar registry key.
|
| |
| std::vector< std::string > | skip_tiers = {"lead"} |
| | Tiers exempt from validation (default: lead — streams before hook fires)
|
| |
| std::string | critique_tier |
| | Tier to route critique generation on.
|
| |
Constitutional validation pipeline configuration.
Controls the post-generation validation hook that critiques engine output against constitutional rules. Default disabled — doubles inference cost per generation when active.
- skip_tiers
- Tiers listed here are exempt from validation. Defaults to {"lead"} because lead's output streams directly to the user — the hook fires after the stream completes, so modifying lead output has no effect and wastes inference. Validation applies to delegated child tiers.
- Version
- 2.0.7
Definition at line 565 of file config.h.
◆ critique_tier
| std::string entropic::ConstitutionalValidationConfig::critique_tier |
Tier to route critique generation on.
Empty = use the active tier (previous behavior). Pointing this at a smaller tier (e.g. "eng") avoids burning 35B primary inference on grammar- constrained critique work. (E4, 2.0.6-rc17)
Definition at line 579 of file config.h.
◆ enable_thinking
| bool entropic::ConstitutionalValidationConfig::enable_thinking = false |
Enable think-blocks for critique (default OFF)
Definition at line 570 of file config.h.
◆ enabled
| bool entropic::ConstitutionalValidationConfig::enabled = false |
Global enable/disable (default OFF)
Definition at line 566 of file config.h.
◆ grammar_key
| std::string entropic::ConstitutionalValidationConfig::grammar_key = "constitutional_critique" |
Grammar registry key.
Definition at line 572 of file config.h.
◆ max_critique_tokens
| int entropic::ConstitutionalValidationConfig::max_critique_tokens = 1024 |
Token budget for critique generation.
Definition at line 568 of file config.h.
◆ max_revisions
| int entropic::ConstitutionalValidationConfig::max_revisions = 2 |
Max re-generation attempts (0 = critique only)
Definition at line 567 of file config.h.
◆ priority
| int entropic::ConstitutionalValidationConfig::priority = 100 |
Hook priority (higher = later)
Definition at line 571 of file config.h.
◆ skip_tiers
| std::vector<std::string> entropic::ConstitutionalValidationConfig::skip_tiers = {"lead"} |
Tiers exempt from validation (default: lead — streams before hook fires)
Definition at line 574 of file config.h.
◆ temperature
| float entropic::ConstitutionalValidationConfig::temperature = 0.0f |
Critique generation temperature.
Definition at line 569 of file config.h.
The documentation for this struct was generated from the following file: