You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 28, 2026. It is now read-only.
Optional. The index of the result to retrieve if there are more than one. If the index is invalid then an OutOfBoundsException will be raised.
Return value
The "role" part of the chat result at Index.
Remarks
The "role" is one of "user", "assistant", or "system", and indicates the speaker of the message. Use ChatCompletion.GetResult() to retrieve the message.