AssistantsModelFactory.MessageTextAnnotation 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.
Initializes a new instance of MessageTextAnnotation.
public static Azure.AI.OpenAI.Assistants.MessageTextAnnotation MessageTextAnnotation (string type = default, string text = default, int startIndex = 0, int endIndex = 0);
static member MessageTextAnnotation : string * string * int * int -> Azure.AI.OpenAI.Assistants.MessageTextAnnotation
Public Shared Function MessageTextAnnotation (Optional type As String = Nothing, Optional text As String = Nothing, Optional startIndex As Integer = 0, Optional endIndex As Integer = 0) As MessageTextAnnotation
Parameters
- type
- String
The object type.
- text
- String
The textual content associated with this text annotation item.
- startIndex
- Int32
The first text index associated with this text annotation.
- endIndex
- Int32
The last text index associated with this text annotation.
Returns
A new MessageTextAnnotation instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET