Show / Hide Table of Contents

Interface CfnPromptPropsMixin.IPromptInferenceConfigurationProperty

Contains inference configurations for the prompt.

Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnPromptPropsMixin.IPromptInferenceConfigurationProperty
Syntax (vb)
Public Interface CfnPromptPropsMixin.IPromptInferenceConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptinferenceconfiguration.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.CfnPropertyMixins.AWS.Bedrock;

             var promptInferenceConfigurationProperty = new PromptInferenceConfigurationProperty {
                 Text = new PromptModelInferenceConfigurationProperty {
                     MaxTokens = 123,
                     StopSequences = new [] { "stopSequences" },
                     Temperature = 123,
                     TopP = 123
                 }
             };

Synopsis

Properties

Text

Contains inference configurations for a text prompt.

Properties

Text

Contains inference configurations for a text prompt.

object? Text { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-prompt-promptinferenceconfiguration.html#cfn-bedrock-prompt-promptinferenceconfiguration-text

Type union: either IResolvable or CfnPromptPropsMixin.IPromptModelInferenceConfigurationProperty

Back to top Generated by DocFX