AssistantsModelFactory.MessageFilePathTextAnnotation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET