Share via


AIInferenceModelFactory.ChatMessageTextContentItem(String) Method

Definition

Initializes a new instance of ChatMessageTextContentItem.

public static Azure.AI.Inference.ChatMessageTextContentItem ChatMessageTextContentItem (string text = default);
static member ChatMessageTextContentItem : string -> Azure.AI.Inference.ChatMessageTextContentItem
Public Shared Function ChatMessageTextContentItem (Optional text As String = Nothing) As ChatMessageTextContentItem

Parameters

text
String

The content of the message.

Returns

A new ChatMessageTextContentItem instance for mocking.

Applies to