RetrievalInstructionContent¶
Structure Class¶
RetrievalInstructionContent
dataclass
¶
Bases: _SerdeShape
The instruction content, as a set of named fields. Every field is optional; at least one must be present. Service-side validation enforces per-field and aggregate size limits.
Attributes¶
answer_format
class-attribute
instance-attribute
¶
answer_format: str | None = ...
How the answer is structured, including how sources are cited.
answer_policy
class-attribute
instance-attribute
¶
answer_policy: str | None = ...
Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.