Share via


GeminiChatMessageContent Class

Definition

Gemini specialized chat message content

public sealed class GeminiChatMessageContent : Microsoft.SemanticKernel.ChatMessageContent
type GeminiChatMessageContent = class
    inherit ChatMessageContent
Public NotInheritable Class GeminiChatMessageContent
Inherits ChatMessageContent
Inheritance
GeminiChatMessageContent

Constructors

GeminiChatMessageContent(GeminiFunctionToolResult)

Initializes a new instance of the GeminiChatMessageContent class.

Properties

AuthorName

Name of the author of the message

(Inherited from ChatMessageContent)
CalledToolResult

The result of tool called by the kernel.

Content

A convenience property to get or set the text of the first item in the Items collection of TextContent type.

(Inherited from ChatMessageContent)
Encoding

The encoding of the text content.

(Inherited from ChatMessageContent)
InnerContent

The inner content representation. Use this to bypass the current abstraction.

(Inherited from KernelContent)
Items

Chat message content items

(Inherited from ChatMessageContent)
Metadata

The metadata associated with the content.

MimeType

MIME type of the content.

(Inherited from KernelContent)
ModelId

The model ID used to generate the content.

(Inherited from KernelContent)
Role

Role of the author of the message

(Inherited from ChatMessageContent)
Source

Represents the source of the message.

(Inherited from ChatMessageContent)
ToolCalls

A list of the tools returned by the model with arguments.

Methods

ToString() (Inherited from ChatMessageContent)

Applies to