Partager via


StreamingAnnotationContent Class

Definition

Content type to support message annotations.

public class StreamingAnnotationContent : Microsoft.SemanticKernel.StreamingKernelContent
type StreamingAnnotationContent = class
    inherit StreamingKernelContent
Public Class StreamingAnnotationContent
Inherits StreamingKernelContent
Inheritance
StreamingAnnotationContent

Constructors

StreamingAnnotationContent()

Initializes a new instance of the StreamingAnnotationContent class.

StreamingAnnotationContent(String, String, Object, IReadOnlyDictionary<String,Object>)

Initializes a new instance of the StreamingAnnotationContent class.

Properties

ChoiceIndex

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

(Inherited from StreamingKernelContent)
EndIndex

End index of the citation.

FileId

The file identifier.

InnerContent

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

(Inherited from StreamingKernelContent)
Metadata

The metadata associated with the content.

(Inherited from StreamingKernelContent)
ModelId

The model ID used to generate the content.

(Inherited from StreamingKernelContent)
Quote

The citation.

StartIndex

Start index of the citation.

Methods

ToByteArray()

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

ToString()

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

Applies to