你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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