'user'|'assistant', 'content' => '...' ]). * @var array */ public $messages = []; /** * Additional arbitrary data (e.g., model, temperature, etc.). * @var array */ public $extra = []; /** * (Optional) User ID of the discussion's owner. * @var int|null */ public $userId = null; /** * (Optional) IP address if you track guests or sessions by IP. * @var string|null */ public $ip = null; /** * (Optional) Title of the discussion. * @var string|null */ public $title = null; /** * Constructor if you want to initialize some defaults. */ public function __construct() { // No defaults by default. Fill them in as needed. } }