![]() Server : Apache/2 System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64 User : gositeme ( 1004) PHP Version : 8.2.29 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname Directory : /home/gositeme/domains/gositeme.com/public_html/wp-content/plugins/ai-engine/classes/ |
<?php
/**
* Class Meow_MWAI_Discussion
*
* Represents a single discussion's data that can be passed to
* Meow_MWAI_Modules_Discussions::commit_discussion().
*/
class Meow_MWAI_Discussion {
/**
* Unique chat ID (required). If found, the discussion is updated; otherwise created.
* @var string|null
*/
public $chatId = null;
/**
* ID of the bot or UI.
* @var string|null
*/
public $botId = null;
/**
* Array of messages (each message is typically [ 'role' => '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.
}
}