interface PromptInferenceConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_bedrock.CfnPromptVersion.PromptInferenceConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnPromptVersion_PromptInferenceConfigurationProperty |
Java | software.amazon.awscdk.services.bedrock.CfnPromptVersion.PromptInferenceConfigurationProperty |
Python | aws_cdk.aws_bedrock.CfnPromptVersion.PromptInferenceConfigurationProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnPromptVersion » PromptInferenceConfigurationProperty |
Contains inference configurations for the prompt.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const promptInferenceConfigurationProperty: bedrock.CfnPromptVersion.PromptInferenceConfigurationProperty = {
text: {
maxTokens: 123,
stopSequences: ['stopSequences'],
temperature: 123,
topP: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| text | IResolvable | Prompt | Contains inference configurations for a text prompt. |
text
Type:
IResolvable | Prompt
Contains inference configurations for a text prompt.

.NET
Go
Java
Python
TypeScript