Skip to content
This repository was archived by the owner on Feb 28, 2026. It is now read-only.

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