Class CfnPromptVersion.ContentBlockProperty
A block of content for a message that you pass to, or receive from, a model with the Converse or ConverseStream API operations.
Inheritance
Implements
Namespace: Amazon.CDK.AwsBedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ContentBlockProperty : Object, CfnPromptVersion.IContentBlockProperty
Syntax (vb)
Public Class ContentBlockProperty
Inherits Object
Implements CfnPromptVersion.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.Aws_bedrock;
var contentBlockProperty = new ContentBlockProperty {
CachePoint = new CachePointBlockProperty {
Type = "type"
},
Text = "text"
};
Synopsis
Constructors
Content |
Properties
Cache |
Creates a cache checkpoint within a message. |
Text | Text to include in the message. |
Constructors
ContentBlockProperty()
public ContentBlockProperty()
Properties
CachePoint
Creates a cache checkpoint within a message.
public object CachePoint { get; set; }
Property Value
System.
Remarks
Text
Text to include in the message.
public string Text { get; set; }
Property Value
System.