Partager via


FileReferenceContent Constructors

Definition

Overloads

FileReferenceContent()

Initializes a new instance of the FileReferenceContent class.

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

Initializes a new instance of the FileReferenceContent class.

FileReferenceContent()

Initializes a new instance of the FileReferenceContent class.

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

Applies to

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

Initializes a new instance of the FileReferenceContent class.

public FileReferenceContent (string fileId, string? modelId = default, object? innerContent = default, System.Collections.Generic.IReadOnlyDictionary<string,object?>? metadata = default);
new Microsoft.SemanticKernel.FileReferenceContent : string * string * obj * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.SemanticKernel.FileReferenceContent
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