PromptConfiguration.Builder |
PromptConfiguration.Builder.additionalModelRequestFields(Document additionalModelRequestFields) |
If the Converse or ConverseStream operations support the model, additionalModelRequestFields
contains additional inference parameters, beyond the base set of inference parameters in the
inferenceConfiguration field.
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.basePromptTemplate(String basePromptTemplate) |
Defines the prompt template with which to replace the default prompt template.
|
static PromptConfiguration.Builder |
PromptConfiguration.builder() |
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.foundationModel(String foundationModel) |
The foundation model to use.
|
default PromptConfiguration.Builder |
PromptConfiguration.Builder.inferenceConfiguration(Consumer<InferenceConfiguration.Builder> inferenceConfiguration) |
Contains inference parameters to use when the agent invokes a foundation model in the part of the agent
sequence defined by the promptType.
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.inferenceConfiguration(InferenceConfiguration inferenceConfiguration) |
Contains inference parameters to use when the agent invokes a foundation model in the part of the agent
sequence defined by the promptType.
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.parserMode(String parserMode) |
Specifies whether to override the default parser Lambda function when parsing the raw foundation model output
in the part of the agent sequence defined by the promptType.
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.parserMode(CreationMode parserMode) |
Specifies whether to override the default parser Lambda function when parsing the raw foundation model output
in the part of the agent sequence defined by the promptType.
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.promptCreationMode(String promptCreationMode) |
Specifies whether to override the default prompt template for this promptType.
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.promptCreationMode(CreationMode promptCreationMode) |
Specifies whether to override the default prompt template for this promptType.
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.promptState(String promptState) |
Specifies whether to allow the inline agent to carry out the step specified in the promptType.
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.promptState(PromptState promptState) |
Specifies whether to allow the inline agent to carry out the step specified in the promptType.
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.promptType(String promptType) |
The step in the agent sequence that this prompt configuration applies to.
|
PromptConfiguration.Builder |
PromptConfiguration.Builder.promptType(PromptType promptType) |
The step in the agent sequence that this prompt configuration applies to.
|
PromptConfiguration.Builder |
PromptConfiguration.toBuilder() |
|