| Package | Description |
|---|---|
| com.amazonaws.services.bedrockagent.model |
| Modifier and Type | Method and Description |
|---|---|
PromptConfiguration |
PromptConfiguration.clone() |
PromptConfiguration |
PromptConfiguration.withBasePromptTemplate(String basePromptTemplate)
Defines the prompt template with which to replace the default prompt template.
|
PromptConfiguration |
PromptConfiguration.withInferenceConfiguration(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 |
PromptConfiguration.withParserMode(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 |
PromptConfiguration.withParserMode(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 |
PromptConfiguration.withPromptCreationMode(CreationMode promptCreationMode)
Specifies whether to override the default prompt template for this
promptType. |
PromptConfiguration |
PromptConfiguration.withPromptCreationMode(String promptCreationMode)
Specifies whether to override the default prompt template for this
promptType. |
PromptConfiguration |
PromptConfiguration.withPromptState(PromptState promptState)
Specifies whether to allow the agent to carry out the step specified in the
promptType. |
PromptConfiguration |
PromptConfiguration.withPromptState(String promptState)
Specifies whether to allow the agent to carry out the step specified in the
promptType. |
PromptConfiguration |
PromptConfiguration.withPromptType(PromptType promptType)
The step in the agent sequence that this prompt configuration applies to.
|
PromptConfiguration |
PromptConfiguration.withPromptType(String promptType)
The step in the agent sequence that this prompt configuration applies to.
|
| Modifier and Type | Method and Description |
|---|---|
List<PromptConfiguration> |
PromptOverrideConfiguration.getPromptConfigurations()
Contains configurations to override a prompt template in one part of an agent sequence.
|
| Modifier and Type | Method and Description |
|---|---|
PromptOverrideConfiguration |
PromptOverrideConfiguration.withPromptConfigurations(PromptConfiguration... promptConfigurations)
Contains configurations to override a prompt template in one part of an agent sequence.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PromptOverrideConfiguration.setPromptConfigurations(Collection<PromptConfiguration> promptConfigurations)
Contains configurations to override a prompt template in one part of an agent sequence.
|
PromptOverrideConfiguration |
PromptOverrideConfiguration.withPromptConfigurations(Collection<PromptConfiguration> promptConfigurations)
Contains configurations to override a prompt template in one part of an agent sequence.
|
Copyright © 2024. All rights reserved.