Partager via


StreamingFileReferenceContent Constructors

Definition

Overloads

StreamingFileReferenceContent()

Initializes a new instance of the StreamingFileReferenceContent class.

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

Initializes a new instance of the StreamingFileReferenceContent class.

StreamingFileReferenceContent()

Initializes a new instance of the StreamingFileReferenceContent class.

[System.Text.Json.Serialization.JsonConstructor]
public StreamingFileReferenceContent ();
Public Sub New ()
Attributes

Applies to

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

Initializes a new instance of the StreamingFileReferenceContent class.

public StreamingFileReferenceContent (string fileId, string? modelId = default, object? innerContent = default, System.Collections.Generic.IReadOnlyDictionary<string,object?>? metadata = default);
new Microsoft.SemanticKernel.StreamingFileReferenceContent : string * string * obj * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.SemanticKernel.StreamingFileReferenceContent
Public Sub New (fileId As String, Optional modelId As String = Nothing, Optional innerContent As Object = Nothing, Optional metadata As IReadOnlyDictionary(Of String, Object) = Nothing)

Parameters

fileId
String

The identifier of the referenced file.

modelId
String

The model ID used to generate the content.

innerContent
Object

Inner content

metadata
IReadOnlyDictionary<String,Object>

Additional metadata

Applies to