次の方法で共有


GeminiStreamingChatMessageContent Class

Definition

Gemini specialized streaming chat message content

public sealed class GeminiStreamingChatMessageContent : Microsoft.SemanticKernel.StreamingChatMessageContent
type GeminiStreamingChatMessageContent = class
    inherit StreamingChatMessageContent
Public NotInheritable Class GeminiStreamingChatMessageContent
Inherits StreamingChatMessageContent
Inheritance
GeminiStreamingChatMessageContent

Properties

AuthorName

Name of the author of the message

(Inherited from StreamingChatMessageContent)
CalledToolResult

The result of tool called by the kernel.

ChoiceIndex

In a scenario of multiple choices per request, this represents zero-based index of the choice in the streaming sequence

(Inherited from StreamingKernelContent)
Content

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

(Inherited from StreamingChatMessageContent)
Encoding

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

(Inherited from StreamingChatMessageContent)
InnerContent

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

(Inherited from StreamingKernelContent)
Items

Chat message content items.

(Inherited from StreamingChatMessageContent)
Metadata

The metadata associated with the content.

ModelId

The model ID used to generate the content.

(Inherited from StreamingKernelContent)
Role

Role of the author of the message

(Inherited from StreamingChatMessageContent)
ToolCalls

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

Methods

ToByteArray()

Abstract byte[] representation of the chunk in a way it could be composed/appended with previous chunks.

(Inherited from StreamingChatMessageContent)
ToString()

Abstract string representation of the chunk in a way it could compose/append with previous chunks.

(Inherited from StreamingChatMessageContent)

Applies to