Interface CfnFlowPropsMixin.IPromptFlowNodeInlineConfigurationProperty
Contains configurations for a prompt defined inline in the node.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnFlowPropsMixin.IPromptFlowNodeInlineConfigurationProperty
Syntax (vb)
Public Interface CfnFlowPropsMixin.IPromptFlowNodeInlineConfigurationProperty
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.CfnPropertyMixins.AWS.Bedrock;
var promptFlowNodeInlineConfigurationProperty = new PromptFlowNodeInlineConfigurationProperty {
InferenceConfiguration = new PromptInferenceConfigurationProperty {
Text = new PromptModelInferenceConfigurationProperty {
MaxTokens = 123,
StopSequences = new [] { "stopSequences" },
Temperature = 123,
TopP = 123
}
},
ModelId = "modelId",
TemplateConfiguration = new PromptTemplateConfigurationProperty {
Text = new TextPromptTemplateConfigurationProperty {
InputVariables = new [] { new PromptInputVariableProperty {
Name = "name"
} },
Text = "text"
}
},
TemplateType = "templateType"
};
Synopsis
Properties
| InferenceConfiguration | Contains inference configurations for the prompt. |
| ModelId | The unique identifier of the model or inference profile to run inference with. |
| TemplateConfiguration | Contains a prompt and variables in the prompt that can be replaced with values at runtime. |
| TemplateType | The type of prompt template. |
Properties
InferenceConfiguration
Contains inference configurations for the prompt.
object? InferenceConfiguration { get; }
Property Value
Remarks
ModelId
The unique identifier of the model or inference profile to run inference with.
string? ModelId { get; }
Property Value
Remarks
TemplateConfiguration
Contains a prompt and variables in the prompt that can be replaced with values at runtime.
object? TemplateConfiguration { get; }
Property Value
Remarks
TemplateType
The type of prompt template.
string? TemplateType { get; }