01-11-2025 15:37:44.73123[0][4] - Elapsed time: 8.085 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 
-----------------------
01-11-2025 15:37:44.74038[4][4] - Elapsed time: 9.148 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
01-11-2025 15:37:44.74335[4][4] - Elapsed time: 2.969 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
01-11-2025 15:37:44.74385[4][4] - Elapsed time: 0.498 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
01-11-2025 15:37:44.74611[4][4] - Elapsed time: 2.265 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
01-11-2025 15:37:44.74613[4][4] - Elapsed time: 0.017 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
01-11-2025 15:37:44.74626[1][4] - Elapsed time: 0.128 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 
-----------------------
01-11-2025 15:37:44.74658[0][4] - Elapsed time: 0.317 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = c4f075b2106ba278aae06f8d403e43b9 
-----------------------
01-11-2025 15:37:44.74659[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'ganti topik'. 
-----------------------
01-11-2025 15:37:44.74661[4][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
01-11-2025 15:37:44.74661[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
01-11-2025 15:37:44.74662[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
01-11-2025 15:37:44.74682[4][4] - Elapsed time: 0.193 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
01-11-2025 15:37:44.74683[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
01-11-2025 15:37:44.74683[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
01-11-2025 15:37:44.74704[2][4] - Elapsed time: 0.209 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
01-11-2025 15:37:44.74705[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
01-11-2025 15:37:44.74724[3][4] - Elapsed time: 0.184 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; 
-----------------------
01-11-2025 15:37:44.74742[2][4] - Elapsed time: 0.186 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
01-11-2025 15:37:44.74749[2][4] - Elapsed time: 0.067 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ganti. 
-----------------------
01-11-2025 15:37:44.74750[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
01-11-2025 15:37:44.74779[2][4] - Elapsed time: 0.290 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
01-11-2025 15:37:44.74781[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on topik. 
-----------------------
01-11-2025 15:37:44.74783[4][4] - Elapsed time: 0.020 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
01-11-2025 15:37:44.74796[4][4] - Elapsed time: 0.133 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:44.74797[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: GANTI TOPIK
Convo id: c4f075b2106ba278aae06f8d403e43b9
Bot id: 1
Format: json 
-----------------------
01-11-2025 15:37:44.74798[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
01-11-2025 15:37:44.74799[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
01-11-2025 15:37:44.74799[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 4 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
01-11-2025 15:37:44.74823[1][4] - Elapsed time: 0.233 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => terima kasih
    [1] => hai
    [2] => halo
    [3] => siapa namaku
    [4] => ganti topik
    [5] => ok ganti topik
    [6] => siapa namaku
    [7] => aku suka musik jazz
    [8] => aku mau ngobrolin musik
    [9] => aku suka musik jazz
)
 
-----------------------
01-11-2025 15:37:44.74824[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
01-11-2025 15:37:44.74824[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Dengan senang hati, dannu.
    [1] => Halo! Senang bisa ngobrol sama kamu.
    [2] => Halo, dannu ! Ada yang bisa aku bantu?
    [3] => Nama kamu dannu, kan? Aku ingat!
    [4] => Oke, udahan dulu ya ngobrolin musiknya. Mau bahas apa kita sekarang?
    [5] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [6] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [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] => Hmm, bisa diulangi dengan kalimat lain?
)
 
-----------------------
01-11-2025 15:37:44.74826[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74827[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa diulangi dengan kalimat lain
    [2] => 
)

 
-----------------------
01-11-2025 15:37:44.74827[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74828[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:37:44.74829[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:37:44.74829[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:37:44.74830[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:37:44.74831[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:37:44.74831[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' to the front of the [that] array 
-----------------------
01-11-2025 15:37:44.74834[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
01-11-2025 15:37:44.74841[4][4] - Elapsed time: 0.072 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:37:44.74842[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:37:44.74844[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:37:44.74844[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:37:44.74846[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74846[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] => 
)

 
-----------------------
01-11-2025 15:37:44.74847[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74847[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Asyik Musik emang seru Kita mulai dari mana Mau bahas genre atau artis favoritmu ' 
-----------------------
01-11-2025 15:37:44.74848[4][4] - Elapsed time: 0.006 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 ' 
-----------------------
01-11-2025 15:37:44.74849[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Asyik Musik emang seru Kita mulai dari mana Mau bahas genre atau artis favoritmu ' 
-----------------------
01-11-2025 15:37:44.74850[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' 
-----------------------
01-11-2025 15:37:44.74850[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' 
-----------------------
01-11-2025 15:37:44.74851[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 
-----------------------
01-11-2025 15:37:44.74851[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' 
-----------------------
01-11-2025 15:37:44.74852[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' 
-----------------------
01-11-2025 15:37:44.74853[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' 
-----------------------
01-11-2025 15:37:44.74853[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' 
-----------------------
01-11-2025 15:37:44.74854[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74855[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] => 
)

 
-----------------------
01-11-2025 15:37:44.74855[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74856[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 ' 
-----------------------
01-11-2025 15:37:44.74856[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oh kamu suka jazz ya Keren Siapa artis jazz favoritmu ' 
-----------------------
01-11-2025 15:37:44.74857[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 ' 
-----------------------
01-11-2025 15:37:44.74857[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' 
-----------------------
01-11-2025 15:37:44.74858[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:37:44.74858[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 
-----------------------
01-11-2025 15:37:44.74859[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' 
-----------------------
01-11-2025 15:37:44.74860[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' 
-----------------------
01-11-2025 15:37:44.74861[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' 
-----------------------
01-11-2025 15:37:44.74861[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' 
-----------------------
01-11-2025 15:37:44.74862[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74862[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  aku kurang paham
    [2] =>  Balik ke topik musik ya
    [3] =>  kamu suka Pop
    [4] =>  Rock
    [5] =>  atau Jazz
    [6] => 
)

 
-----------------------
01-11-2025 15:37:44.74863[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74863[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:44.74864[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:44.74864[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:44.74865[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74866[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74866[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' to the front of the [that] array 
-----------------------
01-11-2025 15:37:44.74867[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74868[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74868[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74869[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74869[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74870[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  aku kurang paham
    [2] =>  Balik ke topik musik ya
    [3] =>  kamu suka Pop
    [4] =>  Rock
    [5] =>  atau Jazz
    [6] => 
)

 
-----------------------
01-11-2025 15:37:44.74870[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74871[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:44.74871[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:44.74872[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:44.74873[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74873[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74874[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' to the front of the [that] array 
-----------------------
01-11-2025 15:37:44.74875[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74875[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74876[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74876[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:44.74877[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74878[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke
    [1] =>  udahan dulu ya ngobrolin musiknya
    [2] =>  Mau bahas apa kita sekarang
    [3] => 
)

 
-----------------------
01-11-2025 15:37:44.74878[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74879[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke udahan dulu ya ngobrolin musiknya Mau bahas apa kita sekarang ' 
-----------------------
01-11-2025 15:37:44.74879[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke udahan dulu ya ngobrolin musiknya Mau bahas apa kita sekarang ' 
-----------------------
01-11-2025 15:37:44.74880[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke udahan dulu ya ngobrolin musiknya Mau bahas apa kita sekarang ' 
-----------------------
01-11-2025 15:37:44.74880[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:44.74881[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:44.74881[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' to the front of the [that] array 
-----------------------
01-11-2025 15:37:44.74882[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:44.74883[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:44.74883[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:44.74884[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:44.74885[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74885[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama kamu dannu
    [1] =>  kan
    [2] =>  Aku ingat
    [3] => 
)

 
-----------------------
01-11-2025 15:37:44.74886[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74886[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama kamu dannu kan Aku ingat ' 
-----------------------
01-11-2025 15:37:44.74887[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama kamu dannu kan Aku ingat ' 
-----------------------
01-11-2025 15:37:44.74887[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama kamu dannu kan Aku ingat ' 
-----------------------
01-11-2025 15:37:44.74888[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:44.74888[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:44.74889[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA KAMU DANNU KAN AKU INGAT' to the front of the [that] array 
-----------------------
01-11-2025 15:37:44.74889[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:44.74890[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:44.74891[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:44.74891[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:44.74892[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74892[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  dannu 
    [2] =>  Ada yang bisa aku bantu
    [3] => 
)

 
-----------------------
01-11-2025 15:37:44.74893[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74893[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo dannu  Ada yang bisa aku bantu ' 
-----------------------
01-11-2025 15:37:44.74894[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo dannu  Ada yang bisa aku bantu ' 
-----------------------
01-11-2025 15:37:44.74894[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo dannu  Ada yang bisa aku bantu ' 
-----------------------
01-11-2025 15:37:44.74895[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:44.74896[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:44.74896[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO DANNU ADA YANG BISA AKU BANTU' to the front of the [that] array 
-----------------------
01-11-2025 15:37:44.74897[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:44.74898[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:44.74898[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:44.74899[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:44.74899[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74900[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Senang bisa ngobrol sama kamu
    [2] => 
)

 
-----------------------
01-11-2025 15:37:44.74900[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74901[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
01-11-2025 15:37:44.74901[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
01-11-2025 15:37:44.74902[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
01-11-2025 15:37:44.74903[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:44.74903[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:44.74903[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SENANG BISA NGOBROL SAMA KAMU' to the front of the [that] array 
-----------------------
01-11-2025 15:37:44.74904[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:44.74905[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:44.74905[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:44.74906[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:44.74907[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74907[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Dengan senang hati
    [1] =>  dannu
    [2] => 
)

 
-----------------------
01-11-2025 15:37:44.74908[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74908[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Dengan senang hati dannu ' 
-----------------------
01-11-2025 15:37:44.74909[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Dengan senang hati dannu ' 
-----------------------
01-11-2025 15:37:44.74909[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Dengan senang hati dannu ' 
-----------------------
01-11-2025 15:37:44.74910[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:44.74910[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:44.74911[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'DENGAN SENANG HATI DANNU' to the front of the [that] array 
-----------------------
01-11-2025 15:37:44.74911[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:44.74912[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:44.74913[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:44.74913[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:44.74914[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
01-11-2025 15:37:44.74915[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74915[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku suka musik jazz
)

 
-----------------------
01-11-2025 15:37:44.74916[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74916[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku suka musik jazz' 
-----------------------
01-11-2025 15:37:44.74917[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku suka musik jazz' 
-----------------------
01-11-2025 15:37:44.74917[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik jazz' 
-----------------------
01-11-2025 15:37:44.74918[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:37:44.74918[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:37:44.74919[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 
-----------------------
01-11-2025 15:37:44.74920[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
01-11-2025 15:37:44.74920[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74921[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku mau ngobrolin musik
)

 
-----------------------
01-11-2025 15:37:44.74921[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74922[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku mau ngobrolin musik' 
-----------------------
01-11-2025 15:37:44.74922[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku mau ngobrolin musik' 
-----------------------
01-11-2025 15:37:44.74923[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku mau ngobrolin musik' 
-----------------------
01-11-2025 15:37:44.74923[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MAU NGOBROLIN MUSIK' 
-----------------------
01-11-2025 15:37:44.74924[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MAU NGOBROLIN MUSIK' 
-----------------------
01-11-2025 15:37:44.74924[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MAU NGOBROLIN MUSIK' to the front of the [input] array 
-----------------------
01-11-2025 15:37:44.74925[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74926[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku suka musik jazz
)

 
-----------------------
01-11-2025 15:37:44.74926[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74927[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku suka musik jazz' 
-----------------------
01-11-2025 15:37:44.74927[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku suka musik jazz' 
-----------------------
01-11-2025 15:37:44.74928[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik jazz' 
-----------------------
01-11-2025 15:37:44.74928[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:37:44.74929[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:37:44.74929[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 
-----------------------
01-11-2025 15:37:44.74930[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74930[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
01-11-2025 15:37:44.74931[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74931[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
01-11-2025 15:37:44.74932[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
01-11-2025 15:37:44.74932[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
01-11-2025 15:37:44.74933[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:37:44.74933[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:37:44.74934[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMAKU' to the front of the [input] array 
-----------------------
01-11-2025 15:37:44.74935[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74935[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ok ganti topik
)

 
-----------------------
01-11-2025 15:37:44.74936[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74936[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ok ganti topik' 
-----------------------
01-11-2025 15:37:44.74937[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ok ganti topik' 
-----------------------
01-11-2025 15:37:44.74937[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ok ganti topik' 
-----------------------
01-11-2025 15:37:44.74938[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:37:44.74938[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:37:44.74939[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OK GANTI TOPIK' to the front of the [input] array 
-----------------------
01-11-2025 15:37:44.74939[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74940[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
01-11-2025 15:37:44.74940[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74941[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik' 
-----------------------
01-11-2025 15:37:44.74941[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
01-11-2025 15:37:44.74942[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
01-11-2025 15:37:44.74942[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:44.74944[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:44.74944[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 
-----------------------
01-11-2025 15:37:44.74945[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74946[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
01-11-2025 15:37:44.74946[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74947[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
01-11-2025 15:37:44.74947[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
01-11-2025 15:37:44.74948[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
01-11-2025 15:37:44.74948[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:37:44.74949[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:37:44.74949[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMAKU' to the front of the [input] array 
-----------------------
01-11-2025 15:37:44.74950[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74950[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
01-11-2025 15:37:44.74951[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74951[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
01-11-2025 15:37:44.74952[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
01-11-2025 15:37:44.74952[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
01-11-2025 15:37:44.74953[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
01-11-2025 15:37:44.74953[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
01-11-2025 15:37:44.74954[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
01-11-2025 15:37:44.74955[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74955[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hai
)

 
-----------------------
01-11-2025 15:37:44.74956[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74956[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hai' 
-----------------------
01-11-2025 15:37:44.74956[4][4] - Elapsed time: 0.005 milliseconds  
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hai' 
-----------------------
01-11-2025 15:37:44.74957[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hai' 
-----------------------
01-11-2025 15:37:44.74958[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
01-11-2025 15:37:44.74958[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI' 
-----------------------
01-11-2025 15:37:44.74958[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI' to the front of the [input] array 
-----------------------
01-11-2025 15:37:44.74959[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.74960[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => terima kasih
)

 
-----------------------
01-11-2025 15:37:44.74960[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.74961[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'terima kasih' 
-----------------------
01-11-2025 15:37:44.74961[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'terima kasih' 
-----------------------
01-11-2025 15:37:44.74962[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'terima kasih' 
-----------------------
01-11-2025 15:37:44.74962[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TERIMA KASIH' 
-----------------------
01-11-2025 15:37:44.74963[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TERIMA KASIH' 
-----------------------
01-11-2025 15:37:44.74963[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'TERIMA KASIH' to the front of the [input] array 
-----------------------
01-11-2025 15:37:44.74988[2][4] - Elapsed time: 0.250 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
01-11-2025 15:37:44.74989[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
01-11-2025 15:37:44.75008[4][4] - Elapsed time: 0.188 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
01-11-2025 15:37:44.75009[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
01-11-2025 15:37:44.75010[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
01-11-2025 15:37:44.75010[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = GANTI TOPIK: raw say = ganti topik 
-----------------------
01-11-2025 15:37:44.75011[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
01-11-2025 15:37:44.75012[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GANTI TOPIK' to the front of the [user_say] array 
-----------------------
01-11-2025 15:37:44.75012[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
01-11-2025 15:37:44.75013[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = ganti topik, RAW say = ganti topik 
-----------------------
01-11-2025 15:37:44.75014[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'ganti topik' to the front of the [input] array 
-----------------------
01-11-2025 15:37:44.75015[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
01-11-2025 15:37:44.75015[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:44.75016[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:44.75017[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
01-11-2025 15:37:44.75035[4][4] - Elapsed time: 0.183 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
01-11-2025 15:37:44.75037[3][4] - Elapsed time: 0.015 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 (
        'GANTI TOPIK' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'DENGAN SENANG HATI DANNU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
01-11-2025 15:37:44.75058[2][4] - Elapsed time: 0.208 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
01-11-2025 15:37:44.75058[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
01-11-2025 15:37:44.75059[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
01-11-2025 15:37:44.75076[4][4] - Elapsed time: 0.175 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
01-11-2025 15:37:44.75078[3][4] - Elapsed time: 0.014 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 (
        'GANTI TOPIK' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'DENGAN SENANG HATI DANNU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
01-11-2025 15:37:44.75108[3][4] - Elapsed time: 0.306 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
01-11-2025 15:37:44.75109[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (7) potential AIML matches 
-----------------------
01-11-2025 15:37:44.75128[1][4] - Elapsed time: 0.186 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = DENGAN SENANG HATI DANNU 
-----------------------
01-11-2025 15:37:44.75129[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 7 rows to unset bad matches 
-----------------------
01-11-2025 15:37:44.75129[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 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:44.75148[4][4] - Elapsed time: 0.184 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
01-11-2025 15:37:44.75149[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
01-11-2025 15:37:44.75169[4][4] - Elapsed time: 0.202 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 362
            [bot_id] => 1
            [pattern] => GANTI TOPIK
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <condition name="topic" value="">
            <li>Kita bahkan belum mulai topik hehe. Mau bahas apa?</li>
        </condition>
        <condition>
            <think><set name="topic"/></think>
            Oke, kita ganti topik. Mau bicara soal apa sekarang?
        </condition>
            [score] => 262
            [current_that] => dengan senang hati dannu
            [aiml_id] => 362
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 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] => dengan senang hati dannu
            [aiml_id] => 366
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
01-11-2025 15:37:44.75171[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 362
            [bot_id] => 1
            [pattern] => GANTI TOPIK
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <condition name="topic" value="">
            <li>Kita bahkan belum mulai topik hehe. Mau bahas apa?</li>
        </condition>
        <condition>
            <think><set name="topic"/></think>
            Oke, kita ganti topik. Mau bicara soal apa sekarang?
        </condition>
            [score] => 262
            [current_that] => dengan senang hati dannu
            [aiml_id] => 362
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)
        )

)

 
-----------------------
01-11-2025 15:37:44.75194[4][4] - Elapsed time: 0.227 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 362
    [bot_id] => 1
    [pattern] => GANTI TOPIK
    [thatpattern] => 
    [topic] => 
    [filename] => bot.aiml
    [template] => <condition name="topic" value="">
            <li>Kita bahkan belum mulai topik hehe. Mau bahas apa?</li>
        </condition>
        <condition>
            <think><set name="topic"/></think>
            Oke, kita ganti topik. Mau bicara soal apa sekarang?
        </condition>
    [score] => 262
    [current_that] => dengan senang hati dannu
    [aiml_id] => 362
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)
)
 
-----------------------
01-11-2025 15:37:44.75194[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
01-11-2025 15:37:44.75196[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:362 (GANTI TOPIK) 
-----------------------
01-11-2025 15:37:44.75197[3][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
01-11-2025 15:37:44.75197[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:44.75198[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
01-11-2025 15:37:44.75199[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
01-11-2025 15:37:44.75200[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 362
    [category_id] => 362
    [html_template] => 
    [lookingfor] => GANTI TOPIK
    [pattern] => GANTI TOPIK
    [score] => 262
    [stars] => Array
        (
        )

    [template] => <condition name="topic" value="">
            <li>Kita bahkan belum mulai topik hehe. Mau bahas apa?</li>
        </condition>
        <condition>
            <think><set name="topic"/></think>
            Oke, kita ganti topik. Mau bicara soal apa sekarang?
        </condition>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => ganti topik
)
 
-----------------------
01-11-2025 15:37:44.75200[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
01-11-2025 15:37:44.75201[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
01-11-2025 15:37:44.75207[4][4] - Elapsed time: 0.057 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><condition name="topic" value=""><li><text>Kita bahkan belum mulai topik hehe. Mau bahas apa?</text></li></condition><condition><think><set name="topic"/></think><text>            Oke, kita ganti topik. Mau bicara soal apa sekarang?        </text></condition></template> 
-----------------------
01-11-2025 15:37:44.75220[2][4] - Elapsed time: 0.132 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:37:44.75225[4][4] - Elapsed time: 0.055 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><condition name="topic" value=""><li><text>Kita bahkan belum mulai topik hehe. Mau bahas apa?</text></li></condition><condition><think><set name="topic"/></think><text>            Oke, kita ganti topik. Mau bicara soal apa sekarang?        </text></condition></template>
 
-----------------------
01-11-2025 15:37:44.75226[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
01-11-2025 15:37:44.75228[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:37:44.75230[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element condition at level 1. element XML = <condition name="topic" value=""><li><text>Kita bahkan belum mulai topik hehe. Mau bahas apa?</text></li></condition> 
-----------------------
01-11-2025 15:37:44.75230[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_condition_tag does exist. Processing now. 
-----------------------
01-11-2025 15:37:44.75231[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element condition to the parse_condition_tag function 
-----------------------
01-11-2025 15:37:44.75232[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][809]
Parsing a CONDITION tag. 
-----------------------
01-11-2025 15:37:44.75233[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][818]
Element attributes:Array
(
    [name] => topic
    [value] => 
)
 
-----------------------
01-11-2025 15:37:44.75233[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][820]
Element attribute count = 2 
-----------------------
01-11-2025 15:37:44.75234[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][898]
Parsing a CONDITION tag with 2 attributes. 
-----------------------
01-11-2025 15:37:44.75235[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = '' 
-----------------------
01-11-2025 15:37:44.75236[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = '' 
-----------------------
01-11-2025 15:37:44.75236[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = '' 
-----------------------
01-11-2025 15:37:44.75237[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = '' 
-----------------------
01-11-2025 15:37:44.75237[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:37:44.75238[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Kita bahkan belum mulai topik hehe. Mau bahas apa?</text></li> 
-----------------------
01-11-2025 15:37:44.75239[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. 
-----------------------
01-11-2025 15:37:44.75240[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:37:44.75240[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Kita bahkan belum mulai topik hehe. Mau bahas apa?</text> 
-----------------------
01-11-2025 15:37:44.75241[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
01-11-2025 15:37:44.75242[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
01-11-2025 15:37:44.75242[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
01-11-2025 15:37:44.75243[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Kita bahkan belum mulai topik hehe. Mau bahas apa?' to the response array. tag name is text 
-----------------------
01-11-2025 15:37:44.75244[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.75244[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
)

 
-----------------------
01-11-2025 15:37:44.75245[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.75246[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita bahkan belum mulai topik hehe. Mau bahas apa?' 
-----------------------
01-11-2025 15:37:44.75246[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Kita bahkan belum mulai topik hehe. Mau bahas apa?' to the response array. tag name is li. 
-----------------------
01-11-2025 15:37:44.75247[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][1023]
Response = Array
(
    [0] => Array
        (
            [0] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
        )

)
 
-----------------------
01-11-2025 15:37:44.75248[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.75248[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
        )

)

 
-----------------------
01-11-2025 15:37:44.75249[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.75249[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.75250[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
)

 
-----------------------
01-11-2025 15:37:44.75250[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.75251[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita bahkan belum mulai topik hehe. Mau bahas apa?' 
-----------------------
01-11-2025 15:37:44.75251[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Kita bahkan belum mulai topik hehe. Mau bahas apa?' to the response array. tag name is condition 
-----------------------
01-11-2025 15:37:44.75252[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.75252[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
)

 
-----------------------
01-11-2025 15:37:44.75253[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.75253[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita bahkan belum mulai topik hehe. Mau bahas apa?' 
-----------------------
01-11-2025 15:37:44.75254[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Kita bahkan belum mulai topik hehe. Mau bahas apa?' to the response array. tag name is template. 
-----------------------
01-11-2025 15:37:44.75255[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:37:44.75256[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element condition at level 1. element XML = <condition><think><set name="topic"/></think><text>            Oke, kita ganti topik. Mau bicara soal apa sekarang?        </text></condition> 
-----------------------
01-11-2025 15:37:44.75256[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_condition_tag does exist. Processing now. 
-----------------------
01-11-2025 15:37:44.75257[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element condition to the parse_condition_tag function 
-----------------------
01-11-2025 15:37:44.75257[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][809]
Parsing a CONDITION tag. 
-----------------------
01-11-2025 15:37:44.75258[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][818]
Element attributes:Array
(
)
 
-----------------------
01-11-2025 15:37:44.75258[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][820]
Element attribute count = 0 
-----------------------
01-11-2025 15:37:44.75268[4][4] - Elapsed time: 0.091 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][826]
Parsing a CONDITION tag with no attributes. XML = <?xml version="1.0"?>
<condition>
  <think>
    <set name="topic"/>
  </think>
  <text>            Oke, kita ganti topik. Mau bicara soal apa sekarang?        </text>
</condition>
 
-----------------------
01-11-2025 15:37:44.75272[2][4] - Elapsed time: 0.048 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][835]
choices = Array
(
)
 
-----------------------
01-11-2025 15:37:44.75273[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][890]
Bare condition tag: pick =  
-----------------------
01-11-2025 15:37:44.75274[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.75274[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
01-11-2025 15:37:44.75275[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.75275[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
01-11-2025 15:37:44.75276[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is condition 
-----------------------
01-11-2025 15:37:44.75276[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.75277[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
01-11-2025 15:37:44.75277[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.75278[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
01-11-2025 15:37:44.75278[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
01-11-2025 15:37:44.75279[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:44.75280[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
    [1] => 
)

 
-----------------------
01-11-2025 15:37:44.75280[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:44.75281[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita bahkan belum mulai topik hehe. Mau bahas apa? ' 
-----------------------
01-11-2025 15:37:44.75282[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: Kita bahkan belum mulai topik hehe. Mau bahas apa? 
-----------------------
01-11-2025 15:37:44.75283[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
01-11-2025 15:37:44.75283[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
01-11-2025 15:37:44.75284[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Kita bahkan belum mulai topik hehe. Mau bahas apa?' to the front of the [that_raw] array 
-----------------------
01-11-2025 15:37:44.75284[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
01-11-2025 15:37:44.75286[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Kita bahkan belum mulai topik hehe. Mau bahas apa?' to the front of the [that] array 
-----------------------
01-11-2025 15:37:44.75287[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kita bahkan belum mulai topik hehe.' 
-----------------------
01-11-2025 15:37:44.75288[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita bahkan belum mulai topik hehe.' 
-----------------------
01-11-2025 15:37:44.75289[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE' 
-----------------------
01-11-2025 15:37:44.75289[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA BAHKAN BELUM MULAI TOPIK HEHE' 
-----------------------
01-11-2025 15:37:44.75290[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mau bahas apa?' 
-----------------------
01-11-2025 15:37:44.75290[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mau bahas apa?' 
-----------------------
01-11-2025 15:37:44.75291[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAU BAHAS APA' 
-----------------------
01-11-2025 15:37:44.75292[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAU BAHAS APA' 
-----------------------
01-11-2025 15:37:44.75292[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Kita bahkan belum mulai topik hehe. Mau bahas apa?' to the front of the [parsed_template] array 
-----------------------
01-11-2025 15:37:44.75293[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
01-11-2025 15:37:44.75294[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<condition name="topic" value="">
            <li>Kita bahkan belum mulai topik hehe. Mau bahas apa?</li>
        </condition>
        <condition>
            <think><set name="topic"/></think>
            Oke, kita ganti topik. Mau bicara soal apa sekarang?
        </condition>' to the front of the [template] array 
-----------------------
01-11-2025 15:37:44.75295[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
01-11-2025 15:37:44.75296[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
01-11-2025 15:37:44.75297[3][4] - Elapsed time: 0.011 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 ,
      'ganti topik',
      'Kita bahkan belum mulai topik hehe. Mau bahas apa?',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
01-11-2025 15:37:44.75487[4][4] - Elapsed time: 1.899 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
01-11-2025 15:37:44.75503[3][4] - Elapsed time: 0.159 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 
-----------------------
01-11-2025 15:37:44.75522[2][4] - Elapsed time: 0.195 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
01-11-2025 15:37:44.75523[4][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
01-11-2025 15:37:44.75524[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
01-11-2025 15:37:44.75527[4][4] - Elapsed time: 0.029 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"ganti topik","botsay":"Kita bahkan belum mulai topik hehe. Mau bahas apa?","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":"ganti topik","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":"362","bot_id":"1","pattern":"GANTI TOPIK","thatpattern":"","topic":"","filename":"bot.aiml","template":"<condition name=\"topic\" value=\"\">\n            <li>Kita bahkan belum mulai topik hehe. Mau bahas apa?<\/li>\n        <\/condition>\n        <condition>\n            <think><set name=\"topic\"\/><\/think>\n            Oke, kita ganti topik. Mau bicara soal apa sekarang?\n        <\/condition>","score":262,"current_that":"dengan senang hati dannu","aiml_id":"362","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)"}}} 
-----------------------
01-11-2025 15:37:44.75549[2][4] - Elapsed time: 0.226 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
01-11-2025 15:37:44.75552[0][4] - Elapsed time: 0.031 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 32.354 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => ganti topik
    [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] => ganti topik
            [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] => 362
                    [bot_id] => 1
                    [pattern] => GANTI TOPIK
                    [thatpattern] => 
                    [topic] => 
                    [filename] => bot.aiml
                    [template] => <condition name="topic" value="">
            <li>Kita bahkan belum mulai topik hehe. Mau bahas apa?</li>
        </condition>
        <condition>
            <think><set name="topic"/></think>
            Oke, kita ganti topik. Mau bicara soal apa sekarang?
        </condition>
                    [score] => 262
                    [current_that] => dengan senang hati dannu
                    [aiml_id] => 362
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => ganti topik
            [lookingfor] => GANTI TOPIK
            [category_id] => 362
            [pattern] => GANTI TOPIK
            [thatpattern] => 
            [template] => <condition name="topic" value="">
            <li>Kita bahkan belum mulai topik hehe. Mau bahas apa?</li>
        </condition>
        <condition>
            <think><set name="topic"/></think>
            Oke, kita ganti topik. Mau bicara soal apa sekarang?
        </condition>
            [html_template] => 
            [topic] => 
            [score] => 262
            [aiml_id] => 362
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
        )

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

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Dengan senang hati, dannu
                    [1] => 
                )

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

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

            [4] => Array
                (
                    [0] => Nama kamu dannu, kan? Aku ingat!
                )

            [5] => Array
                (
                    [0] => Oke, udahan dulu ya ngobrolin musiknya
                    [1] =>  Mau bahas apa kita sekarang?
                )

            [6] => Array
                (
                    [0] => Maaf, aku kurang paham
                    [1] =>  Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
                )

            [7] => Array
                (
                    [0] => Maaf, aku kurang paham
                    [1] =>  Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
                )

            [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] => Hmm, bisa diulangi dengan kalimat lain?
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => MAU BAHAS APA
                    [2] => KITA BAHKAN BELUM MULAI TOPIK HEHE
                )

            [2] => Array
                (
                    [1] => DENGAN SENANG HATI DANNU
                )

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

            [4] => Array
                (
                    [1] => HALO DANNU ADA YANG BISA AKU BANTU
                )

            [5] => Array
                (
                    [1] => NAMA KAMU DANNU KAN AKU INGAT
                )

            [6] => Array
                (
                    [1] => OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG
                )

            [7] => Array
                (
                    [1] => MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ
                )

            [8] => Array
                (
                    [1] => MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ
                )

            [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] => ganti topik
            [2] => TERIMA KASIH
            [3] => HAI
            [4] => HALO
            [5] => SIAPA NAMAKU
            [6] => GANTI TOPIK
            [7] => OK GANTI TOPIK
            [8] => SIAPA NAMAKU
            [9] => AKU SUKA MUSIK JAZZ
            [10] => AKU MAU NGOBROLIN MUSIK
        )

    [time_start] => 1761986264.7231
    [user_say] => Array
        (
            [1] => GANTI TOPIK
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Mau bahas apa?
                    [3] => Kita bahkan belum mulai topik hehe.
                )

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

    [parsed_template] => Array
        (
            [1] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <condition name="topic" value=""> <li>Kita bahkan belum mulai topik hehe. Mau bahas apa?</li> </condition> <condition> <think><set name="topic"/></think> Oke, kita ganti topik. Mau bicara soal apa sekarang? </condition>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"ganti topik","botsay":"Kita bahkan belum mulai topik hehe. Mau bahas apa?","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":"ganti topik","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":"362","bot_id":"1","pattern":"GANTI TOPIK","thatpattern":"","topic":"","filename":"bot.aiml","template":"<condition name=\"topic\" value=\"\">\n            <li>Kita bahkan belum mulai topik hehe. Mau bahas apa?<\/li>\n        <\/condition>\n        <condition>\n            <think><set name=\"topic\"\/><\/think>\n            Oke, kita ganti topik. Mau bicara soal apa sekarang?\n        <\/condition>","score":262,"current_that":"dengan senang hati dannu","aiml_id":"362","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: ganti (2 points), direct word match: topik (2 points)"}}}
)

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