@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InferenceConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration for inference settings when generating responses using RetrieveAndGenerate.
Constructor and Description |
---|
InferenceConfig() |
Modifier and Type | Method and Description |
---|---|
InferenceConfig |
clone() |
boolean |
equals(Object obj) |
TextInferenceConfig |
getTextInferenceConfig()
Configuration settings specific to text generation while generating responses using RetrieveAndGenerate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTextInferenceConfig(TextInferenceConfig textInferenceConfig)
Configuration settings specific to text generation while generating responses using RetrieveAndGenerate.
|
String |
toString()
Returns a string representation of this object.
|
InferenceConfig |
withTextInferenceConfig(TextInferenceConfig textInferenceConfig)
Configuration settings specific to text generation while generating responses using RetrieveAndGenerate.
|
public void setTextInferenceConfig(TextInferenceConfig textInferenceConfig)
Configuration settings specific to text generation while generating responses using RetrieveAndGenerate.
textInferenceConfig
- Configuration settings specific to text generation while generating responses using RetrieveAndGenerate.public TextInferenceConfig getTextInferenceConfig()
Configuration settings specific to text generation while generating responses using RetrieveAndGenerate.
public InferenceConfig withTextInferenceConfig(TextInferenceConfig textInferenceConfig)
Configuration settings specific to text generation while generating responses using RetrieveAndGenerate.
textInferenceConfig
- Configuration settings specific to text generation while generating responses using RetrieveAndGenerate.public String toString()
toString
in class Object
Object.toString()
public InferenceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.