AssistantsModelFactory.MessageFileCitationTextAnnotation 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 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
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