Class CfnFlowPropsMixin.PromptInferenceConfigurationProperty
Contains inference configurations for the prompt.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnFlowPropsMixin.PromptInferenceConfigurationProperty : CfnFlowPropsMixin.IPromptInferenceConfigurationProperty
Syntax (vb)
Public Class CfnFlowPropsMixin.PromptInferenceConfigurationProperty Implements CfnFlowPropsMixin.IPromptInferenceConfigurationProperty
Remarks
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.Mixins.Preview.AWS.Bedrock.Mixins;
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
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.Mixins.Preview.AWS.Bedrock.Mixins;
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; }