Identity frontmatter — full tier identity metadata.
More...
#include <entropic/prompts/manager.h>
|
| PromptType | type = PromptType::IDENTITY |
| | Always IDENTITY.
|
| |
| int | version = 1 |
| | Schema version.
|
| |
| std::string | name |
| | Tier name (e.g., "lead")
|
| |
| std::vector< std::string > | focus |
| | Focus areas (min 1)
|
| |
| std::vector< std::string > | examples |
| | Few-shot examples.
|
| |
| std::optional< std::string > | grammar |
| | Grammar file reference.
|
| |
| std::optional< std::string > | auto_chain |
| | Auto-chain target tier.
|
| |
| std::optional< std::vector< std::string > > | allowed_tools |
| | Tool filter.
|
| |
| std::optional< std::vector< std::string > > | bash_commands |
| | Allowed bash commands.
|
| |
| std::optional< int > | max_output_tokens |
| | Per-tier max output tokens (gh#82); nullopt = use param default.
|
| |
| std::optional< float > | temperature |
| | Per-tier sampling temperature (gh#82); nullopt = use param default.
|
| |
| std::optional< float > | top_p |
| | Per-tier top_p (gh#85); nullopt = use param default.
|
| |
| std::optional< int > | top_k |
| | Per-tier top_k (gh#85); nullopt = use param default.
|
| |
| std::optional< float > | min_p |
| | Per-tier min_p (gh#85); nullopt = use param default.
|
| |
| std::optional< float > | presence_penalty |
| | Per-tier presence_penalty (gh#85); nullopt = use param default.
|
| |
| std::optional< float > | frequency_penalty |
| | Per-tier frequency_penalty (gh#85); nullopt = use param default.
|
| |
| std::optional< float > | repeat_penalty |
| | Per-tier repeat_penalty (gh#86); nullopt = use param default.
|
| |
| std::optional< bool > | enable_thinking |
| | Per-tier thinking mode (gh#86); nullopt = use param default.
|
| |
| bool | interstitial = false |
| | Interstitial role.
|
| |
| bool | routable = true |
| | Visible to router.
|
| |
| bool | explicit_completion = false |
| | Requires explicit completion.
|
| |
| std::vector< std::string > | validation_rules |
| | Per-identity constitutional rules (v2.0.6)
|
| |
| bool | relay_single_delegate = false |
| | Skip re-synthesis when single delegate returns (v2.0.11)
|
| |
| int | max_iterations = -1 |
| | Per-identity loop iteration cap; -1 = use global (E6)
|
| |
| int | max_tool_calls_per_turn = -1 |
| | Per-identity tool call cap; -1 = use global (E6)
|
| |
| std::optional< std::unordered_map< std::string, PhaseConfig > > | phases |
| | Named phases.
|
| |
| std::optional< BenchmarkSpec > | benchmark |
| | Benchmark definition.
|
| |
Identity frontmatter — full tier identity metadata.
Maps to Python's IdentityFrontmatter. Inference behavior params live here (not in ModelConfig). Config contains hardware/load-time params only.
- Version
- 1.8.1
Definition at line 65 of file manager.h.
◆ allowed_tools
| std::optional<std::vector<std::string> > entropic::prompts::IdentityFrontmatter::allowed_tools |
◆ auto_chain
| std::optional<std::string> entropic::prompts::IdentityFrontmatter::auto_chain |
Auto-chain target tier.
Definition at line 73 of file manager.h.
◆ bash_commands
| std::optional<std::vector<std::string> > entropic::prompts::IdentityFrontmatter::bash_commands |
Allowed bash commands.
Definition at line 75 of file manager.h.
◆ benchmark
| std::optional<BenchmarkSpec> entropic::prompts::IdentityFrontmatter::benchmark |
Benchmark definition.
Definition at line 93 of file manager.h.
◆ enable_thinking
| std::optional<bool> entropic::prompts::IdentityFrontmatter::enable_thinking |
Per-tier thinking mode (gh#86); nullopt = use param default.
Definition at line 84 of file manager.h.
◆ examples
| std::vector<std::string> entropic::prompts::IdentityFrontmatter::examples |
Few-shot examples.
Definition at line 71 of file manager.h.
◆ explicit_completion
| bool entropic::prompts::IdentityFrontmatter::explicit_completion = false |
Requires explicit completion.
Definition at line 87 of file manager.h.
◆ focus
| std::vector<std::string> entropic::prompts::IdentityFrontmatter::focus |
Focus areas (min 1)
Definition at line 70 of file manager.h.
◆ frequency_penalty
| std::optional<float> entropic::prompts::IdentityFrontmatter::frequency_penalty |
Per-tier frequency_penalty (gh#85); nullopt = use param default.
Definition at line 82 of file manager.h.
◆ grammar
| std::optional<std::string> entropic::prompts::IdentityFrontmatter::grammar |
Grammar file reference.
Definition at line 72 of file manager.h.
◆ interstitial
| bool entropic::prompts::IdentityFrontmatter::interstitial = false |
Interstitial role.
Definition at line 85 of file manager.h.
◆ max_iterations
| int entropic::prompts::IdentityFrontmatter::max_iterations = -1 |
Per-identity loop iteration cap; -1 = use global (E6)
Definition at line 90 of file manager.h.
◆ max_output_tokens
| std::optional<int> entropic::prompts::IdentityFrontmatter::max_output_tokens |
Per-tier max output tokens (gh#82); nullopt = use param default.
Definition at line 76 of file manager.h.
◆ max_tool_calls_per_turn
| int entropic::prompts::IdentityFrontmatter::max_tool_calls_per_turn = -1 |
Per-identity tool call cap; -1 = use global (E6)
Definition at line 91 of file manager.h.
◆ min_p
| std::optional<float> entropic::prompts::IdentityFrontmatter::min_p |
Per-tier min_p (gh#85); nullopt = use param default.
Definition at line 80 of file manager.h.
◆ name
| std::string entropic::prompts::IdentityFrontmatter::name |
Tier name (e.g., "lead")
Definition at line 69 of file manager.h.
◆ phases
| std::optional<std::unordered_map<std::string, PhaseConfig> > entropic::prompts::IdentityFrontmatter::phases |
◆ presence_penalty
| std::optional<float> entropic::prompts::IdentityFrontmatter::presence_penalty |
Per-tier presence_penalty (gh#85); nullopt = use param default.
Definition at line 81 of file manager.h.
◆ relay_single_delegate
| bool entropic::prompts::IdentityFrontmatter::relay_single_delegate = false |
Skip re-synthesis when single delegate returns (v2.0.11)
Definition at line 89 of file manager.h.
◆ repeat_penalty
| std::optional<float> entropic::prompts::IdentityFrontmatter::repeat_penalty |
Per-tier repeat_penalty (gh#86); nullopt = use param default.
Definition at line 83 of file manager.h.
◆ routable
| bool entropic::prompts::IdentityFrontmatter::routable = true |
Visible to router.
Definition at line 86 of file manager.h.
◆ temperature
| std::optional<float> entropic::prompts::IdentityFrontmatter::temperature |
Per-tier sampling temperature (gh#82); nullopt = use param default.
Definition at line 77 of file manager.h.
◆ top_k
| std::optional<int> entropic::prompts::IdentityFrontmatter::top_k |
Per-tier top_k (gh#85); nullopt = use param default.
Definition at line 79 of file manager.h.
◆ top_p
| std::optional<float> entropic::prompts::IdentityFrontmatter::top_p |
Per-tier top_p (gh#85); nullopt = use param default.
Definition at line 78 of file manager.h.
◆ type
Always IDENTITY.
Definition at line 66 of file manager.h.
◆ validation_rules
| std::vector<std::string> entropic::prompts::IdentityFrontmatter::validation_rules |
Per-identity constitutional rules (v2.0.6)
Definition at line 88 of file manager.h.
◆ version
| int entropic::prompts::IdentityFrontmatter::version = 1 |
Schema version.
Definition at line 67 of file manager.h.
The documentation for this struct was generated from the following file: