| Package | Description |
|---|---|
| com.amazonaws.services.bedrockagentruntime.model |
| Modifier and Type | Method and Description |
|---|---|
PromptTemplate |
PromptTemplate.clone() |
PromptTemplate |
ExternalSourcesGenerationConfiguration.getPromptTemplate()
Contain the textPromptTemplate string for the external source wrapper object.
|
PromptTemplate |
GenerationConfiguration.getPromptTemplate()
Contains the template for the prompt that's sent to the model for response generation.
|
PromptTemplate |
PromptTemplate.withTextPromptTemplate(String textPromptTemplate)
The template for the prompt that's sent to the model for response generation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExternalSourcesGenerationConfiguration.setPromptTemplate(PromptTemplate promptTemplate)
Contain the textPromptTemplate string for the external source wrapper object.
|
void |
GenerationConfiguration.setPromptTemplate(PromptTemplate promptTemplate)
Contains the template for the prompt that's sent to the model for response generation.
|
ExternalSourcesGenerationConfiguration |
ExternalSourcesGenerationConfiguration.withPromptTemplate(PromptTemplate promptTemplate)
Contain the textPromptTemplate string for the external source wrapper object.
|
GenerationConfiguration |
GenerationConfiguration.withPromptTemplate(PromptTemplate promptTemplate)
Contains the template for the prompt that's sent to the model for response generation.
|
Copyright © 2024. All rights reserved.