Show / Hide Table of Contents

Class CfnPrompt.PromptInferenceConfigurationProperty

Contains inference configurations for the prompt.

Inheritance
object
CfnPrompt.PromptInferenceConfigurationProperty
Implements
CfnPrompt.IPromptInferenceConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnPrompt.PromptInferenceConfigurationProperty : CfnPrompt.IPromptInferenceConfigurationProperty
Syntax (vb)
Public Class CfnPrompt.PromptInferenceConfigurationProperty Implements CfnPrompt.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.AWS.Bedrock;

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

Synopsis

Constructors

PromptInferenceConfigurationProperty()

Contains inference configurations for the prompt.

Properties

Text

Contains inference configurations for a text prompt.

Constructors

PromptInferenceConfigurationProperty()

Contains inference configurations for the prompt.

public PromptInferenceConfigurationProperty()
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.AWS.Bedrock;

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

Properties

Text

Contains inference configurations for a text prompt.

public object Text { get; set; }
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 CfnPrompt.IPromptModelInferenceConfigurationProperty

Implements

CfnPrompt.IPromptInferenceConfigurationProperty
Back to top Generated by DocFX