Compartilhar via


AIProjectsModelFactory.MessageDeltaTextFileCitationAnnotation Method

Definition

Initializes a new instance of MessageDeltaTextFileCitationAnnotation.

public static Azure.AI.Projects.MessageDeltaTextFileCitationAnnotation MessageDeltaTextFileCitationAnnotation (int index = 0, Azure.AI.Projects.MessageDeltaTextFileCitationAnnotationObject fileCitation = default, string text = default, int? startIndex = default, int? endIndex = default);
static member MessageDeltaTextFileCitationAnnotation : int * Azure.AI.Projects.MessageDeltaTextFileCitationAnnotationObject * string * Nullable<int> * Nullable<int> -> Azure.AI.Projects.MessageDeltaTextFileCitationAnnotation
Public Shared Function MessageDeltaTextFileCitationAnnotation (Optional index As Integer = 0, Optional fileCitation As MessageDeltaTextFileCitationAnnotationObject = Nothing, Optional text As String = Nothing, Optional startIndex As Nullable(Of Integer) = Nothing, Optional endIndex As Nullable(Of Integer) = Nothing) As MessageDeltaTextFileCitationAnnotation

Parameters

index
Int32

The index of the annotation within a text content part.

fileCitation
MessageDeltaTextFileCitationAnnotationObject

The file citation information.

text
String

The text in the message content that needs to be replaced.

startIndex
Nullable<Int32>

The start index of this annotation in the content text.

endIndex
Nullable<Int32>

The end index of this annotation in the content text.

Returns

A new MessageDeltaTextFileCitationAnnotation instance for mocking.

Applies to