Package com.pulumi.aws.bedrock.inputs
Class AgentPromptVariantInferenceConfigurationTextArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.bedrock.inputs.AgentPromptVariantInferenceConfigurationTextArgs.Builder
-
- Enclosing class:
- AgentPromptVariantInferenceConfigurationTextArgs
public static final class AgentPromptVariantInferenceConfigurationTextArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AgentPromptVariantInferenceConfigurationTextArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AgentPromptVariantInferenceConfigurationTextArgs defaults)
-
-
Method Detail
-
maxTokens
public AgentPromptVariantInferenceConfigurationTextArgs.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 AgentPromptVariantInferenceConfigurationTextArgs.Builder maxTokens(java.lang.Integer maxTokens)
- Parameters:
maxTokens- Maximum number of tokens to return in the response.- Returns:
- builder
-
stopSequences
public AgentPromptVariantInferenceConfigurationTextArgs.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 will stop generating.- Returns:
- builder
-
stopSequences
public AgentPromptVariantInferenceConfigurationTextArgs.Builder stopSequences(java.util.List<java.lang.String> stopSequences)
- Parameters:
stopSequences- List of strings that define sequences after which the model will stop generating.- Returns:
- builder
-
stopSequences
public AgentPromptVariantInferenceConfigurationTextArgs.Builder stopSequences(java.lang.String... stopSequences)
- Parameters:
stopSequences- List of strings that define sequences after which the model will stop generating.- Returns:
- builder
-
temperature
public AgentPromptVariantInferenceConfigurationTextArgs.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 AgentPromptVariantInferenceConfigurationTextArgs.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 AgentPromptVariantInferenceConfigurationTextArgs.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 AgentPromptVariantInferenceConfigurationTextArgs.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 AgentPromptVariantInferenceConfigurationTextArgs build()
-
-