Skip to main content

Module fragment

Module fragment 

Source
Expand description

Typed prompt fragments and their stable content identity.

Structs§

PromptFragment
One independently attributable unit of model-visible prompt context.

Enums§

Authority
Model-visible authority carried by a prompt fragment.
PromptRole
Response role that owns a fragment.
Retention
How long a fragment remains eligible for reuse by later turns.

Functions§

content_hash
Stable SHA-256 identity over the response role, fragment kind, and body.