Class CfnPrompt.PromptInferenceConfigurationProperty
Contains inference configurations for the prompt.
Implements
Inherited Members
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
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
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; }