Class CfnPromptPropsMixin.ContentBlockProperty
A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Bedrock
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnPromptPropsMixin.ContentBlockProperty : CfnPromptPropsMixin.IContentBlockProperty
Syntax (vb)
Public Class CfnPromptPropsMixin.ContentBlockProperty Implements CfnPromptPropsMixin.IContentBlockProperty
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 contentBlockProperty = new ContentBlockProperty {
CachePoint = new CachePointBlockProperty {
Type = "type"
},
Text = "text"
};
Synopsis
Constructors
| ContentBlockProperty() | A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations. |
Properties
| CachePoint | CachePoint to include in the message. |
| Text | Text to include in the message. |
Constructors
ContentBlockProperty()
A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.
public ContentBlockProperty()
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 contentBlockProperty = new ContentBlockProperty {
CachePoint = new CachePointBlockProperty {
Type = "type"
},
Text = "text"
};
Properties
CachePoint
CachePoint to include in the message.
public object? CachePoint { get; set; }
Property Value
Remarks
Text
Text to include in the message.
public string? Text { get; set; }