OpenAIChatCompletionChoiceMessageModel constructor
const
OpenAIChatCompletionChoiceMessageModel({
- required OpenAIChatMessageRole role,
- required String content,
This represents the message of the OpenAIChatCompletionChoiceModel model of the OpenAI API, which is used and get returned while using the OpenAIChat
methods.
Implementation
const OpenAIChatCompletionChoiceMessageModel({
required this.role,
required this.content,
});