StreamingFileReferenceContent Class

Definition

Content type to support file references.

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

Constructors

StreamingFileReferenceContent()

Initializes a new instance of the StreamingFileReferenceContent class.

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

Initializes a new instance of the StreamingFileReferenceContent 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)
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)

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