Package com.pulumi.aws.bedrock.inputs
Class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.bedrock.inputs.AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder
-
public static final class AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs defaults)
-
-
Method Detail
-
maxLength
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder maxLength(com.pulumi.core.Output<java.lang.Integer> maxLength)
- Parameters:
maxLength- Maximum number of tokens to allow in the generated response.- Returns:
- builder
-
maxLength
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder maxLength(java.lang.Integer maxLength)
- Parameters:
maxLength- Maximum number of tokens to allow in the generated response.- Returns:
- builder
-
stopSequences
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder stopSequences(com.pulumi.core.Output<java.util.List<java.lang.String>> stopSequences)
- Parameters:
stopSequences- List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response.- Returns:
- builder
-
stopSequences
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder stopSequences(java.util.List<java.lang.String> stopSequences)
- Parameters:
stopSequences- List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response.- Returns:
- builder
-
stopSequences
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder stopSequences(java.lang.String... stopSequences)
- Parameters:
stopSequences- List of stop sequences. A stop sequence is a sequence of characters that causes the model to stop generating the response.- Returns:
- builder
-
temperature
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder temperature(com.pulumi.core.Output<java.lang.Double> temperature)
- Parameters:
temperature- Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options.- Returns:
- builder
-
temperature
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder temperature(java.lang.Double temperature)
- Parameters:
temperature- Likelihood of the model selecting higher-probability options while generating a response. A lower value makes the model more likely to choose higher-probability options, while a higher value makes the model more likely to choose lower-probability options.- Returns:
- builder
-
topK
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder topK(com.pulumi.core.Output<java.lang.Integer> topK)
- Parameters:
topK- Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence.- Returns:
- builder
-
topK
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder topK(java.lang.Integer topK)
- Parameters:
topK- Number of top most-likely candidates, between 0 and 500, from which the model chooses the next token in the sequence.- Returns:
- builder
-
topP
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder topP(com.pulumi.core.Output<java.lang.Double> topP)
- Parameters:
topP- Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence.- Returns:
- builder
-
topP
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs.Builder topP(java.lang.Double topP)
- Parameters:
topP- Top percentage of the probability distribution of next tokens, between 0 and 1 (denoting 0% and 100%), from which the model chooses the next token in the sequence.- Returns:
- builder
-
build
public AgentAgentPromptOverrideConfigurationPromptConfigurationInferenceConfigurationArgs build()
-
-