@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GenerationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains configurations for response generation based on the knowledge base query results.
This data type is used in the following API operations:
| Constructor and Description |
|---|
GenerationConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
GenerationConfiguration |
clone() |
boolean |
equals(Object obj) |
PromptTemplate |
getPromptTemplate()
Contains the template for the prompt that's sent to the model for response generation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setPromptTemplate(PromptTemplate promptTemplate)
Contains the template for the prompt that's sent to the model for response generation.
|
String |
toString()
Returns a string representation of this object.
|
GenerationConfiguration |
withPromptTemplate(PromptTemplate promptTemplate)
Contains the template for the prompt that's sent to the model for response generation.
|
public void setPromptTemplate(PromptTemplate promptTemplate)
Contains the template for the prompt that's sent to the model for response generation.
promptTemplate - Contains the template for the prompt that's sent to the model for response generation.public PromptTemplate getPromptTemplate()
Contains the template for the prompt that's sent to the model for response generation.
public GenerationConfiguration withPromptTemplate(PromptTemplate promptTemplate)
Contains the template for the prompt that's sent to the model for response generation.
promptTemplate - Contains the template for the prompt that's sent to the model for response generation.public String toString()
toString in class ObjectObject.toString()public GenerationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.