Contents

Transcript.Instructions

Instructions you provide to the model that define its behavior.

Declaration

struct Instructions

Overview

Instructions are typically provided to define the role and behavior of the model. Apple trains the model to obey instructions over any commands it receives in prompts. This is a security mechanism to help mitigate prompt injection attacks.

Topics

Creating instructions

Inspecting instructions

See Also

Getting the transcript types