28-10-2025 22:29:57.77528[0][4] - Elapsed time: 0.789 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 
-----------------------
28-10-2025 22:29:57.77550[4][4] - Elapsed time: 0.224 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
28-10-2025 22:29:57.77566[4][4] - Elapsed time: 0.159 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
28-10-2025 22:29:57.77574[4][4] - Elapsed time: 0.078 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
28-10-2025 22:29:57.77603[4][4] - Elapsed time: 0.288 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
28-10-2025 22:29:57.77604[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
28-10-2025 22:29:57.77614[1][4] - Elapsed time: 0.104 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/dannus.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
28-10-2025 22:29:57.77642[0][4] - Elapsed time: 0.280 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 7e0c68484cf833db5b0cd1a72858d46e 
-----------------------
28-10-2025 22:29:57.77643[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'john mayer'. 
-----------------------
28-10-2025 22:29:57.77645[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
28-10-2025 22:29:57.77645[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
28-10-2025 22:29:57.77646[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
28-10-2025 22:29:57.77667[4][4] - Elapsed time: 0.204 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
28-10-2025 22:29:57.77668[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
28-10-2025 22:29:57.77669[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
28-10-2025 22:29:57.77691[2][4] - Elapsed time: 0.224 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
28-10-2025 22:29:57.77692[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
28-10-2025 22:29:57.77712[3][4] - Elapsed time: 0.197 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 4 AND `bot_id` = 1; 
-----------------------
28-10-2025 22:29:57.77732[2][4] - Elapsed time: 0.201 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
28-10-2025 22:29:57.77733[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on john. 
-----------------------
28-10-2025 22:29:57.77734[2][4] - Elapsed time: 0.009 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
28-10-2025 22:29:57.77765[2][4] - Elapsed time: 0.307 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
28-10-2025 22:29:57.77766[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on mayer. 
-----------------------
28-10-2025 22:29:57.77768[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'john mayer' 
-----------------------
28-10-2025 22:29:57.77769[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JOHN MAYER' 
-----------------------
28-10-2025 22:29:57.77770[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: JOHN MAYER
Convo id: 7e0c68484cf833db5b0cd1a72858d46e
Bot id: 1
Format: json 
-----------------------
28-10-2025 22:29:57.77771[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
28-10-2025 22:29:57.77772[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
28-10-2025 22:29:57.77773[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 4 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
28-10-2025 22:29:57.77805[1][4] - Elapsed time: 0.319 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => aku suka musik jazz
    [1] => bahas musik
    [2] => ganti topik
    [3] => apa itu siega
    [4] => aku mau tanya soal siega
    [5] => apa kabar
    [6] => p
    [7] => halo
    [8] => hai
    [9] => ngobrol musik
)
 
-----------------------
28-10-2025 22:29:57.77805[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
28-10-2025 22:29:57.77806[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Oh, kamu suka jazz ya! Keren. Siapa artis jazz favoritmu?
    [1] => Asyik! Musik emang seru. Kita mulai dari mana? Mau bahas genre atau artis favoritmu?
    [2] => Oke, cukup soal SIEGA. Kita ngobrolin yang lain ya. Mau bahas apa?
    [3] => SIEGA itu kependekan dari 4 konsentrasi di Prodi Sistem Informasi Unika Soegijapranata: Sistem Informasi (SI), E-Commerce (EC), Game Technology (GT), dan Akuntansi + Sistem Informasi (AKSI). Mau tahu detail salah satunya?
    [4] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
    [5] => Baik banget. Semoga kamu juga ya!
    [6] => Halo, zen ! Ada yang bisa aku bantu?
    [7] => Halo! Senang bisa ngobrol sama kamu.
    [8] => Halo, zen ! Ada yang bisa aku bantu?
    [9] => Maaf, zen, aku nggak ngerti maksud kamu.
)
 
-----------------------
28-10-2025 22:29:57.77808[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77809[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  zen
    [2] =>  aku nggak ngerti maksud kamu
    [3] => 
)

 
-----------------------
28-10-2025 22:29:57.77809[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77810[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf zen aku nggak ngerti maksud kamu ' 
-----------------------
28-10-2025 22:29:57.77811[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf zen aku nggak ngerti maksud kamu ' 
-----------------------
28-10-2025 22:29:57.77811[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf zen aku nggak ngerti maksud kamu ' 
-----------------------
28-10-2025 22:29:57.77813[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:29:57.77813[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:29:57.77814[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.77814[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
28-10-2025 22:29:57.77817[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:29:57.77817[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:29:57.77818[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:29:57.77818[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF ZEN AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
28-10-2025 22:29:57.77819[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77820[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  zen 
    [2] =>  Ada yang bisa aku bantu
    [3] => 
)

 
-----------------------
28-10-2025 22:29:57.77820[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77821[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo zen  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:29:57.77821[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo zen  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:29:57.77822[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo zen  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:29:57.77823[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77823[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77824[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO ZEN ADA YANG BISA AKU BANTU' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.77825[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77825[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77826[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77826[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77827[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77828[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Senang bisa ngobrol sama kamu
    [2] => 
)

 
-----------------------
28-10-2025 22:29:57.77828[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77829[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
28-10-2025 22:29:57.77829[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
28-10-2025 22:29:57.77830[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
28-10-2025 22:29:57.77831[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:29:57.77831[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:29:57.77832[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SENANG BISA NGOBROL SAMA KAMU' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.77832[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:29:57.77833[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:29:57.77834[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:29:57.77834[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
28-10-2025 22:29:57.77835[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77835[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  zen 
    [2] =>  Ada yang bisa aku bantu
    [3] => 
)

 
-----------------------
28-10-2025 22:29:57.77836[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77836[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo zen  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:29:57.77837[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo zen  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:29:57.77837[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo zen  Ada yang bisa aku bantu ' 
-----------------------
28-10-2025 22:29:57.77838[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77838[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77839[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO ZEN ADA YANG BISA AKU BANTU' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.77840[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77840[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77841[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77841[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO ZEN ADA YANG BISA AKU BANTU' 
-----------------------
28-10-2025 22:29:57.77842[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77843[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Baik banget
    [1] =>  Semoga kamu juga ya
    [2] => 
)

 
-----------------------
28-10-2025 22:29:57.77843[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77844[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Baik banget Semoga kamu juga ya ' 
-----------------------
28-10-2025 22:29:57.77844[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Baik banget Semoga kamu juga ya ' 
-----------------------
28-10-2025 22:29:57.77845[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Baik banget Semoga kamu juga ya ' 
-----------------------
28-10-2025 22:29:57.77845[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAIK BANGET SEMOGA KAMU JUGA YA' 
-----------------------
28-10-2025 22:29:57.77846[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAIK BANGET SEMOGA KAMU JUGA YA' 
-----------------------
28-10-2025 22:29:57.77846[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAIK BANGET SEMOGA KAMU JUGA YA' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.77847[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'BAIK BANGET SEMOGA KAMU JUGA YA' 
-----------------------
28-10-2025 22:29:57.77848[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'BAIK BANGET SEMOGA KAMU JUGA YA' 
-----------------------
28-10-2025 22:29:57.77848[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAIK BANGET SEMOGA KAMU JUGA YA' 
-----------------------
28-10-2025 22:29:57.77849[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAIK BANGET SEMOGA KAMU JUGA YA' 
-----------------------
28-10-2025 22:29:57.77850[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77850[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke
    [1] =>  siap
    [2] =>  Aku tahu beberapa hal soal SIEGA Unika Soegijapranata
    [3] =>  Mau tanya apa dulu
    [4] => 
)

 
-----------------------
28-10-2025 22:29:57.77851[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77851[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke siap Aku tahu beberapa hal soal SIEGA Unika Soegijapranata Mau tanya apa dulu ' 
-----------------------
28-10-2025 22:29:57.77852[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke siap Aku tahu beberapa hal soal SIEGA Unika Soegijapranata Mau tanya apa dulu ' 
-----------------------
28-10-2025 22:29:57.77852[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke siap Aku tahu beberapa hal soal SIEGA Unika Soegijapranata Mau tanya apa dulu ' 
-----------------------
28-10-2025 22:29:57.77853[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE SIAP AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA MAU TANYA APA DULU' 
-----------------------
28-10-2025 22:29:57.77854[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE SIAP AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA MAU TANYA APA DULU' 
-----------------------
28-10-2025 22:29:57.77854[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OKE SIAP AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA MAU TANYA APA DULU' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.77855[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OKE SIAP AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA MAU TANYA APA DULU' 
-----------------------
28-10-2025 22:29:57.77855[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OKE SIAP AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA MAU TANYA APA DULU' 
-----------------------
28-10-2025 22:29:57.77856[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE SIAP AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA MAU TANYA APA DULU' 
-----------------------
28-10-2025 22:29:57.77857[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE SIAP AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA MAU TANYA APA DULU' 
-----------------------
28-10-2025 22:29:57.77857[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77858[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => SIEGA itu kependekan dari 4 konsentrasi di Prodi Sistem Informasi Unika Soegijapranata: Sistem Informasi (SI)
    [1] =>  E-Commerce (EC)
    [2] =>  Game Technology (GT)
    [3] =>  dan Akuntansi + Sistem Informasi (AKSI)
    [4] =>  Mau tahu detail salah satunya
    [5] => 
)

 
-----------------------
28-10-2025 22:29:57.77858[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77859[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'SIEGA itu kependekan dari 4 konsentrasi di Prodi Sistem Informasi Unika Soegijapranata: Sistem Informasi (SI) E-Commerce (EC) Game Technology (GT) dan Akuntansi + Sistem Informasi (AKSI) Mau tahu detail salah satunya ' 
-----------------------
28-10-2025 22:29:57.77860[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SIEGA itu kependekan dari 4 konsentrasi di Prodi Sistem Informasi Unika Soegijapranata: Sistem Informasi (SI) E-Commerce (EC) Game Technology (GT) dan Akuntansi + Sistem Informasi (AKSI) Mau tahu detail salah satunya ' 
-----------------------
28-10-2025 22:29:57.77860[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SIEGA itu kependekan dari 4 konsentrasi di Prodi Sistem Informasi Unika Soegijapranata: Sistem Informasi (SI) E-Commerce (EC) Game Technology (GT) dan Akuntansi + Sistem Informasi (AKSI) Mau tahu detail salah satunya ' 
-----------------------
28-10-2025 22:29:57.77862[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIEGA ITU KEPENDEKAN DARI 4 KONSENTRASI DI PRODI SISTEM INFORMASI UNIKA SOEGIJAPRANATA SISTEM INFORMASI SI E COMMERCE EC GAME TECHNOLOGY GT DAN AKUNTANSI SISTEM INFORMASI AKSI MAU TAHU DETAIL SALAH SATUNYA' 
-----------------------
28-10-2025 22:29:57.77862[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIEGA ITU KEPENDEKAN DARI 4 KONSENTRASI DI PRODI SISTEM INFORMASI UNIKA SOEGIJAPRANATA SISTEM INFORMASI SI E COMMERCE EC GAME TECHNOLOGY GT DAN AKUNTANSI SISTEM INFORMASI AKSI MAU TAHU DETAIL SALAH SATUNYA' 
-----------------------
28-10-2025 22:29:57.77863[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIEGA ITU KEPENDEKAN DARI 4 KONSENTRASI DI PRODI SISTEM INFORMASI UNIKA SOEGIJAPRANATA SISTEM INFORMASI SI E COMMERCE EC GAME TECHNOLOGY GT DAN AKUNTANSI SISTEM INFORMASI AKSI MAU TAHU DETAIL SALAH SATUNYA' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.77864[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SIEGA ITU KEPENDEKAN DARI 4 KONSENTRASI DI PRODI SISTEM INFORMASI UNIKA SOEGIJAPRANATA SISTEM INFORMASI SI E COMMERCE EC GAME TECHNOLOGY GT DAN AKUNTANSI SISTEM INFORMASI AKSI MAU TAHU DETAIL SALAH SATUNYA' 
-----------------------
28-10-2025 22:29:57.77864[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SIEGA ITU KEPENDEKAN DARI 4 KONSENTRASI DI PRODI SISTEM INFORMASI UNIKA SOEGIJAPRANATA SISTEM INFORMASI SI E COMMERCE EC GAME TECHNOLOGY GT DAN AKUNTANSI SISTEM INFORMASI AKSI MAU TAHU DETAIL SALAH SATUNYA' 
-----------------------
28-10-2025 22:29:57.77865[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIEGA ITU KEPENDEKAN DARI 4 KONSENTRASI DI PRODI SISTEM INFORMASI UNIKA SOEGIJAPRANATA SISTEM INFORMASI SI E COMMERCE EC GAME TECHNOLOGY GT DAN AKUNTANSI SISTEM INFORMASI AKSI MAU TAHU DETAIL SALAH SATUNYA' 
-----------------------
28-10-2025 22:29:57.77866[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIEGA ITU KEPENDEKAN DARI 4 KONSENTRASI DI PRODI SISTEM INFORMASI UNIKA SOEGIJAPRANATA SISTEM INFORMASI SI E COMMERCE EC GAME TECHNOLOGY GT DAN AKUNTANSI SISTEM INFORMASI AKSI MAU TAHU DETAIL SALAH SATUNYA' 
-----------------------
28-10-2025 22:29:57.77867[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77867[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke
    [1] =>  cukup soal SIEGA
    [2] =>  Kita ngobrolin yang lain ya
    [3] =>  Mau bahas apa
    [4] => 
)

 
-----------------------
28-10-2025 22:29:57.77868[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77868[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke cukup soal SIEGA Kita ngobrolin yang lain ya Mau bahas apa ' 
-----------------------
28-10-2025 22:29:57.77869[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke cukup soal SIEGA Kita ngobrolin yang lain ya Mau bahas apa ' 
-----------------------
28-10-2025 22:29:57.77869[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke cukup soal SIEGA Kita ngobrolin yang lain ya Mau bahas apa ' 
-----------------------
28-10-2025 22:29:57.77870[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE CUKUP SOAL SIEGA KITA NGOBROLIN YANG LAIN YA MAU BAHAS APA' 
-----------------------
28-10-2025 22:29:57.77871[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE CUKUP SOAL SIEGA KITA NGOBROLIN YANG LAIN YA MAU BAHAS APA' 
-----------------------
28-10-2025 22:29:57.77871[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OKE CUKUP SOAL SIEGA KITA NGOBROLIN YANG LAIN YA MAU BAHAS APA' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.77872[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OKE CUKUP SOAL SIEGA KITA NGOBROLIN YANG LAIN YA MAU BAHAS APA' 
-----------------------
28-10-2025 22:29:57.77872[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OKE CUKUP SOAL SIEGA KITA NGOBROLIN YANG LAIN YA MAU BAHAS APA' 
-----------------------
28-10-2025 22:29:57.77873[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE CUKUP SOAL SIEGA KITA NGOBROLIN YANG LAIN YA MAU BAHAS APA' 
-----------------------
28-10-2025 22:29:57.77874[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE CUKUP SOAL SIEGA KITA NGOBROLIN YANG LAIN YA MAU BAHAS APA' 
-----------------------
28-10-2025 22:29:57.77874[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77875[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Asyik
    [1] =>  Musik emang seru
    [2] =>  Kita mulai dari mana
    [3] =>  Mau bahas genre atau artis favoritmu
    [4] => 
)

 
-----------------------
28-10-2025 22:29:57.77875[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77876[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Asyik Musik emang seru Kita mulai dari mana Mau bahas genre atau artis favoritmu ' 
-----------------------
28-10-2025 22:29:57.77876[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Asyik Musik emang seru Kita mulai dari mana Mau bahas genre atau artis favoritmu ' 
-----------------------
28-10-2025 22:29:57.77877[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Asyik Musik emang seru Kita mulai dari mana Mau bahas genre atau artis favoritmu ' 
-----------------------
28-10-2025 22:29:57.77878[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77878[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77879[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.77881[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77881[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77882[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77883[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77883[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77884[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oh
    [1] =>  kamu suka jazz ya
    [2] =>  Keren
    [3] =>  Siapa artis jazz favoritmu
    [4] => 
)

 
-----------------------
28-10-2025 22:29:57.77884[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77885[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oh kamu suka jazz ya Keren Siapa artis jazz favoritmu ' 
-----------------------
28-10-2025 22:29:57.77885[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oh kamu suka jazz ya Keren Siapa artis jazz favoritmu ' 
-----------------------
28-10-2025 22:29:57.77886[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oh kamu suka jazz ya Keren Siapa artis jazz favoritmu ' 
-----------------------
28-10-2025 22:29:57.77887[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77887[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77888[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.77888[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77889[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77890[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77890[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
28-10-2025 22:29:57.77891[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
28-10-2025 22:29:57.77892[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77892[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ngobrol musik
)

 
-----------------------
28-10-2025 22:29:57.77893[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77893[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ngobrol musik' 
-----------------------
28-10-2025 22:29:57.77894[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ngobrol musik' 
-----------------------
28-10-2025 22:29:57.77894[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ngobrol musik' 
-----------------------
28-10-2025 22:29:57.77895[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOBROL MUSIK' 
-----------------------
28-10-2025 22:29:57.77896[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOBROL MUSIK' 
-----------------------
28-10-2025 22:29:57.77896[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NGOBROL MUSIK' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77897[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
28-10-2025 22:29:57.77898[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77898[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hai
)

 
-----------------------
28-10-2025 22:29:57.77899[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77899[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hai' 
-----------------------
28-10-2025 22:29:57.77900[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hai' 
-----------------------
28-10-2025 22:29:57.77900[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hai' 
-----------------------
28-10-2025 22:29:57.77901[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
28-10-2025 22:29:57.77901[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI' 
-----------------------
28-10-2025 22:29:57.77902[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77903[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77903[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
28-10-2025 22:29:57.77904[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77904[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
28-10-2025 22:29:57.77905[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
28-10-2025 22:29:57.77905[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
28-10-2025 22:29:57.77906[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
28-10-2025 22:29:57.77906[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
28-10-2025 22:29:57.77907[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77907[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77908[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => p
)

 
-----------------------
28-10-2025 22:29:57.77908[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77909[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'p' 
-----------------------
28-10-2025 22:29:57.77909[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'p' 
-----------------------
28-10-2025 22:29:57.77910[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'p' 
-----------------------
28-10-2025 22:29:57.77911[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'P' 
-----------------------
28-10-2025 22:29:57.77911[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'P' 
-----------------------
28-10-2025 22:29:57.77911[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'P' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77912[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77913[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa kabar
)

 
-----------------------
28-10-2025 22:29:57.77913[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77914[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa kabar' 
-----------------------
28-10-2025 22:29:57.77914[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa kabar' 
-----------------------
28-10-2025 22:29:57.77915[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa kabar' 
-----------------------
28-10-2025 22:29:57.77915[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KABAR' 
-----------------------
28-10-2025 22:29:57.77916[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA KABAR' 
-----------------------
28-10-2025 22:29:57.77916[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KABAR' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77917[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77918[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku mau tanya soal siega
)

 
-----------------------
28-10-2025 22:29:57.77918[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77919[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku mau tanya soal siega' 
-----------------------
28-10-2025 22:29:57.77919[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku mau tanya soal siega' 
-----------------------
28-10-2025 22:29:57.77920[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku mau tanya soal siega' 
-----------------------
28-10-2025 22:29:57.77920[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
28-10-2025 22:29:57.77921[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
28-10-2025 22:29:57.77921[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MAU TANYA SOAL SIEGA' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77922[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77923[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa itu siega
)

 
-----------------------
28-10-2025 22:29:57.77923[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77923[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa itu siega' 
-----------------------
28-10-2025 22:29:57.77924[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa itu siega' 
-----------------------
28-10-2025 22:29:57.77924[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu siega' 
-----------------------
28-10-2025 22:29:57.77925[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SIEGA' 
-----------------------
28-10-2025 22:29:57.77926[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SIEGA' 
-----------------------
28-10-2025 22:29:57.77926[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA ITU SIEGA' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77927[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77927[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
28-10-2025 22:29:57.77928[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77928[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik' 
-----------------------
28-10-2025 22:29:57.77929[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
28-10-2025 22:29:57.77929[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
28-10-2025 22:29:57.77930[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
28-10-2025 22:29:57.77930[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
28-10-2025 22:29:57.77931[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GANTI TOPIK' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77931[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77932[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bahas musik
)

 
-----------------------
28-10-2025 22:29:57.77933[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77933[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bahas musik' 
-----------------------
28-10-2025 22:29:57.77934[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bahas musik' 
-----------------------
28-10-2025 22:29:57.77934[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bahas musik' 
-----------------------
28-10-2025 22:29:57.77935[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS MUSIK' 
-----------------------
28-10-2025 22:29:57.77935[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAHAS MUSIK' 
-----------------------
28-10-2025 22:29:57.77936[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS MUSIK' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77936[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.77937[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku suka musik jazz
)

 
-----------------------
28-10-2025 22:29:57.77937[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.77938[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku suka musik jazz' 
-----------------------
28-10-2025 22:29:57.77938[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku suka musik jazz' 
-----------------------
28-10-2025 22:29:57.77939[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik jazz' 
-----------------------
28-10-2025 22:29:57.77940[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK JAZZ' 
-----------------------
28-10-2025 22:29:57.77940[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK JAZZ' 
-----------------------
28-10-2025 22:29:57.77940[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA MUSIK JAZZ' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77964[2][4] - Elapsed time: 0.240 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
28-10-2025 22:29:57.77965[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
28-10-2025 22:29:57.77985[4][4] - Elapsed time: 0.199 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
28-10-2025 22:29:57.77987[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
28-10-2025 22:29:57.77987[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
28-10-2025 22:29:57.77988[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = JOHN MAYER: raw say = john mayer 
-----------------------
28-10-2025 22:29:57.77988[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
28-10-2025 22:29:57.77989[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'JOHN MAYER' to the front of the [user_say] array 
-----------------------
28-10-2025 22:29:57.77990[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
28-10-2025 22:29:57.77991[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = john mayer, RAW say = john mayer 
-----------------------
28-10-2025 22:29:57.77991[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'john mayer' to the front of the [input] array 
-----------------------
28-10-2025 22:29:57.77992[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
28-10-2025 22:29:57.77993[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'JOHN MAYER' 
-----------------------
28-10-2025 22:29:57.77994[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JOHN MAYER' 
-----------------------
28-10-2025 22:29:57.77994[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
28-10-2025 22:29:57.78014[4][4] - Elapsed time: 0.195 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
28-10-2025 22:29:57.78015[3][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'd691a9f1d78e60289ed8ed3fa176672d'
    AND (
        'JOHN MAYER' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:29:57.78036[2][4] - Elapsed time: 0.209 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
28-10-2025 22:29:57.78037[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
28-10-2025 22:29:57.78038[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
28-10-2025 22:29:57.78056[4][4] - Elapsed time: 0.181 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'MUSIK' 
-----------------------
28-10-2025 22:29:57.78058[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_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'JOHN MAYER' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'MUSIK' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:29:57.78097[3][4] - Elapsed time: 0.391 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
28-10-2025 22:29:57.78098[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (35) potential AIML matches 
-----------------------
28-10-2025 22:29:57.78122[1][4] - Elapsed time: 0.243 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU 
-----------------------
28-10-2025 22:29:57.78123[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 35 rows to unset bad matches 
-----------------------
28-10-2025 22:29:57.78124[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'JOHN MAYER' 
-----------------------
28-10-2025 22:29:57.78142[4][4] - Elapsed time: 0.182 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
28-10-2025 22:29:57.78143[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
28-10-2025 22:29:57.78166[4][4] - Elapsed time: 0.228 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 329
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => MUSIK
            [filename] => bot.aiml
            [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
            [score] => 302
            [current_that] => oh kamu suka jazz ya keren siapa artis jazz favoritmu
            [aiml_id] => 329
            [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

    [1] => Array
        (
            [id] => 366
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
            [score] => 252
            [current_that] => oh kamu suka jazz ya keren siapa artis jazz favoritmu
            [aiml_id] => 366
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
28-10-2025 22:29:57.78168[2][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 329
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => MUSIK
            [filename] => bot.aiml
            [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
            [score] => 302
            [current_that] => oh kamu suka jazz ya keren siapa artis jazz favoritmu
            [aiml_id] => 329
            [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)

 
-----------------------
28-10-2025 22:29:57.78181[4][4] - Elapsed time: 0.134 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 329
    [bot_id] => 1
    [pattern] => *
    [thatpattern] => 
    [topic] => MUSIK
    [filename] => bot.aiml
    [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
    [score] => 302
    [current_that] => oh kamu suka jazz ya keren siapa artis jazz favoritmu
    [aiml_id] => 329
    [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
)
 
-----------------------
28-10-2025 22:29:57.78182[2][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
28-10-2025 22:29:57.78183[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
28-10-2025 22:29:57.78184[4][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
28-10-2025 22:29:57.78234[2][4] - Elapsed time: 0.502 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
28-10-2025 22:29:57.78235[1][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'JOHN MAYER' to the unknown_inputs table. 
-----------------------
28-10-2025 22:29:57.78236[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:329 (*) 
-----------------------
28-10-2025 22:29:57.78236[3][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
28-10-2025 22:29:57.78237[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
28-10-2025 22:29:57.78238[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
28-10-2025 22:29:57.78238[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching john mayer for a match. 
-----------------------
28-10-2025 22:29:57.78243[2][4] - Elapsed time: 0.048 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => john mayer
        )

    [1] => Array
        (
            [0] => john mayer
        )

)
 
-----------------------
28-10-2025 22:29:57.78244[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'john mayer' to the stars stack. 
-----------------------
28-10-2025 22:29:57.78244[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => john mayer
)
 
-----------------------
28-10-2025 22:29:57.78245[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
28-10-2025 22:29:57.78245[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
28-10-2025 22:29:57.78246[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 329
    [category_id] => 329
    [html_template] => 
    [lookingfor] => JOHN MAYER
    [pattern] => *
    [score] => 302
    [stars] => Array
        (
            [1] => john mayer
        )

    [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => john mayer
)
 
-----------------------
28-10-2025 22:29:57.78247[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
28-10-2025 22:29:57.78248[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
28-10-2025 22:29:57.78250[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li><li><text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text></li><li><text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text></li></random></template> 
-----------------------
28-10-2025 22:29:57.78254[2][4] - Elapsed time: 0.044 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:29:57.78258[4][4] - Elapsed time: 0.043 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li><li><text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text></li><li><text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text></li></random></template>
 
-----------------------
28-10-2025 22:29:57.78259[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:29:57.78260[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:29:57.78262[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li><li><text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text></li><li><text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text></li></random> 
-----------------------
28-10-2025 22:29:57.78263[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
28-10-2025 22:29:57.78263[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
28-10-2025 22:29:57.78264[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
28-10-2025 22:29:57.78270[4][4] - Elapsed time: 0.056 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Kita lagi asyik ngobrolin musik nih, 
                    [1] => . Mau bahas genre apa lagi?
                )

            [get] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [name] => namaku
                        )

                )

        )

    [1] => SimpleXMLElement Object
        (
            [text] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
        )

)
 
-----------------------
28-10-2025 22:29:57.78270[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #0 from random tag.
 
-----------------------
28-10-2025 22:29:57.78271[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:29:57.78273[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li> 
-----------------------
28-10-2025 22:29:57.78274[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. 
-----------------------
28-10-2025 22:29:57.78274[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:29:57.78275[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Kita lagi asyik ngobrolin musik nih, </text> 
-----------------------
28-10-2025 22:29:57.78276[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:29:57.78276[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:29:57.78277[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:29:57.78278[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Kita lagi asyik ngobrolin musik nih, ' to the response array. tag name is text 
-----------------------
28-10-2025 22:29:57.78278[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.78279[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita lagi asyik ngobrolin musik nih, 
)

 
-----------------------
28-10-2025 22:29:57.78280[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.78280[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita lagi asyik ngobrolin musik nih, ' 
-----------------------
28-10-2025 22:29:57.78281[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Kita lagi asyik ngobrolin musik nih, ' to the response array. tag name is li. 
-----------------------
28-10-2025 22:29:57.78282[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:29:57.78283[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 3. element XML = <get name="namaku"/> 
-----------------------
28-10-2025 22:29:57.78283[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
28-10-2025 22:29:57.78284[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
28-10-2025 22:29:57.78285[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => zen
    [topic] => MUSIK
    [musikfavorit] => jazz
)
 
-----------------------
28-10-2025 22:29:57.78285[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][520]
Parsing a GET tag. Oh, and getting a sandwich while I'm at it. 
-----------------------
28-10-2025 22:29:57.78286[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => zen
    [topic] => MUSIK
    [musikfavorit] => jazz
)
 
-----------------------
28-10-2025 22:29:57.78287[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'zen' to the response array. tag name is get 
-----------------------
28-10-2025 22:29:57.78287[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.78288[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => zen
)

 
-----------------------
28-10-2025 22:29:57.78288[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.78289[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'zen' 
-----------------------
28-10-2025 22:29:57.78289[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'zen' to the response array. tag name is li. 
-----------------------
28-10-2025 22:29:57.78290[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:29:57.78291[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>. Mau bahas genre apa lagi?</text> 
-----------------------
28-10-2025 22:29:57.78291[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
28-10-2025 22:29:57.78292[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
28-10-2025 22:29:57.78292[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:29:57.78293[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '. Mau bahas genre apa lagi?' to the response array. tag name is text 
-----------------------
28-10-2025 22:29:57.78293[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.78294[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => . Mau bahas genre apa lagi?
)

 
-----------------------
28-10-2025 22:29:57.78294[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.78295[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '. Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:29:57.78295[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '. Mau bahas genre apa lagi?' to the response array. tag name is li. 
-----------------------
28-10-2025 22:29:57.78296[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.78297[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita lagi asyik ngobrolin musik nih, 
    [1] => zen
    [2] => . Mau bahas genre apa lagi?
)

 
-----------------------
28-10-2025 22:29:57.78297[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.78298[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:29:57.78298[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' for output. 
-----------------------
28-10-2025 22:29:57.78299[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' to the response array. tag name is random 
-----------------------
28-10-2025 22:29:57.78299[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.78300[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?
)

 
-----------------------
28-10-2025 22:29:57.78300[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.78301[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:29:57.78301[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' to the response array. tag name is template. 
-----------------------
28-10-2025 22:29:57.78302[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:29:57.78303[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?
)

 
-----------------------
28-10-2025 22:29:57.78303[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
28-10-2025 22:29:57.78304[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita lagi asyik ngobrolin musik nih, zen . Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:29:57.78305[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi? 
-----------------------
28-10-2025 22:29:57.78306[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
28-10-2025 22:29:57.78306[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
28-10-2025 22:29:57.78307[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?' to the front of the [that_raw] array 
-----------------------
28-10-2025 22:29:57.78307[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
28-10-2025 22:29:57.78309[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?' to the front of the [that] array 
-----------------------
28-10-2025 22:29:57.78310[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kita lagi asyik ngobrolin musik nih, zen.' 
-----------------------
28-10-2025 22:29:57.78311[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita lagi asyik ngobrolin musik nih, zen.' 
-----------------------
28-10-2025 22:29:57.78312[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN' 
-----------------------
28-10-2025 22:29:57.78312[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN' 
-----------------------
28-10-2025 22:29:57.78313[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:29:57.78313[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mau bahas genre apa lagi?' 
-----------------------
28-10-2025 22:29:57.78314[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:29:57.78315[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:29:57.78316[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?' to the front of the [parsed_template] array 
-----------------------
28-10-2025 22:29:57.78316[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
28-10-2025 22:29:57.78317[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>' to the front of the [template] array 
-----------------------
28-10-2025 22:29:57.78318[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
28-10-2025 22:29:57.78319[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
28-10-2025 22:29:57.78320[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'john mayer',
      'Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
28-10-2025 22:29:57.78511[4][4] - Elapsed time: 1.907 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
28-10-2025 22:29:57.78527[3][4] - Elapsed time: 0.167 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_dannu`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
28-10-2025 22:29:57.78549[2][4] - Elapsed time: 0.210 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
28-10-2025 22:29:57.78550[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
28-10-2025 22:29:57.78550[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
28-10-2025 22:29:57.78552[4][4] - Elapsed time: 0.015 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"john mayer","botsay":"Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?","botData":{"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"4","totallines":1,"rawSay":"john mayer","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"329","bot_id":"1","pattern":"*","thatpattern":"","topic":"MUSIK","filename":"bot.aiml","template":"<random>\n                <li>Kita lagi asyik ngobrolin musik nih, <get name=\"namaku\"\/>. Mau bahas genre apa lagi?<\/li>\n                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?<\/li>\n                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?<\/li>\n            <\/random>","score":302,"current_that":"oh kamu suka jazz ya keren siapa artis jazz favoritmu","aiml_id":"329","track_score":"current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)"}}} 
-----------------------
28-10-2025 22:29:57.78571[2][4] - Elapsed time: 0.190 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
28-10-2025 22:29:57.78572[0][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 11.224 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => john mayer
    [conversation] => Array
        (
            [convo_id] => d691a9f1d78e60289ed8ed3fa176672d
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 4
            [totallines] => 1
            [rawSay] => john mayer
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => imanueldannu910@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 329
                    [bot_id] => 1
                    [pattern] => *
                    [thatpattern] => 
                    [topic] => MUSIK
                    [filename] => bot.aiml
                    [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
                    [score] => 302
                    [current_that] => oh kamu suka jazz ya keren siapa artis jazz favoritmu
                    [aiml_id] => 329
                    [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => john mayer
            [lookingfor] => JOHN MAYER
            [category_id] => 329
            [pattern] => *
            [thatpattern] => 
            [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
            [html_template] => 
            [topic] => MUSIK
            [score] => 302
            [aiml_id] => 329
            [stars] => Array
                (
                    [1] => john mayer
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?
        )

    [client_properties] => Array
        (
            [ip_address] => 182.8.195.90
            [name] => Seeker
            [namaku] => zen
            [topic] => MUSIK
            [musikfavorit] => jazz
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Oh, kamu suka jazz ya! Keren
                    [1] =>  Siapa artis jazz favoritmu?
                )

            [2] => Array
                (
                    [0] => Asyik! Musik emang seru
                    [1] =>  Kita mulai dari mana? Mau bahas genre atau artis favoritmu?
                )

            [3] => Array
                (
                    [0] => Oke, cukup soal SIEGA
                    [1] =>  Kita ngobrolin yang lain ya
                    [2] =>  Mau bahas apa?
                )

            [4] => Array
                (
                    [0] => SIEGA itu kependekan dari 4 konsentrasi di Prodi Sistem Informasi Unika Soegijapranata: Sistem Informasi (SI), E-Commerce (EC), Game Technology (GT), dan Akuntansi + Sistem Informasi (AKSI)
                    [1] =>  Mau tahu detail salah satunya?
                )

            [5] => Array
                (
                    [0] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata
                    [1] =>  Mau tanya apa dulu?
                )

            [6] => Array
                (
                    [0] => Baik banget
                    [1] =>  Semoga kamu juga ya!
                )

            [7] => Array
                (
                    [0] => Halo, zen ! Ada yang bisa aku bantu?
                )

            [8] => Array
                (
                    [0] => Halo! Senang bisa ngobrol sama kamu
                    [1] => 
                )

            [9] => Array
                (
                    [0] => Halo, zen ! Ada yang bisa aku bantu?
                )

            [10] => Array
                (
                    [0] => Maaf, zen, aku nggak ngerti maksud kamu
                    [1] => 
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => MAU BAHAS GENRE APA LAGI
                    [2] => KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN
                )

            [2] => Array
                (
                    [1] => OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU
                )

            [3] => Array
                (
                    [1] => ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU
                )

            [4] => Array
                (
                    [1] => OKE CUKUP SOAL SIEGA KITA NGOBROLIN YANG LAIN YA MAU BAHAS APA
                )

            [5] => Array
                (
                    [1] => SIEGA ITU KEPENDEKAN DARI 4 KONSENTRASI DI PRODI SISTEM INFORMASI UNIKA SOEGIJAPRANATA SISTEM INFORMASI SI E COMMERCE EC GAME TECHNOLOGY GT DAN AKUNTANSI SISTEM INFORMASI AKSI MAU TAHU DETAIL SALAH SATUNYA
                )

            [6] => Array
                (
                    [1] => OKE SIAP AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA MAU TANYA APA DULU
                )

            [7] => Array
                (
                    [1] => BAIK BANGET SEMOGA KAMU JUGA YA
                )

            [8] => Array
                (
                    [1] => HALO ZEN ADA YANG BISA AKU BANTU
                )

            [9] => Array
                (
                    [1] => HALO SENANG BISA NGOBROL SAMA KAMU
                )

            [10] => Array
                (
                    [1] => HALO ZEN ADA YANG BISA AKU BANTU
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => john mayer
            [2] => AKU SUKA MUSIK JAZZ
            [3] => BAHAS MUSIK
            [4] => GANTI TOPIK
            [5] => APA ITU SIEGA
            [6] => AKU MAU TANYA SOAL SIEGA
            [7] => APA KABAR
            [8] => P
            [9] => HALO
            [10] => HAI
        )

    [time_start] => 1761665397.7745
    [user_say] => Array
        (
            [1] => JOHN MAYER
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Mau bahas genre apa lagi?
                    [3] => Kita lagi asyik ngobrolin musik nih, zen.
                )

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

    [parsed_template] => Array
        (
            [1] => Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li> <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li> <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"john mayer","botsay":"Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?","botData":{"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"4","totallines":1,"rawSay":"john mayer","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"329","bot_id":"1","pattern":"*","thatpattern":"","topic":"MUSIK","filename":"bot.aiml","template":"<random>\n                <li>Kita lagi asyik ngobrolin musik nih, <get name=\"namaku\"\/>. Mau bahas genre apa lagi?<\/li>\n                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?<\/li>\n                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?<\/li>\n            <\/random>","score":302,"current_that":"oh kamu suka jazz ya keren siapa artis jazz favoritmu","aiml_id":"329","track_score":"current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)"}}}
)

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