Class ConverseMessage
Inheritance
ConverseMessage
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class ConverseMessage
Properties
|
Edit this page
View Source
Content
Required. The message content.
You can include up to 20 images. Each image's size, height, and width
must be no more than 3.75 MB, 8000 px, and 8000 px, respectively.
You can include up to five documents. Each document's size must be no more than 4.5 MB.
If you include a ContentBlock with a document field in the array,
you must also include a ContentBlock with a text field.
You can only include images and documents if the role is user.
Declaration
[JsonProperty("content")]
public ContentBlock[] Content { get; set; }
Property Value
|
Edit this page
View Source
Role
Required. The role that the message plays in the message.
Declaration
[JsonProperty("role")]
public string Role { get; set; }
Property Value
Methods
|
Edit this page
View Source
Reasoning(string, string)
Declaration
public static ConverseMessage Reasoning(string reasoningText, string signature = null)
Parameters
Returns
|
Edit this page
View Source
RedactedReasoning(string)
Declaration
public static ConverseMessage RedactedReasoning(string redactedBase64Content)
Parameters
| Type |
Name |
Description |
| string |
redactedBase64Content |
|
Returns
|
Edit this page
View Source
UserMessage(string)
Declaration
public static ConverseMessage UserMessage(string text)
Parameters
| Type |
Name |
Description |
| string |
text |
|
Returns
Extension Methods