Share via


AnnotationFileCitation Constructors

Definition

Overloads

AnnotationFileCitation()

Source:
AnnotationFileCitation.cs

Initializes a new instance of AnnotationFileCitation for deserialization.

public AnnotationFileCitation();
Public Sub New ()

Applies to

AnnotationFileCitation(String, Int32, String)

Source:
AnnotationFileCitation.cs

Initializes a new instance of AnnotationFileCitation.

public AnnotationFileCitation(string fileId, int index, string filename);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationFileCitation : string * int * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationFileCitation
Public Sub New (fileId As String, index As Integer, filename As String)

Parameters

fileId
String

The ID of the file.

index
Int32

The index of the file in the list of files.

filename
String

The filename of the file cited.

Exceptions

fileId or filename is null.

Applies to

AnnotationFileCitation(AnnotationType, IDictionary<String,BinaryData>, String, Int32, String)

Source:
AnnotationFileCitation.cs

Initializes a new instance of AnnotationFileCitation.

public AnnotationFileCitation(Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, string fileId, int index, string filename);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationFileCitation : Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationType * System.Collections.Generic.IDictionary<string, BinaryData> * string * int * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationFileCitation
Public Sub New (type As AnnotationType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), fileId As String, index As Integer, filename As String)

Parameters

serializedAdditionalRawData
IDictionary<String,BinaryData>

Keeps track of any properties unknown to the library.

fileId
String

The ID of the file.

index
Int32

The index of the file in the list of files.

filename
String

The filename of the file cited.

Applies to