ark::openai::ChatMessage

Defined in header “ark/openai/openai_chat.hh”.


Represents a single ‘message’ within a conversation/chat session with OpenAI.

Variables

  • std::string role
    The role of this message (user vs system/assistant).

  • std::string content
    Teh actual content.