Skip to content

OpenAI.ChatCompletionData.GetMessageRole

Andrew Lambert edited this page Jan 15, 2024 · 1 revision

OpenAI.ChatCompletionData.GetMessageRole

Method signature

Function GetMessageRole(Index As Integer) As String

Parameters

Name Type Comment
Index Integer The index of the message to get.

Return value

Returns the speaker of the message at Index.

See also

Clone this wiki locally