Skip to content
v2.274.0

PromptInferenceConfigurationProperty Struct ​

Contains inference configurations for the prompt.

Example ​

ts
// 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.CfnPrompt.PromptInferenceConfigurationProperty = {
  text: {
    maxTokens: 123,
    stopSequences: ['stopSequences'],
    temperature: 123,
    topP: 123,
  },
};

Properties ​

Contains inference configurations for a text prompt.