次の方法で共有


AssistantsModelFactory.MessageTextAnnotation Method

Definition

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