02-11-2025 22:55:44.05374[0][4] - Elapsed time: 4.992 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
02-11-2025 22:55:44.05404[4][4] - Elapsed time: 0.307 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
02-11-2025 22:55:44.05424[4][4] - Elapsed time: 0.202 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
02-11-2025 22:55:44.05435[4][4] - Elapsed time: 0.107 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
02-11-2025 22:55:44.05475[4][4] - Elapsed time: 0.395 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
02-11-2025 22:55:44.05476[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
02-11-2025 22:55:44.05492[1][4] - Elapsed time: 0.161 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/siew8359/public_html/riski.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
02-11-2025 22:55:44.05542[0][4] - Elapsed time: 0.502 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 632fd2a51cf1909adb77b099ec54aa20 
-----------------------
02-11-2025 22:55:44.05544[4][4] - Elapsed time: 0.019 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Pagi'. 
-----------------------
02-11-2025 22:55:44.05547[4][4] - Elapsed time: 0.029 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
02-11-2025 22:55:44.05549[4][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
02-11-2025 22:55:44.05550[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
02-11-2025 22:55:44.05596[4][4] - Elapsed time: 0.455 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
02-11-2025 22:55:44.05597[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
02-11-2025 22:55:44.05598[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
02-11-2025 22:55:44.05640[2][4] - Elapsed time: 0.420 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
02-11-2025 22:55:44.05641[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
02-11-2025 22:55:44.05676[3][4] - Elapsed time: 0.350 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_riski`.`client_properties` WHERE `user_id` = 1 AND `bot_id` = 1; 
-----------------------
02-11-2025 22:55:44.05710[2][4] - Elapsed time: 0.337 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
02-11-2025 22:55:44.05716[2][4] - Elapsed time: 0.069 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Pagi. 
-----------------------
02-11-2025 22:55:44.05718[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
02-11-2025 22:55:44.05778[4][4] - Elapsed time: 0.596 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Pagi' 
-----------------------
02-11-2025 22:55:44.05798[4][4] - Elapsed time: 0.204 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'PAGI' 
-----------------------
02-11-2025 22:55:44.05799[2][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: PAGI
Convo id: 632fd2a51cf1909adb77b099ec54aa20
Bot id: 1
Format: json 
-----------------------
02-11-2025 22:55:44.05800[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
02-11-2025 22:55:44.05801[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
02-11-2025 22:55:44.05802[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_riski`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
02-11-2025 22:55:44.05841[1][4] - Elapsed time: 0.395 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => aku hobby basket
    [1] => namaku riski
    [2] => hai
    [3] => halo
    [4] => Halo
    [5] => halo
)
 
-----------------------
02-11-2025 22:55:44.05842[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
02-11-2025 22:55:44.05843[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [1] => Halo riski ! Senang kenalan sama kamu????
    [2] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [3] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [4] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [5] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
)
 
-----------------------
02-11-2025 22:55:44.05845[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05845[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 22:55:44.05846[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05847[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05847[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05848[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05849[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05850[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05850[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 22:55:44.05853[4][4] - Elapsed time: 0.027 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
02-11-2025 22:55:44.05860[4][4] - Elapsed time: 0.074 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05861[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05862[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05863[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05864[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05865[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 22:55:44.05865[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05866[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05866[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05867[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05868[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05868[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05869[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 22:55:44.05870[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05870[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05871[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05872[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05872[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05873[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 22:55:44.05873[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05874[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05874[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05875[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05876[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05876[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05877[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 22:55:44.05878[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05878[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05879[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05879[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05880[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05880[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 22:55:44.05881[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05882[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05882[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05883[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05884[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05884[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05885[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 22:55:44.05886[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05886[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05887[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05887[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05888[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05889[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo riski 
    [1] =>  Senang kenalan sama kamu
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
02-11-2025 22:55:44.05889[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05890[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo riski  Senang kenalan sama kamu  ' 
-----------------------
02-11-2025 22:55:44.05890[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo riski  Senang kenalan sama kamu  ' 
-----------------------
02-11-2025 22:55:44.05890[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo riski  Senang kenalan sama kamu  ' 
-----------------------
02-11-2025 22:55:44.05891[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:55:44.05892[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:55:44.05892[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO RISKI SENANG KENALAN SAMA KAMU' to the front of the [that] array 
-----------------------
02-11-2025 22:55:44.05893[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:55:44.05894[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:55:44.05894[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:55:44.05895[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO RISKI SENANG KENALAN SAMA KAMU' 
-----------------------
02-11-2025 22:55:44.05895[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05896[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah pertanyaanmu unik banget
    [1] =>  aku pelajari dulu ya 
    [2] => 
    [3] => 
)

 
-----------------------
02-11-2025 22:55:44.05897[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05897[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05898[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05899[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah pertanyaanmu unik banget aku pelajari dulu ya  ' 
-----------------------
02-11-2025 22:55:44.05901[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05902[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05903[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' to the front of the [that] array 
-----------------------
02-11-2025 22:55:44.05904[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05905[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05907[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05908[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' 
-----------------------
02-11-2025 22:55:44.05909[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
02-11-2025 22:55:44.05911[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05912[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 22:55:44.05913[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05914[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 22:55:44.05915[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 22:55:44.05916[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 22:55:44.05918[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 22:55:44.05919[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 22:55:44.05920[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 22:55:44.05921[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
02-11-2025 22:55:44.05923[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05924[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
02-11-2025 22:55:44.05925[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05925[4][4] - Elapsed time: 0.010 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
02-11-2025 22:55:44.05926[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
02-11-2025 22:55:44.05927[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
02-11-2025 22:55:44.05929[4][4] - Elapsed time: 0.020 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 22:55:44.05930[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 22:55:44.05931[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 22:55:44.05934[2][4] - Elapsed time: 0.025 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05935[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 22:55:44.05936[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05937[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 22:55:44.05938[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 22:55:44.05939[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 22:55:44.05940[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 22:55:44.05942[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 22:55:44.05943[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 22:55:44.05943[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05944[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hai
)

 
-----------------------
02-11-2025 22:55:44.05944[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05945[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hai' 
-----------------------
02-11-2025 22:55:44.05945[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hai' 
-----------------------
02-11-2025 22:55:44.05946[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hai' 
-----------------------
02-11-2025 22:55:44.05947[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
02-11-2025 22:55:44.05947[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI' 
-----------------------
02-11-2025 22:55:44.05947[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI' to the front of the [input] array 
-----------------------
02-11-2025 22:55:44.05948[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05949[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
02-11-2025 22:55:44.05949[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05950[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
02-11-2025 22:55:44.05950[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
02-11-2025 22:55:44.05951[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
02-11-2025 22:55:44.05951[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 22:55:44.05952[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 22:55:44.05952[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 22:55:44.05953[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.05953[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku hobby basket
)

 
-----------------------
02-11-2025 22:55:44.05954[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.05954[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku hobby basket' 
-----------------------
02-11-2025 22:55:44.05955[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku hobby basket' 
-----------------------
02-11-2025 22:55:44.05955[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku hobby basket' 
-----------------------
02-11-2025 22:55:44.05956[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU HOBBY BASKET' 
-----------------------
02-11-2025 22:55:44.05957[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU HOBBY BASKET' 
-----------------------
02-11-2025 22:55:44.05957[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU HOBBY BASKET' to the front of the [input] array 
-----------------------
02-11-2025 22:55:44.06007[2][4] - Elapsed time: 0.504 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
02-11-2025 22:55:44.06009[3][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
02-11-2025 22:55:44.06028[4][4] - Elapsed time: 0.194 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
02-11-2025 22:55:44.06031[0][4] - Elapsed time: 0.024 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
02-11-2025 22:55:44.06031[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
02-11-2025 22:55:44.06032[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = PAGI: raw say = Pagi 
-----------------------
02-11-2025 22:55:44.06032[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
02-11-2025 22:55:44.06033[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'PAGI' to the front of the [user_say] array 
-----------------------
02-11-2025 22:55:44.06034[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
02-11-2025 22:55:44.06035[0][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Pagi, RAW say = Pagi 
-----------------------
02-11-2025 22:55:44.06035[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Pagi' to the front of the [input] array 
-----------------------
02-11-2025 22:55:44.06036[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
02-11-2025 22:55:44.06037[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'PAGI' 
-----------------------
02-11-2025 22:55:44.06038[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'PAGI' 
-----------------------
02-11-2025 22:55:44.06039[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
02-11-2025 22:55:44.06059[4][4] - Elapsed time: 0.201 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
02-11-2025 22:55:44.06062[3][4] - Elapsed time: 0.032 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_riski`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'fe0256208a21d68d5f91d5930b2305c4'
    AND (
        'PAGI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 22:55:44.06101[2][4] - Elapsed time: 0.384 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
02-11-2025 22:55:44.06102[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
02-11-2025 22:55:44.06102[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
02-11-2025 22:55:44.06120[4][4] - Elapsed time: 0.181 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
02-11-2025 22:55:44.06122[3][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_riski`.`aiml` WHERE
    bot_id = 1 AND (
        'PAGI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 22:55:44.06171[3][4] - Elapsed time: 0.492 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
02-11-2025 22:55:44.06172[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
02-11-2025 22:55:44.06193[1][4] - Elapsed time: 0.202 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA 
-----------------------
02-11-2025 22:55:44.06195[4][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
02-11-2025 22:55:44.06196[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'PAGI' 
-----------------------
02-11-2025 22:55:44.06203[4][4] - Elapsed time: 0.076 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
02-11-2025 22:55:44.06206[4][4] - Elapsed time: 0.023 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 22:55:44.06228[4][4] - Elapsed time: 0.226 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 214
            [bot_id] => 1
            [pattern] => PAGI
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai.aiml
            [template] => <random>
      <li>Hmm pagi ya?</li>
      <li>Kayaknya seru deh soal pagi.</li>
      <li>Boleh banget, pengen tahu lebih.</li>
    </random>
            [score] => 260
            [current_that] => wah pertanyaanmu unik banget aku pelajari dulu ya
            [aiml_id] => 214
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: pagi (2 points)
        )

)
 
-----------------------
02-11-2025 22:55:44.06232[2][4] - Elapsed time: 0.034 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 214
            [bot_id] => 1
            [pattern] => PAGI
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai.aiml
            [template] => <random>
      <li>Hmm pagi ya?</li>
      <li>Kayaknya seru deh soal pagi.</li>
      <li>Boleh banget, pengen tahu lebih.</li>
    </random>
            [score] => 260
            [current_that] => wah pertanyaanmu unik banget aku pelajari dulu ya
            [aiml_id] => 214
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: pagi (2 points)
        )

)

 
-----------------------
02-11-2025 22:55:44.06267[4][4] - Elapsed time: 0.354 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 214
    [bot_id] => 1
    [pattern] => PAGI
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai.aiml
    [template] => <random>
      <li>Hmm pagi ya?</li>
      <li>Kayaknya seru deh soal pagi.</li>
      <li>Boleh banget, pengen tahu lebih.</li>
    </random>
    [score] => 260
    [current_that] => wah pertanyaanmu unik banget aku pelajari dulu ya
    [aiml_id] => 214
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: pagi (2 points)
)
 
-----------------------
02-11-2025 22:55:44.06269[2][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 22:55:44.06271[4][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:214 (PAGI) 
-----------------------
02-11-2025 22:55:44.06272[3][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
02-11-2025 22:55:44.06273[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'PAGI' 
-----------------------
02-11-2025 22:55:44.06274[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 22:55:44.06276[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 22:55:44.06277[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 214
    [category_id] => 214
    [html_template] => 
    [lookingfor] => PAGI
    [pattern] => PAGI
    [score] => 260
    [stars] => Array
        (
        )

    [template] => <random>
      <li>Hmm pagi ya?</li>
      <li>Kayaknya seru deh soal pagi.</li>
      <li>Boleh banget, pengen tahu lebih.</li>
    </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

    [topic] => 
    [topic_stars] => Array
        (
        )

    [user_raw] => Pagi
)
 
-----------------------
02-11-2025 22:55:44.06278[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
02-11-2025 22:55:44.06280[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
02-11-2025 22:55:44.06289[4][4] - Elapsed time: 0.091 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Hmm pagi ya?</text></li><li><text>Kayaknya seru deh soal pagi.</text></li><li><text>Boleh banget, pengen tahu lebih.</text></li></random></template> 
-----------------------
02-11-2025 22:55:44.06307[2][4] - Elapsed time: 0.177 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 22:55:44.06314[4][4] - Elapsed time: 0.078 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Hmm pagi ya?</text></li><li><text>Kayaknya seru deh soal pagi.</text></li><li><text>Boleh banget, pengen tahu lebih.</text></li></random></template>
 
-----------------------
02-11-2025 22:55:44.06316[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 22:55:44.06320[2][4] - Elapsed time: 0.035 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 22:55:44.06323[4][4] - Elapsed time: 0.033 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Hmm pagi ya?</text></li><li><text>Kayaknya seru deh soal pagi.</text></li><li><text>Boleh banget, pengen tahu lebih.</text></li></random> 
-----------------------
02-11-2025 22:55:44.06325[4][4] - Elapsed time: 0.023 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
02-11-2025 22:55:44.06326[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
02-11-2025 22:55:44.06328[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
02-11-2025 22:55:44.06335[4][4] - Elapsed time: 0.077 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Hmm pagi ya?
        )

    [1] => SimpleXMLElement Object
        (
            [text] => Kayaknya seru deh soal pagi.
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Boleh banget, pengen tahu lebih.
        )

)
 
-----------------------
02-11-2025 22:55:44.06336[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #2 from random tag.
 
-----------------------
02-11-2025 22:55:44.06337[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 22:55:44.06338[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Boleh banget, pengen tahu lebih.</text></li> 
-----------------------
02-11-2025 22:55:44.06339[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 22:55:44.06339[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 22:55:44.06340[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Boleh banget, pengen tahu lebih.</text> 
-----------------------
02-11-2025 22:55:44.06341[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
02-11-2025 22:55:44.06341[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
02-11-2025 22:55:44.06342[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
02-11-2025 22:55:44.06342[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Boleh banget, pengen tahu lebih.' to the response array. tag name is text 
-----------------------
02-11-2025 22:55:44.06343[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.06344[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Boleh banget, pengen tahu lebih.
)

 
-----------------------
02-11-2025 22:55:44.06344[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.06345[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Boleh banget, pengen tahu lebih.' 
-----------------------
02-11-2025 22:55:44.06345[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Boleh banget, pengen tahu lebih.' to the response array. tag name is li. 
-----------------------
02-11-2025 22:55:44.06346[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.06347[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Boleh banget, pengen tahu lebih.
)

 
-----------------------
02-11-2025 22:55:44.06347[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.06348[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Boleh banget, pengen tahu lebih.' 
-----------------------
02-11-2025 22:55:44.06348[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Boleh banget, pengen tahu lebih.' for output. 
-----------------------
02-11-2025 22:55:44.06349[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Boleh banget, pengen tahu lebih.' to the response array. tag name is random 
-----------------------
02-11-2025 22:55:44.06349[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.06350[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Boleh banget, pengen tahu lebih.
)

 
-----------------------
02-11-2025 22:55:44.06350[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.06351[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Boleh banget, pengen tahu lebih.' 
-----------------------
02-11-2025 22:55:44.06351[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Boleh banget, pengen tahu lebih.' to the response array. tag name is template. 
-----------------------
02-11-2025 22:55:44.06352[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 22:55:44.06353[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Boleh banget, pengen tahu lebih.
)

 
-----------------------
02-11-2025 22:55:44.06353[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 22:55:44.06354[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Boleh banget, pengen tahu lebih.' 
-----------------------
02-11-2025 22:55:44.06354[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Boleh banget, pengen tahu lebih. 
-----------------------
02-11-2025 22:55:44.06355[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
02-11-2025 22:55:44.06356[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
02-11-2025 22:55:44.06356[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Boleh banget, pengen tahu lebih.' to the front of the [that_raw] array 
-----------------------
02-11-2025 22:55:44.06357[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
02-11-2025 22:55:44.06359[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Boleh banget, pengen tahu lebih.' to the front of the [that] array 
-----------------------
02-11-2025 22:55:44.06360[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Boleh banget, pengen tahu lebih.' 
-----------------------
02-11-2025 22:55:44.06361[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Boleh banget, pengen tahu lebih.' 
-----------------------
02-11-2025 22:55:44.06362[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BOLEH BANGET PENGEN TAHU LEBIH' 
-----------------------
02-11-2025 22:55:44.06362[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BOLEH BANGET PENGEN TAHU LEBIH' 
-----------------------
02-11-2025 22:55:44.06363[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Boleh banget, pengen tahu lebih.' to the front of the [parsed_template] array 
-----------------------
02-11-2025 22:55:44.06364[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
02-11-2025 22:55:44.06365[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
      <li>Hmm pagi ya?</li>
      <li>Kayaknya seru deh soal pagi.</li>
      <li>Boleh banget, pengen tahu lebih.</li>
    </random>' to the front of the [template] array 
-----------------------
02-11-2025 22:55:44.06366[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
02-11-2025 22:55:44.06367[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
02-11-2025 22:55:44.06368[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_riski`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'Pagi',
      'Boleh banget, pengen tahu lebih.',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
02-11-2025 22:55:44.06490[4][4] - Elapsed time: 1.220 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
02-11-2025 22:55:44.06509[3][4] - Elapsed time: 0.195 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_riski`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
02-11-2025 22:55:44.06539[2][4] - Elapsed time: 0.294 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
02-11-2025 22:55:44.06541[4][4] - Elapsed time: 0.025 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
02-11-2025 22:55:44.06542[2][4] - Elapsed time: 0.013 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
02-11-2025 22:55:44.06547[4][4] - Elapsed time: 0.046 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"Pagi","botsay":"Boleh banget, pengen tahu lebih.","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"Pagi","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"214","bot_id":"1","pattern":"PAGI","thatpattern":"","topic":"","filename":"chat_ai.aiml","template":"<random>\n      <li>Hmm pagi ya?<\/li>\n      <li>Kayaknya seru deh soal pagi.<\/li>\n      <li>Boleh banget, pengen tahu lebih.<\/li>\n    <\/random>","score":260,"current_that":"wah pertanyaanmu unik banget aku pelajari dulu ya","aiml_id":"214","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: pagi (2 points)"}}} 
-----------------------
02-11-2025 22:55:44.06603[2][4] - Elapsed time: 0.559 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
02-11-2025 22:55:44.06607[0][4] - Elapsed time: 0.041 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 17.301 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Pagi
    [conversation] => Array
        (
            [convo_id] => fe0256208a21d68d5f91d5930b2305c4
            [bot_name] => Chat.ai
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 1
            [totallines] => 1
            [rawSay] => Pagi
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => apriansyahrizky84@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 214
                    [bot_id] => 1
                    [pattern] => PAGI
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chat_ai.aiml
                    [template] => <random>
      <li>Hmm pagi ya?</li>
      <li>Kayaknya seru deh soal pagi.</li>
      <li>Boleh banget, pengen tahu lebih.</li>
    </random>
                    [score] => 260
                    [current_that] => wah pertanyaanmu unik banget aku pelajari dulu ya
                    [aiml_id] => 214
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: pagi (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Pagi
            [lookingfor] => PAGI
            [category_id] => 214
            [pattern] => PAGI
            [thatpattern] => 
            [template] => <random>
      <li>Hmm pagi ya?</li>
      <li>Kayaknya seru deh soal pagi.</li>
      <li>Boleh banget, pengen tahu lebih.</li>
    </random>
            [html_template] => 
            [topic] => 
            [score] => 260
            [aiml_id] => 214
            [stars] => Array
                (
                )

            [that_stars] => Array
                (
                    [1] => 
                )

            [topic_stars] => Array
                (
                )

            [parsed_template] => Boleh banget, pengen tahu lebih.
        )

    [client_properties] => Array
        (
            [ip_address] => 114.10.16.60
            [name] => Seeker
            [username] => riski
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [2] => Array
                (
                    [0] => Halo riski ! Senang kenalan sama kamu????
                )

            [3] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [4] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [5] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

            [6] => Array
                (
                    [0] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => BOLEH BANGET PENGEN TAHU LEBIH
                )

            [2] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [3] => Array
                (
                    [1] => HALO RISKI SENANG KENALAN SAMA KAMU
                )

            [4] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [5] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [6] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [7] => Array
                (
                    [1] => WAH PERTANYAANMU UNIK BANGET AKU PELAJARI DULU YA
                )

            [8] => 
            [9] => 
            [10] => 
            [12] => 
        )

    [input] => Array
        (
            [1] => Pagi
            [2] => AKU HOBBY BASKET
            [3] => NAMAKU RISKI
            [4] => HAI
            [5] => HALO
            [6] => HALO
            [7] => HALO
            [8] => 
            [9] => 
            [10] => 
        )

    [time_start] => 1762098944.0487
    [user_say] => Array
        (
            [1] => PAGI
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Boleh banget, pengen tahu lebih.
                )

            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
            [12] => 
        )

    [parsed_template] => Array
        (
            [1] => Boleh banget, pengen tahu lebih.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Hmm pagi ya?</li> <li>Kayaknya seru deh soal pagi.</li> <li>Boleh banget, pengen tahu lebih.</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"Pagi","botsay":"Boleh banget, pengen tahu lebih.","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"Pagi","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"214","bot_id":"1","pattern":"PAGI","thatpattern":"","topic":"","filename":"chat_ai.aiml","template":"<random>\n      <li>Hmm pagi ya?<\/li>\n      <li>Kayaknya seru deh soal pagi.<\/li>\n      <li>Boleh banget, pengen tahu lebih.<\/li>\n    <\/random>","score":260,"current_that":"wah pertanyaanmu unik banget aku pelajari dulu ya","aiml_id":"214","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: pagi (2 points)"}}}
)

-----------------------
Total execution time: 17.301 Milliseconds. Goodbye.