RetrievalInstructionContent
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.
Contents
- answerFormat
-
How the answer is structured, including how sources are cited.
Type: String
Length Constraints: Minimum length of 1.
Required: No
- answerPolicy
-
Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.
Type: String
Length Constraints: Minimum length of 1.
Required: No
- persona
-
Who the assistant is: identity, tone and language.
Type: String
Length Constraints: Minimum length of 1.
Required: No
- retrievalGuidance
-
How to interpret and decompose the question, and what to prioritise when searching.
Type: String
Length Constraints: Minimum length of 1.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: