Package com.pulumi.aws.bedrock.outputs
Class AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText
- java.lang.Object
-
- com.pulumi.aws.bedrock.outputs.AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText
-
public final class AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText.Builderbuilder()static AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText.Builderbuilder(AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText defaults)java.util.Optional<java.lang.Integer>maxTokens()java.util.List<java.lang.String>stopSequences()java.util.Optional<java.lang.Double>temperature()java.util.Optional<java.lang.Double>topP()
-
-
-
Method Detail
-
maxTokens
public java.util.Optional<java.lang.Integer> maxTokens()
- Returns:
- Maximum number of tokens to return in the response.
-
stopSequences
public java.util.List<java.lang.String> stopSequences()
- Returns:
- List of strings that define sequences after which the model stops generating.
-
temperature
public java.util.Optional<java.lang.Double> temperature()
- Returns:
- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.
-
topP
public java.util.Optional<java.lang.Double> topP()
- Returns:
- Percentage of most-likely candidates that the model considers for the next token.
-
builder
public static AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText.Builder builder()
-
builder
public static AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText.Builder builder(AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationText defaults)
-
-