Package com.pulumi.aws.bedrock.inputs
Class AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.bedrock.inputs.AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder
-
public static final class AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs defaults)
-
-
Method Detail
-
maxTokens
public AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder maxTokens(@Nullable com.pulumi.core.Output<java.lang.Integer> maxTokens)
- Parameters:
maxTokens- Maximum number of tokens to return in the response.- Returns:
- builder
-
maxTokens
public AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder maxTokens(java.lang.Integer maxTokens)
- Parameters:
maxTokens- Maximum number of tokens to return in the response.- Returns:
- builder
-
stopSequences
public AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder stopSequences(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> stopSequences)
- Parameters:
stopSequences- List of strings that define sequences after which the model stops generating.- Returns:
- builder
-
stopSequences
public AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder stopSequences(java.util.List<java.lang.String> stopSequences)
- Parameters:
stopSequences- List of strings that define sequences after which the model stops generating.- Returns:
- builder
-
stopSequences
public AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder stopSequences(java.lang.String... stopSequences)
- Parameters:
stopSequences- List of strings that define sequences after which the model stops generating.- Returns:
- builder
-
temperature
public AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder temperature(@Nullable com.pulumi.core.Output<java.lang.Double> temperature)
- Parameters:
temperature- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.- Returns:
- builder
-
temperature
public AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder temperature(java.lang.Double temperature)
- Parameters:
temperature- Controls the randomness of the response. Choose a lower value for more predictable outputs and a higher value for more surprising outputs.- Returns:
- builder
-
topP
public AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder topP(@Nullable com.pulumi.core.Output<java.lang.Double> topP)
- Parameters:
topP- Percentage of most-likely candidates that the model considers for the next token.- Returns:
- builder
-
topP
public AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs.Builder topP(java.lang.Double topP)
- Parameters:
topP- Percentage of most-likely candidates that the model considers for the next token.- Returns:
- builder
-
build
public AgentFlowDefinitionNodeConfigurationKnowledgeBaseInferenceConfigurationTextArgs build()
-
-