Interface RetrievalInstructionContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RetrievalInstructionContent.Builder,,RetrievalInstructionContent> SdkBuilder<RetrievalInstructionContent.Builder,,RetrievalInstructionContent> SdkPojo
- Enclosing class:
RetrievalInstructionContent
@Mutable
@NotThreadSafe
public static interface RetrievalInstructionContent.Builder
extends SdkPojo, CopyableBuilder<RetrievalInstructionContent.Builder,RetrievalInstructionContent>
-
Method Summary
Modifier and TypeMethodDescriptionanswerFormat(String answerFormat) How the answer is structured, including how sources are cited.answerPolicy(String answerPolicy) Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.Who the assistant is: identity, tone and language.retrievalGuidance(String retrievalGuidance) How to interpret and decompose the question, and what to prioritise when searching.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
retrievalGuidance
How to interpret and decompose the question, and what to prioritise when searching.
- Parameters:
retrievalGuidance- How to interpret and decompose the question, and what to prioritise when searching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
persona
Who the assistant is: identity, tone and language.
- Parameters:
persona- Who the assistant is: identity, tone and language.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerFormat
How the answer is structured, including how sources are cited.
- Parameters:
answerFormat- How the answer is structured, including how sources are cited.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerPolicy
Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.
- Parameters:
answerPolicy- Whether and how to answer: how strongly an answer must be supported, and what to do with questions outside scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-