Infrastructure · Data Structures
Prompt
Structured instruction to a generative model, optionally role-tagged
Definition
Mechanism
Structured input-instruction submitted to a generative model. May carry a role tag (system, user, assistant). Distinct from a Message (agent-to-agent communication with sender/recipient metadata) and from a raw Signal (no envelope). Tool declarations, multi-turn structure and system/user separation are descendant concerns — the base is the instruction and its role.
Invariants
None stated.
Risks
Failure modes
None stated.
Relationships
Root pattern: builds on nothing in this library.
Used by
References
Mind
Use prompts to generate or refine other prompts
Mind
Clarification before generation
Reference
Data schema
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"role": {
"type": "string"
}
},
"required": [
"text"
]
}