Share via


AssistantsModelFactory.MessageFilePathTextAnnotation Method

Definition

Creates a new instance of MessageFilePathTextAnnotation.

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

Parameters

text
String

The text for the annotation.

startIndex
Int32

The start index for the annotation.

endIndex
Int32

The end index for the annotation.

fileId
String

The file ID for the annotation.

Returns

A new instance of MessageFilePathTextAnnotation.

Applies to