interface PromptInferenceConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnFlowPropsMixin.PromptInferenceConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnFlowPropsMixin_PromptInferenceConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnFlowPropsMixin.PromptInferenceConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnFlowPropsMixin.PromptInferenceConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnFlowPropsMixin » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const promptInferenceConfigurationProperty: bedrock_mixins.CfnFlowPropsMixin.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
(optional)
Contains inference configurations for a text prompt.

.NET
Go
Java
Python
TypeScript