28-10-2025 22:33:54.67907[0][4] - Elapsed time: 0.884 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:33:54.67936[4][4] - Elapsed time: 0.287 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
28-10-2025 22:33:54.67955[4][4] - Elapsed time: 0.188 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
28-10-2025 22:33:54.67965[4][4] - Elapsed time: 0.102 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
28-10-2025 22:33:54.68001[4][4] - Elapsed time: 0.363 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
28-10-2025 22:33:54.68003[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
28-10-2025 22:33:54.68014[1][4] - Elapsed time: 0.116 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:33:54.68043[0][4] - Elapsed time: 0.293 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = b21035a1e2ebbc9ec88566f896692b90 
-----------------------
28-10-2025 22:33:54.68045[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'halo namaku bagas'. 
-----------------------
28-10-2025 22:33:54.68046[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
28-10-2025 22:33:54.68047[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
28-10-2025 22:33:54.68048[3][4] - Elapsed time: 0.010 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:33:54.68070[4][4] - Elapsed time: 0.219 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
28-10-2025 22:33:54.68071[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:33:54.68072[3][4] - Elapsed time: 0.009 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:33:54.68098[2][4] - Elapsed time: 0.266 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
28-10-2025 22:33:54.68099[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
28-10-2025 22:33:54.68121[3][4] - Elapsed time: 0.218 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:33:54.68143[2][4] - Elapsed time: 0.214 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
28-10-2025 22:33:54.68144[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on halo. 
-----------------------
28-10-2025 22:33:54.68146[2][4] - Elapsed time: 0.019 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
28-10-2025 22:33:54.68181[2][4] - Elapsed time: 0.350 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
28-10-2025 22:33:54.68183[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on namaku. 
-----------------------
28-10-2025 22:33:54.68184[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
28-10-2025 22:33:54.68185[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on bagas. 
-----------------------
28-10-2025 22:33:54.68187[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo namaku bagas' 
-----------------------
28-10-2025 22:33:54.68189[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO NAMAKU BAGAS' 
-----------------------
28-10-2025 22:33:54.68190[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HALO NAMAKU BAGAS
Convo id: b21035a1e2ebbc9ec88566f896692b90
Bot id: 1
Format: json 
-----------------------
28-10-2025 22:33:54.68191[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
28-10-2025 22:33:54.68191[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
28-10-2025 22:33:54.68193[3][4] - Elapsed time: 0.011 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:33:54.68219[1][4] - Elapsed time: 0.263 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => aku anak musik
    [1] => contoh artis rock
    [2] => aku suka musik rock
    [3] => kamu suka musik
    [4] => niki
    [5] => metal
    [6] => john mayer
    [7] => aku suka musik jazz
    [8] => bahas musik
    [9] => ganti topik
)
 
-----------------------
28-10-2025 22:33:54.68220[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
28-10-2025 22:33:54.68220[1][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
    [1] => Band Rock Indonesia legendaris itu ada Slank, Dewa 19, Kotak. Kalau luar ada Queen, Nirvana, atau Green Day. Kamu anak rock?
    [2] => Oh, kamu suka rock ya! Keren. Siapa artis rock favoritmu?
    [3] => Sebagai AI, aku nggak bisa \'mendengar\' musik, tapi aku punya banyak data soal itu! Aku tahu banyak genre dan artis. Kamu suka musik apa?
    [4] => Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?
    [5] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
    [6] => Kita lagi asyik ngobrolin musik nih, zen. Mau bahas genre apa lagi?
    [7] => Oh, kamu suka jazz ya! Keren. Siapa artis jazz favoritmu?
    [8] => Asyik! Musik emang seru. Kita mulai dari mana? Mau bahas genre atau artis favoritmu?
    [9] => Oke, cukup soal SIEGA. Kita ngobrolin yang lain ya. Mau bahas apa?
)
 
-----------------------
28-10-2025 22:33:54.68223[2][4] - Elapsed time: 0.023 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:33:54.68223[2][4] - Elapsed time: 0.007 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:33:54.68224[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:33:54.68225[4][4] - Elapsed time: 0.009 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:33:54.68226[4][4] - Elapsed time: 0.013 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:33:54.68227[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:33:54.68228[4][4] - Elapsed time: 0.011 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:33:54.68228[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:33:54.68229[2][4] - Elapsed time: 0.006 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:33:54.68230[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
28-10-2025 22:33:54.68232[4][4] - Elapsed time: 0.022 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:33:54.68232[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:33:54.68233[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:33:54.68234[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:33:54.68235[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:33:54.68235[2][4] - Elapsed time: 0.006 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:33:54.68236[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:33:54.68237[4][4] - Elapsed time: 0.007 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:33:54.68237[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:33:54.68238[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:33:54.68239[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:33:54.68239[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:33:54.68240[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:33:54.68241[4][4] - Elapsed time: 0.010 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:33:54.68241[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:33:54.68242[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:33:54.68242[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:33:54.68243[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
28-10-2025 22:33:54.68244[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:33:54.68244[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:33:54.68245[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:33:54.68246[4][4] - Elapsed time: 0.006 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:33:54.68246[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:33:54.68247[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:33:54.68247[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:33:54.68248[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:33:54.68249[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:33:54.68249[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:33:54.68250[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:33:54.68250[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:33:54.68251[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:33:54.68251[2][4] - Elapsed time: 0.006 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
    [3] => 
)

 
-----------------------
28-10-2025 22:33:54.68252[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:33:54.68253[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:33:54.68253[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kita lagi asyik ngobrolin musik nih zen Mau bahas genre apa lagi ' 
-----------------------
28-10-2025 22:33:54.68254[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita lagi asyik ngobrolin musik nih zen Mau bahas genre apa lagi ' 
-----------------------
28-10-2025 22:33:54.68254[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68255[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68255[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] array 
-----------------------
28-10-2025 22:33:54.68256[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68257[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68257[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68258[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68259[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:33:54.68259[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ngomongin musik aja yuk
    [1] =>  Siapa penyanyi favoritmu
    [2] => 
)

 
-----------------------
28-10-2025 22:33:54.68260[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:33:54.68260[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:33:54.68261[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:33:54.68261[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:33:54.68262[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68263[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68263[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' to the front of the [that] array 
-----------------------
28-10-2025 22:33:54.68264[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68264[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68265[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68266[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68266[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:33:54.68267[2][4] - Elapsed time: 0.006 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
    [3] => 
)

 
-----------------------
28-10-2025 22:33:54.68267[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:33:54.68268[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:33:54.68268[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kita lagi asyik ngobrolin musik nih zen Mau bahas genre apa lagi ' 
-----------------------
28-10-2025 22:33:54.68269[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita lagi asyik ngobrolin musik nih zen Mau bahas genre apa lagi ' 
-----------------------
28-10-2025 22:33:54.68270[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68270[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68271[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] array 
-----------------------
28-10-2025 22:33:54.68272[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68272[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68273[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68273[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA LAGI ASYIK NGOBROLIN MUSIK NIH ZEN MAU BAHAS GENRE APA LAGI' 
-----------------------
28-10-2025 22:33:54.68274[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:33:54.68275[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Sebagai AI
    [1] =>  aku nggak bisa \'mendengar\' musik
    [2] =>  tapi aku punya banyak data soal itu
    [3] =>  Aku tahu banyak genre dan artis
    [4] =>  Kamu suka musik apa
    [5] => 
)

 
-----------------------
28-10-2025 22:33:54.68275[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:33:54.68276[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Sebagai AI aku nggak bisa \'mendengar\' musik tapi aku punya banyak data soal itu Aku tahu banyak genre dan artis Kamu suka musik apa ' 
-----------------------
28-10-2025 22:33:54.68276[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Sebagai AI aku nggak bisa \'mendengar\' musik tapi aku punya banyak data soal itu Aku tahu banyak genre dan artis Kamu suka musik apa ' 
-----------------------
28-10-2025 22:33:54.68277[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Sebagai AI aku nggak bisa \'mendengar\' musik tapi aku punya banyak data soal itu Aku tahu banyak genre dan artis Kamu suka musik apa ' 
-----------------------
28-10-2025 22:33:54.68278[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:33:54.68279[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:33:54.68280[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' to the front of the [that] array 
-----------------------
28-10-2025 22:33:54.68281[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:33:54.68281[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:33:54.68282[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:33:54.68283[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA' 
-----------------------
28-10-2025 22:33:54.68284[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:33:54.68284[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oh
    [1] =>  kamu suka rock ya
    [2] =>  Keren
    [3] =>  Siapa artis rock favoritmu
    [4] => 
)

 
-----------------------
28-10-2025 22:33:54.68285[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:33:54.68285[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oh kamu suka rock ya Keren Siapa artis rock favoritmu ' 
-----------------------
28-10-2025 22:33:54.68286[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oh kamu suka rock ya Keren Siapa artis rock favoritmu ' 
-----------------------
28-10-2025 22:33:54.68286[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oh kamu suka rock ya Keren Siapa artis rock favoritmu ' 
-----------------------
28-10-2025 22:33:54.68287[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68288[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68288[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' to the front of the [that] array 
-----------------------
28-10-2025 22:33:54.68289[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68290[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68290[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68291[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA ROCK YA KEREN SIAPA ARTIS ROCK FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68291[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:33:54.68292[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Band Rock Indonesia legendaris itu ada Slank
    [1] =>  Dewa 19
    [2] =>  Kotak
    [3] =>  Kalau luar ada Queen
    [4] =>  Nirvana
    [5] =>  atau Green Day
    [6] =>  Kamu anak rock
    [7] => 
)

 
-----------------------
28-10-2025 22:33:54.68293[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:33:54.68293[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Band Rock Indonesia legendaris itu ada Slank Dewa 19 Kotak Kalau luar ada Queen Nirvana atau Green Day Kamu anak rock ' 
-----------------------
28-10-2025 22:33:54.68294[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Band Rock Indonesia legendaris itu ada Slank Dewa 19 Kotak Kalau luar ada Queen Nirvana atau Green Day Kamu anak rock ' 
-----------------------
28-10-2025 22:33:54.68294[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Band Rock Indonesia legendaris itu ada Slank Dewa 19 Kotak Kalau luar ada Queen Nirvana atau Green Day Kamu anak rock ' 
-----------------------
28-10-2025 22:33:54.68295[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:33:54.68296[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:33:54.68296[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' to the front of the [that] array 
-----------------------
28-10-2025 22:33:54.68297[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:33:54.68298[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:33:54.68299[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:33:54.68299[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK' 
-----------------------
28-10-2025 22:33:54.68300[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:33:54.68300[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ngomongin musik aja yuk
    [1] =>  Siapa penyanyi favoritmu
    [2] => 
)

 
-----------------------
28-10-2025 22:33:54.68301[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:33:54.68301[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:33:54.68302[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:33:54.68302[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ngomongin musik aja yuk Siapa penyanyi favoritmu ' 
-----------------------
28-10-2025 22:33:54.68303[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68303[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68304[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' to the front of the [that] array 
-----------------------
28-10-2025 22:33:54.68305[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68305[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68306[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68306[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68307[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
28-10-2025 22:33:54.68308[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:33:54.68309[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
28-10-2025 22:33:54.68309[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:33:54.68310[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik' 
-----------------------
28-10-2025 22:33:54.68310[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
28-10-2025 22:33:54.68311[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
28-10-2025 22:33:54.68311[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
28-10-2025 22:33:54.68312[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
28-10-2025 22:33:54.68312[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GANTI TOPIK' to the front of the [input] array 
-----------------------
28-10-2025 22:33:54.68313[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
28-10-2025 22:33:54.68314[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:33:54.68314[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bahas musik
)

 
-----------------------
28-10-2025 22:33:54.68315[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:33:54.68315[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bahas musik' 
-----------------------
28-10-2025 22:33:54.68316[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bahas musik' 
-----------------------
28-10-2025 22:33:54.68316[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bahas musik' 
-----------------------
28-10-2025 22:33:54.68317[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS MUSIK' 
-----------------------
28-10-2025 22:33:54.68318[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAHAS MUSIK' 
-----------------------
28-10-2025 22:33:54.68318[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS MUSIK' to the front of the [input] array 
-----------------------
28-10-2025 22:33:54.68319[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:33:54.68319[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku suka musik jazz
)

 
-----------------------
28-10-2025 22:33:54.68320[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:33:54.68320[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku suka musik jazz' 
-----------------------
28-10-2025 22:33:54.68321[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:33:54.68321[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik jazz' 
-----------------------
28-10-2025 22:33:54.68322[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK JAZZ' 
-----------------------
28-10-2025 22:33:54.68322[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK JAZZ' 
-----------------------
28-10-2025 22:33:54.68323[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:33:54.68324[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:33:54.68324[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => john mayer
)

 
-----------------------
28-10-2025 22:33:54.68325[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:33:54.68325[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'john mayer' 
-----------------------
28-10-2025 22:33:54.68326[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'john mayer' 
-----------------------
28-10-2025 22:33:54.68326[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'john mayer' 
-----------------------
28-10-2025 22:33:54.68327[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JOHN MAYER' 
-----------------------
28-10-2025 22:33:54.68327[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JOHN MAYER' 
-----------------------
28-10-2025 22:33:54.68328[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'JOHN MAYER' to the front of the [input] array 
-----------------------
28-10-2025 22:33:54.68328[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:33:54.68329[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => metal
)

 
-----------------------
28-10-2025 22:33:54.68329[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:33:54.68330[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'metal' 
-----------------------
28-10-2025 22:33:54.68330[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'metal' 
-----------------------
28-10-2025 22:33:54.68331[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'metal' 
-----------------------
28-10-2025 22:33:54.68332[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'METAL' 
-----------------------
28-10-2025 22:33:54.68332[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'METAL' 
-----------------------
28-10-2025 22:33:54.68333[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'METAL' to the front of the [input] array 
-----------------------
28-10-2025 22:33:54.68333[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:33:54.68334[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => niki
)

 
-----------------------
28-10-2025 22:33:54.68334[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:33:54.68335[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'niki' 
-----------------------
28-10-2025 22:33:54.68335[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'niki' 
-----------------------
28-10-2025 22:33:54.68336[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'niki' 
-----------------------
28-10-2025 22:33:54.68336[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NIKI' 
-----------------------
28-10-2025 22:33:54.68337[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NIKI' 
-----------------------
28-10-2025 22:33:54.68337[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NIKI' to the front of the [input] array 
-----------------------
28-10-2025 22:33:54.68338[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:33:54.68338[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => kamu suka musik
)

 
-----------------------
28-10-2025 22:33:54.68339[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:33:54.68339[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kamu suka musik' 
-----------------------
28-10-2025 22:33:54.68340[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kamu suka musik' 
-----------------------
28-10-2025 22:33:54.68340[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka musik' 
-----------------------
28-10-2025 22:33:54.68341[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA MUSIK' 
-----------------------
28-10-2025 22:33:54.68342[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA MUSIK' 
-----------------------
28-10-2025 22:33:54.68342[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KAMU SUKA MUSIK' to the front of the [input] array 
-----------------------
28-10-2025 22:33:54.68343[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:33:54.68343[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku suka musik rock
)

 
-----------------------
28-10-2025 22:33:54.68344[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:33:54.68344[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku suka musik rock' 
-----------------------
28-10-2025 22:33:54.68345[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku suka musik rock' 
-----------------------
28-10-2025 22:33:54.68345[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik rock' 
-----------------------
28-10-2025 22:33:54.68346[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK ROCK' 
-----------------------
28-10-2025 22:33:54.68346[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK ROCK' 
-----------------------
28-10-2025 22:33:54.68347[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA MUSIK ROCK' to the front of the [input] array 
-----------------------
28-10-2025 22:33:54.68348[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:33:54.68348[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => contoh artis rock
)

 
-----------------------
28-10-2025 22:33:54.68349[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:33:54.68349[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'contoh artis rock' 
-----------------------
28-10-2025 22:33:54.68350[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'contoh artis rock' 
-----------------------
28-10-2025 22:33:54.68350[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'contoh artis rock' 
-----------------------
28-10-2025 22:33:54.68351[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'CONTOH ARTIS ROCK' 
-----------------------
28-10-2025 22:33:54.68351[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'CONTOH ARTIS ROCK' 
-----------------------
28-10-2025 22:33:54.68352[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'CONTOH ARTIS ROCK' to the front of the [input] array 
-----------------------
28-10-2025 22:33:54.68352[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:33:54.68353[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku anak musik
)

 
-----------------------
28-10-2025 22:33:54.68353[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:33:54.68354[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku anak musik' 
-----------------------
28-10-2025 22:33:54.68354[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku anak musik' 
-----------------------
28-10-2025 22:33:54.68355[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku anak musik' 
-----------------------
28-10-2025 22:33:54.68355[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU ANAK MUSIK' 
-----------------------
28-10-2025 22:33:54.68356[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU ANAK MUSIK' 
-----------------------
28-10-2025 22:33:54.68356[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU ANAK MUSIK' to the front of the [input] array 
-----------------------
28-10-2025 22:33:54.68384[2][4] - Elapsed time: 0.274 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
28-10-2025 22:33:54.68385[3][4] - Elapsed time: 0.013 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:33:54.68404[4][4] - Elapsed time: 0.191 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
28-10-2025 22:33:54.68406[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
28-10-2025 22:33:54.68406[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
28-10-2025 22:33:54.68407[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HALO NAMAKU BAGAS: raw say = halo namaku bagas 
-----------------------
28-10-2025 22:33:54.68407[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
28-10-2025 22:33:54.68408[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO NAMAKU BAGAS' to the front of the [user_say] array 
-----------------------
28-10-2025 22:33:54.68409[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
28-10-2025 22:33:54.68410[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = halo namaku bagas, RAW say = halo namaku bagas 
-----------------------
28-10-2025 22:33:54.68410[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'halo namaku bagas' to the front of the [input] array 
-----------------------
28-10-2025 22:33:54.68411[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
28-10-2025 22:33:54.68412[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO NAMAKU BAGAS' 
-----------------------
28-10-2025 22:33:54.68413[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO NAMAKU BAGAS' 
-----------------------
28-10-2025 22:33:54.68414[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
28-10-2025 22:33:54.68434[4][4] - Elapsed time: 0.196 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
28-10-2025 22:33:54.68436[3][4] - Elapsed time: 0.019 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 (
        'HALO NAMAKU BAGAS' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
28-10-2025 22:33:54.68460[2][4] - Elapsed time: 0.241 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
28-10-2025 22:33:54.68460[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:33:54.68461[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
28-10-2025 22:33:54.68480[4][4] - Elapsed time: 0.188 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'MUSIK' 
-----------------------
28-10-2025 22:33:54.68482[3][4] - Elapsed time: 0.018 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 (
        'HALO NAMAKU BAGAS' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI 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:33:54.68524[3][4] - Elapsed time: 0.428 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
28-10-2025 22:33:54.68525[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (35) potential AIML matches 
-----------------------
28-10-2025 22:33:54.68549[1][4] - Elapsed time: 0.241 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU 
-----------------------
28-10-2025 22:33:54.68550[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 35 rows to unset bad matches 
-----------------------
28-10-2025 22:33:54.68551[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HALO NAMAKU BAGAS' 
-----------------------
28-10-2025 22:33:54.68630[4][4] - Elapsed time: 0.794 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
28-10-2025 22:33:54.68632[4][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
28-10-2025 22:33:54.68654[4][4] - Elapsed time: 0.218 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] => ngomongin musik aja yuk siapa penyanyi 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] => ngomongin musik aja yuk siapa penyanyi 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:33:54.68656[2][4] - Elapsed time: 0.018 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] => ngomongin musik aja yuk siapa penyanyi 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:33:54.68669[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] => ngomongin musik aja yuk siapa penyanyi 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:33:54.68670[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
28-10-2025 22:33:54.68672[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:33:54.68672[4][4] - Elapsed time: 0.009 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:33:54.68698[2][4] - Elapsed time: 0.251 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
28-10-2025 22:33:54.68699[1][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'HALO NAMAKU BAGAS' to the unknown_inputs table. 
-----------------------
28-10-2025 22:33:54.68699[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:329 (*) 
-----------------------
28-10-2025 22:33:54.68700[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
28-10-2025 22:33:54.68701[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
28-10-2025 22:33:54.68701[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
28-10-2025 22:33:54.68702[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching halo namaku bagas for a match. 
-----------------------
28-10-2025 22:33:54.68703[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => halo namaku bagas
        )

    [1] => Array
        (
            [0] => halo namaku bagas
        )

)
 
-----------------------
28-10-2025 22:33:54.68703[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'halo namaku bagas' to the stars stack. 
-----------------------
28-10-2025 22:33:54.68704[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => halo namaku bagas
)
 
-----------------------
28-10-2025 22:33:54.68704[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
28-10-2025 22:33:54.68705[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
28-10-2025 22:33:54.68706[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 329
    [category_id] => 329
    [html_template] => 
    [lookingfor] => HALO NAMAKU BAGAS
    [pattern] => *
    [score] => 302
    [stars] => Array
        (
            [1] => halo namaku bagas
        )

    [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] => halo namaku bagas
)
 
-----------------------
28-10-2025 22:33:54.68707[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
28-10-2025 22:33:54.68708[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:33:54.68709[4][4] - Elapsed time: 0.016 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:33:54.68714[2][4] - Elapsed time: 0.042 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:33:54.68717[4][4] - Elapsed time: 0.033 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:33:54.68718[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
28-10-2025 22:33:54.68719[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:33:54.68721[4][4] - Elapsed time: 0.016 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:33:54.68721[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
28-10-2025 22:33:54.68722[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
28-10-2025 22:33:54.68722[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:33:54.68725[4][4] - Elapsed time: 0.027 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:33:54.68726[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #2 from random tag.
 
-----------------------
28-10-2025 22:33:54.68727[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:33:54.68729[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text></li> 
-----------------------
28-10-2025 22:33:54.68729[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:33:54.68730[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
28-10-2025 22:33:54.68731[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text> 
-----------------------
28-10-2025 22:33:54.68732[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:33:54.68732[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:33:54.68733[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
28-10-2025 22:33:54.68733[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' to the response array. tag name is text 
-----------------------
28-10-2025 22:33:54.68734[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:33:54.68734[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
)

 
-----------------------
28-10-2025 22:33:54.68735[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:33:54.68736[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' 
-----------------------
28-10-2025 22:33:54.68736[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' to the response array. tag name is li. 
-----------------------
28-10-2025 22:33:54.68737[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:33:54.68737[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
)

 
-----------------------
28-10-2025 22:33:54.68738[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:33:54.68738[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' 
-----------------------
28-10-2025 22:33:54.68739[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' for output. 
-----------------------
28-10-2025 22:33:54.68740[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' to the response array. tag name is random 
-----------------------
28-10-2025 22:33:54.68740[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:33:54.68741[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
)

 
-----------------------
28-10-2025 22:33:54.68741[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:33:54.68741[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' 
-----------------------
28-10-2025 22:33:54.68742[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' to the response array. tag name is template. 
-----------------------
28-10-2025 22:33:54.68743[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:33:54.68743[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
)

 
-----------------------
28-10-2025 22:33:54.68744[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:33:54.68744[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' 
-----------------------
28-10-2025 22:33:54.68745[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Ngomongin musik aja yuk. Siapa penyanyi favoritmu? 
-----------------------
28-10-2025 22:33:54.68746[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
28-10-2025 22:33:54.68747[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
28-10-2025 22:33:54.68747[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' to the front of the [that_raw] array 
-----------------------
28-10-2025 22:33:54.68748[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
28-10-2025 22:33:54.68750[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' to the front of the [that] array 
-----------------------
28-10-2025 22:33:54.68751[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ngomongin musik aja yuk.' 
-----------------------
28-10-2025 22:33:54.68752[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ngomongin musik aja yuk.' 
-----------------------
28-10-2025 22:33:54.68753[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NGOMONGIN MUSIK AJA YUK' 
-----------------------
28-10-2025 22:33:54.68753[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NGOMONGIN MUSIK AJA YUK' 
-----------------------
28-10-2025 22:33:54.68754[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Siapa penyanyi favoritmu?' 
-----------------------
28-10-2025 22:33:54.68754[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Siapa penyanyi favoritmu?' 
-----------------------
28-10-2025 22:33:54.68755[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68755[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA PENYANYI FAVORITMU' 
-----------------------
28-10-2025 22:33:54.68756[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?' to the front of the [parsed_template] array 
-----------------------
28-10-2025 22:33:54.68757[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
28-10-2025 22:33:54.68758[2][4] - Elapsed time: 0.009 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:33:54.68759[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
28-10-2025 22:33:54.68759[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
28-10-2025 22:33:54.68761[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 ,
      'halo namaku bagas',
      'Ngomongin musik aja yuk. Siapa penyanyi favoritmu?',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
28-10-2025 22:33:54.68951[4][4] - Elapsed time: 1.898 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
28-10-2025 22:33:54.68967[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:33:54.68990[2][4] - Elapsed time: 0.228 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
28-10-2025 22:33:54.68991[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
28-10-2025 22:33:54.68992[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
28-10-2025 22:33:54.68993[4][4] - Elapsed time: 0.017 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"halo namaku bagas","botsay":"Ngomongin musik aja yuk. Siapa penyanyi favoritmu?","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":"halo namaku bagas","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":"ngomongin musik aja yuk siapa penyanyi 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:33:54.69015[2][4] - Elapsed time: 0.215 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
28-10-2025 22:33:54.69017[0][4] - Elapsed time: 0.019 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 11.966 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => halo namaku bagas
    [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] => halo namaku bagas
            [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] => ngomongin musik aja yuk siapa penyanyi 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] => halo namaku bagas
            [lookingfor] => HALO NAMAKU BAGAS
            [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] => halo namaku bagas
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
        )

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

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Ngomongin musik aja yuk
                    [1] =>  Siapa penyanyi favoritmu?
                )

            [2] => Array
                (
                    [0] => Band Rock Indonesia legendaris itu ada Slank, Dewa 19, Kotak
                    [1] =>  Kalau luar ada Queen, Nirvana, atau Green Day
                    [2] =>  Kamu anak rock?
                )

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

            [4] => Array
                (
                    [0] => Sebagai AI, aku nggak bisa \'mendengar\' musik, tapi aku punya banyak data soal itu! Aku tahu banyak genre dan artis
                    [1] =>  Kamu suka musik apa?
                )

            [5] => Array
                (
                    [0] => Kita lagi asyik ngobrolin musik nih, zen
                    [1] =>  Mau bahas genre apa lagi?
                )

            [6] => Array
                (
                    [0] => Ngomongin musik aja yuk
                    [1] =>  Siapa penyanyi favoritmu?
                )

            [7] => Array
                (
                    [0] => Kita lagi asyik ngobrolin musik nih, zen
                    [1] =>  Mau bahas genre apa lagi?
                )

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

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

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

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => SIAPA PENYANYI FAVORITMU
                    [2] => NGOMONGIN MUSIK AJA YUK
                )

            [2] => Array
                (
                    [1] => NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU
                )

            [3] => Array
                (
                    [1] => BAND ROCK INDONESIA LEGENDARIS ITU ADA SLANK DEWA 19 KOTAK KALAU LUAR ADA QUEEN NIRVANA ATAU GREEN DAY KAMU ANAK ROCK
                )

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

            [5] => Array
                (
                    [1] => SEBAGAI AI AKU NGGAK BISA MENDENGAR MUSIK TAPI AKU PUNYA BANYAK DATA SOAL ITU AKU TAHU BANYAK GENRE DAN ARTIS KAMU SUKA MUSIK APA
                )

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

            [7] => Array
                (
                    [1] => NGOMONGIN MUSIK AJA YUK SIAPA PENYANYI FAVORITMU
                )

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

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

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

            [12] => 
        )

    [input] => Array
        (
            [1] => halo namaku bagas
            [2] => AKU ANAK MUSIK
            [3] => CONTOH ARTIS ROCK
            [4] => AKU SUKA MUSIK ROCK
            [5] => KAMU SUKA MUSIK
            [6] => NIKI
            [7] => METAL
            [8] => JOHN MAYER
            [9] => AKU SUKA MUSIK JAZZ
            [10] => BAHAS MUSIK
        )

    [time_start] => 1761665634.6782
    [user_say] => Array
        (
            [1] => HALO NAMAKU BAGAS
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Siapa penyanyi favoritmu?
                    [3] => Ngomongin musik aja yuk.
                )

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

    [parsed_template] => Array
        (
            [1] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
            [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":"halo namaku bagas","botsay":"Ngomongin musik aja yuk. Siapa penyanyi favoritmu?","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":"halo namaku bagas","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":"ngomongin musik aja yuk siapa penyanyi 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.966 Milliseconds. Goodbye.