次の方法で共有


AssistantsModelFactory.MessageFileCitationTextAnnotation Method

Definition

Creates a new instance of MessageFileCitationTextAnnotation.

public static Azure.AI.OpenAI.Assistants.MessageTextFileCitationAnnotation MessageFileCitationTextAnnotation (string text, int startIndex, int endIndex, string fileId, string quote);
static member MessageFileCitationTextAnnotation : string * int * int * string * string -> Azure.AI.OpenAI.Assistants.MessageTextFileCitationAnnotation
Public Shared Function MessageFileCitationTextAnnotation (text As String, startIndex As Integer, endIndex As Integer, fileId As String, quote As String) As MessageTextFileCitationAnnotation

Parameters

text
String

The text for the citation.

startIndex
Int32

The start index of the citation.

endIndex
Int32

The end index of the citation.

fileId
String

The file ID for the citation.

quote
String

The quote for the citation.

Returns

A new instance of MessageFileCitationTextAnnotation.

Applies to