06-12-2025 17:48:33.15973[0][4] - Elapsed time: 4.793 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 
-----------------------
06-12-2025 17:48:33.16000[4][4] - Elapsed time: 0.263 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
06-12-2025 17:48:33.16019[4][4] - Elapsed time: 0.190 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
06-12-2025 17:48:33.16028[4][4] - Elapsed time: 0.093 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
06-12-2025 17:48:33.16066[4][4] - Elapsed time: 0.377 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
06-12-2025 17:48:33.16067[4][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
06-12-2025 17:48:33.16082[1][4] - Elapsed time: 0.148 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 
-----------------------
06-12-2025 17:48:33.16111[0][4] - Elapsed time: 0.299 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 12b94bdcdba415f80af54beb4e8eae5d 
-----------------------
06-12-2025 17:48:33.16112[4][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Saya suka musik rock'. 
-----------------------
06-12-2025 17:48:33.16114[4][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
06-12-2025 17:48:33.16115[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
06-12-2025 17:48:33.16116[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; 
-----------------------
06-12-2025 17:48:33.16138[4][4] - Elapsed time: 0.216 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: esp32_user 
-----------------------
06-12-2025 17:48:33.16139[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
06-12-2025 17:48:33.16140[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
06-12-2025 17:48:33.16163[2][4] - Elapsed time: 0.236 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
06-12-2025 17:48:33.16164[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
06-12-2025 17:48:33.16187[3][4] - Elapsed time: 0.225 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` = 165 AND `bot_id` = 1; 
-----------------------
06-12-2025 17:48:33.16213[2][4] - Elapsed time: 0.267 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
06-12-2025 17:48:33.16220[2][4] - Elapsed time: 0.065 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Saya. 
-----------------------
06-12-2025 17:48:33.16221[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
06-12-2025 17:48:33.16258[2][4] - Elapsed time: 0.369 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
06-12-2025 17:48:33.16260[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on suka. 
-----------------------
06-12-2025 17:48:33.16261[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
06-12-2025 17:48:33.16262[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on musik. 
-----------------------
06-12-2025 17:48:33.16264[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
06-12-2025 17:48:33.16265[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on rock. 
-----------------------
06-12-2025 17:48:33.16266[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka musik rock' 
-----------------------
06-12-2025 17:48:33.16280[4][4] - Elapsed time: 0.140 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:48:33.16281[2][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: SAYA SUKA MUSIK ROCK
Convo id: 12b94bdcdba415f80af54beb4e8eae5d
Bot id: 1
Format:  
-----------------------
06-12-2025 17:48:33.16282[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
06-12-2025 17:48:33.16283[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
06-12-2025 17:48:33.16283[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` = 165 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
06-12-2025 17:48:33.16313[1][4] - Elapsed time: 0.293 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Saya suka musik
    [1] => Bicara musik
    [2] => Nama saya Danu
    [3] => Halo
    [4] => Saya suka musik rock
    [5] => Saya suka musik
    [6] => Kita musik
    [7] => Bicara musik
    [8] => Tolong jelaskan
    [9] => Apa itu sistem informasi?
)
 
-----------------------
06-12-2025 17:48:33.16314[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
06-12-2025 17:48:33.16314[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Musik adalah teman terbaik saat coding atau belajar! Ngomong-ngomong, Anda lebih suka Pop atau Rock?
    [1] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
    [2] => Danu Senang berkenalan dengan Anda, Danu. Saya akan mengingat nama Anda.
    [3] => Selamat datang! Saya di sini untuk membantu. Silakan tanyakan apa saja.
    [4] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
    [5] => Musik adalah teman terbaik saat coding atau belajar! Ngomong-ngomong, Anda lebih suka Pop atau Rock?
    [6] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?
    [7] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
    [8] => Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?
    [9] => Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?
)
 
-----------------------
06-12-2025 17:48:33.16316[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16317[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  saya belum mengerti maksud Anda
    [2] =>  Bisa dijelaskan lebih detail
    [3] => 
)

 
-----------------------
06-12-2025 17:48:33.16318[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16318[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 17:48:33.16319[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 17:48:33.16320[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 17:48:33.16321[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16321[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16322[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16325[4][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
06-12-2025 17:48:33.16332[4][4] - Elapsed time: 0.073 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16333[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16334[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16334[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16336[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16336[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  saya belum mengerti maksud Anda
    [2] =>  Bisa dijelaskan lebih detail
    [3] => 
)

 
-----------------------
06-12-2025 17:48:33.16337[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16337[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 17:48:33.16338[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 17:48:33.16338[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 17:48:33.16339[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16340[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16340[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16341[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16342[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16342[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16343[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:48:33.16344[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16344[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Mode diskusi diubah
    [1] =>  Mari kita bahas topik: musik
    [2] =>  Silakan ajukan pertanyaan Anda
    [3] => 
)

 
-----------------------
06-12-2025 17:48:33.16345[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16345[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Mode diskusi diubah Mari kita bahas topik: musik Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:48:33.16346[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mode diskusi diubah Mari kita bahas topik: musik Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:48:33.16346[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mode diskusi diubah Mari kita bahas topik: musik Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:48:33.16347[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16348[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16348[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16349[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16350[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16350[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16351[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16351[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16352[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  saya masih belajar
    [2] =>  Bisakah Anda bertanya dengan kalimat yang berbeda
    [3] => 
)

 
-----------------------
06-12-2025 17:48:33.16352[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16353[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf saya masih belajar Bisakah Anda bertanya dengan kalimat yang berbeda ' 
-----------------------
06-12-2025 17:48:33.16354[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf saya masih belajar Bisakah Anda bertanya dengan kalimat yang berbeda ' 
-----------------------
06-12-2025 17:48:33.16354[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf saya masih belajar Bisakah Anda bertanya dengan kalimat yang berbeda ' 
-----------------------
06-12-2025 17:48:33.16355[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:48:33.16355[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:48:33.16356[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16356[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:48:33.16357[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:48:33.16358[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:48:33.16358[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:48:33.16359[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16359[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Musik adalah teman terbaik saat coding atau belajar
    [1] =>  Ngomong-ngomong
    [2] =>  Anda lebih suka Pop atau Rock
    [3] => 
)

 
-----------------------
06-12-2025 17:48:33.16360[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16360[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Musik adalah teman terbaik saat coding atau belajar Ngomong-ngomong Anda lebih suka Pop atau Rock ' 
-----------------------
06-12-2025 17:48:33.16361[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Musik adalah teman terbaik saat coding atau belajar Ngomong-ngomong Anda lebih suka Pop atau Rock ' 
-----------------------
06-12-2025 17:48:33.16362[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Musik adalah teman terbaik saat coding atau belajar Ngomong-ngomong Anda lebih suka Pop atau Rock ' 
-----------------------
06-12-2025 17:48:33.16363[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16364[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16364[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16365[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16366[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16367[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16367[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16368[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16368[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah
    [1] =>  selera yang energik
    [2] =>  Musik Rock sangat cocok buat begadang mengerjakan tugas besar
    [3] => 
)

 
-----------------------
06-12-2025 17:48:33.16369[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16369[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah selera yang energik Musik Rock sangat cocok buat begadang mengerjakan tugas besar ' 
-----------------------
06-12-2025 17:48:33.16370[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah selera yang energik Musik Rock sangat cocok buat begadang mengerjakan tugas besar ' 
-----------------------
06-12-2025 17:48:33.16370[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah selera yang energik Musik Rock sangat cocok buat begadang mengerjakan tugas besar ' 
-----------------------
06-12-2025 17:48:33.16371[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:48:33.16372[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:48:33.16372[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16373[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:48:33.16373[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:48:33.16374[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:48:33.16375[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:48:33.16375[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16376[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Selamat datang
    [1] =>  Saya di sini untuk membantu
    [2] =>  Silakan tanyakan apa saja
    [3] => 
)

 
-----------------------
06-12-2025 17:48:33.16376[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16377[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
06-12-2025 17:48:33.16377[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
06-12-2025 17:48:33.16378[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
06-12-2025 17:48:33.16379[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 17:48:33.16379[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 17:48:33.16380[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16380[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 17:48:33.16381[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 17:48:33.16382[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 17:48:33.16382[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 17:48:33.16383[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16384[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Danu Senang berkenalan dengan Anda
    [1] =>  Danu
    [2] =>  Saya akan mengingat nama Anda
    [3] => 
)

 
-----------------------
06-12-2025 17:48:33.16384[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16385[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Danu Senang berkenalan dengan Anda Danu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 17:48:33.16385[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Danu Senang berkenalan dengan Anda Danu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 17:48:33.16386[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Danu Senang berkenalan dengan Anda Danu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 17:48:33.16387[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DANU SENANG BERKENALAN DENGAN ANDA DANU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:48:33.16387[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DANU SENANG BERKENALAN DENGAN ANDA DANU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:48:33.16388[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'DANU SENANG BERKENALAN DENGAN ANDA DANU SAYA AKAN MENGINGAT NAMA ANDA' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16390[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'DANU SENANG BERKENALAN DENGAN ANDA DANU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:48:33.16391[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'DANU SENANG BERKENALAN DENGAN ANDA DANU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:48:33.16392[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DANU SENANG BERKENALAN DENGAN ANDA DANU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:48:33.16392[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DANU SENANG BERKENALAN DENGAN ANDA DANU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:48:33.16393[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16393[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Mode diskusi diubah
    [1] =>  Mari kita bahas topik: musik
    [2] =>  Silakan ajukan pertanyaan Anda
    [3] => 
)

 
-----------------------
06-12-2025 17:48:33.16394[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16394[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Mode diskusi diubah Mari kita bahas topik: musik Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:48:33.16395[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mode diskusi diubah Mari kita bahas topik: musik Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:48:33.16395[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mode diskusi diubah Mari kita bahas topik: musik Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:48:33.16396[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16397[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16397[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16398[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16398[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16399[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16400[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:48:33.16400[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16401[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Musik adalah teman terbaik saat coding atau belajar
    [1] =>  Ngomong-ngomong
    [2] =>  Anda lebih suka Pop atau Rock
    [3] => 
)

 
-----------------------
06-12-2025 17:48:33.16401[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16402[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Musik adalah teman terbaik saat coding atau belajar Ngomong-ngomong Anda lebih suka Pop atau Rock ' 
-----------------------
06-12-2025 17:48:33.16402[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Musik adalah teman terbaik saat coding atau belajar Ngomong-ngomong Anda lebih suka Pop atau Rock ' 
-----------------------
06-12-2025 17:48:33.16403[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Musik adalah teman terbaik saat coding atau belajar Ngomong-ngomong Anda lebih suka Pop atau Rock ' 
-----------------------
06-12-2025 17:48:33.16404[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16405[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16405[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16406[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16406[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16407[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16407[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:48:33.16408[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
06-12-2025 17:48:33.16409[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16410[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa itu sistem informasi
    [1] => 
)

 
-----------------------
06-12-2025 17:48:33.16410[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16411[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa itu sistem informasi ' 
-----------------------
06-12-2025 17:48:33.16411[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa itu sistem informasi ' 
-----------------------
06-12-2025 17:48:33.16412[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa itu sistem informasi ' 
-----------------------
06-12-2025 17:48:33.16412[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:48:33.16413[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:48:33.16414[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA ITU SISTEM INFORMASI' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16414[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
06-12-2025 17:48:33.16415[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16416[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tolong jelaskan
)

 
-----------------------
06-12-2025 17:48:33.16416[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16417[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tolong jelaskan' 
-----------------------
06-12-2025 17:48:33.16417[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Tolong jelaskan' 
-----------------------
06-12-2025 17:48:33.16418[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tolong jelaskan' 
-----------------------
06-12-2025 17:48:33.16418[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TOLONG JELASKAN' 
-----------------------
06-12-2025 17:48:33.16419[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TOLONG JELASKAN' 
-----------------------
06-12-2025 17:48:33.16419[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'TOLONG JELASKAN' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16420[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16420[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bicara musik
)

 
-----------------------
06-12-2025 17:48:33.16421[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16423[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bicara musik' 
-----------------------
06-12-2025 17:48:33.16423[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bicara musik' 
-----------------------
06-12-2025 17:48:33.16424[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bicara musik' 
-----------------------
06-12-2025 17:48:33.16425[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA MUSIK' 
-----------------------
06-12-2025 17:48:33.16425[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA MUSIK' 
-----------------------
06-12-2025 17:48:33.16426[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BICARA MUSIK' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16426[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16427[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita musik
)

 
-----------------------
06-12-2025 17:48:33.16427[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16428[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita musik' 
-----------------------
06-12-2025 17:48:33.16428[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kita musik' 
-----------------------
06-12-2025 17:48:33.16429[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita musik' 
-----------------------
06-12-2025 17:48:33.16429[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA MUSIK' 
-----------------------
06-12-2025 17:48:33.16430[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA MUSIK' 
-----------------------
06-12-2025 17:48:33.16430[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KITA MUSIK' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16431[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16431[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya suka musik
)

 
-----------------------
06-12-2025 17:48:33.16432[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16432[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya suka musik' 
-----------------------
06-12-2025 17:48:33.16433[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya suka musik' 
-----------------------
06-12-2025 17:48:33.16434[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka musik' 
-----------------------
06-12-2025 17:48:33.16435[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 17:48:33.16435[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 17:48:33.16435[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA MUSIK' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16436[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16437[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya suka musik rock
)

 
-----------------------
06-12-2025 17:48:33.16437[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16438[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya suka musik rock' 
-----------------------
06-12-2025 17:48:33.16438[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya suka musik rock' 
-----------------------
06-12-2025 17:48:33.16439[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka musik rock' 
-----------------------
06-12-2025 17:48:33.16440[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:48:33.16440[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:48:33.16441[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA MUSIK ROCK' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16441[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16442[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 17:48:33.16442[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16443[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 17:48:33.16444[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 17:48:33.16444[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 17:48:33.16445[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 17:48:33.16445[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 17:48:33.16446[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16446[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16447[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Danu
)

 
-----------------------
06-12-2025 17:48:33.16447[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16448[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Danu' 
-----------------------
06-12-2025 17:48:33.16448[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Danu' 
-----------------------
06-12-2025 17:48:33.16449[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Danu' 
-----------------------
06-12-2025 17:48:33.16449[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DANU' 
-----------------------
06-12-2025 17:48:33.16450[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA DANU' 
-----------------------
06-12-2025 17:48:33.16450[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA DANU' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16451[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16452[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bicara musik
)

 
-----------------------
06-12-2025 17:48:33.16452[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16453[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bicara musik' 
-----------------------
06-12-2025 17:48:33.16453[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bicara musik' 
-----------------------
06-12-2025 17:48:33.16453[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bicara musik' 
-----------------------
06-12-2025 17:48:33.16454[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA MUSIK' 
-----------------------
06-12-2025 17:48:33.16455[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA MUSIK' 
-----------------------
06-12-2025 17:48:33.16455[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BICARA MUSIK' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16456[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16456[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya suka musik
)

 
-----------------------
06-12-2025 17:48:33.16457[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16457[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya suka musik' 
-----------------------
06-12-2025 17:48:33.16459[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya suka musik' 
-----------------------
06-12-2025 17:48:33.16460[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka musik' 
-----------------------
06-12-2025 17:48:33.16460[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 17:48:33.16462[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 17:48:33.16462[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA MUSIK' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16507[2][4] - Elapsed time: 0.447 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
06-12-2025 17:48:33.16508[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; 
-----------------------
06-12-2025 17:48:33.16526[4][4] - Elapsed time: 0.180 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
06-12-2025 17:48:33.16528[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
06-12-2025 17:48:33.16528[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
06-12-2025 17:48:33.16529[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = SAYA SUKA MUSIK ROCK: raw say = Saya suka musik rock 
-----------------------
06-12-2025 17:48:33.16529[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
06-12-2025 17:48:33.16530[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA MUSIK ROCK' to the front of the [user_say] array 
-----------------------
06-12-2025 17:48:33.16530[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
06-12-2025 17:48:33.16532[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Saya suka musik rock, RAW say = Saya suka musik rock 
-----------------------
06-12-2025 17:48:33.16532[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Saya suka musik rock' to the front of the [input] array 
-----------------------
06-12-2025 17:48:33.16533[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
06-12-2025 17:48:33.16533[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:48:33.16534[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:48:33.16536[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
06-12-2025 17:48:33.16560[4][4] - Elapsed time: 0.243 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
06-12-2025 17:48:33.16562[3][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'esp32_user'
    AND (
        'SAYA SUKA MUSIK ROCK' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 17:48:33.16582[2][4] - Elapsed time: 0.204 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
06-12-2025 17:48:33.16583[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
06-12-2025 17:48:33.16584[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
06-12-2025 17:48:33.16607[4][4] - Elapsed time: 0.239 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'MUSIK' 
-----------------------
06-12-2025 17:48:33.16609[3][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'SAYA SUKA MUSIK ROCK' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'MUSIK' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 17:48:33.16642[3][4] - Elapsed time: 0.332 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
06-12-2025 17:48:33.16643[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (6) potential AIML matches 
-----------------------
06-12-2025 17:48:33.16669[1][4] - Elapsed time: 0.255 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK 
-----------------------
06-12-2025 17:48:33.16670[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 6 rows to unset bad matches 
-----------------------
06-12-2025 17:48:33.16670[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 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:48:33.16699[4][4] - Elapsed time: 0.288 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 3 relevant rows 
-----------------------
06-12-2025 17:48:33.16701[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 17:48:33.16734[4][4] - Elapsed time: 0.330 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1293
            [bot_id] => 1
            [pattern] => SAYA SUKA MUSIK ROCK
            [thatpattern] => MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK
            [topic] => MUSIK
            [filename] => chatbot.aiml
            [template] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
            [score] => 290
            [current_that] => musik adalah teman terbaik saat coding atau belajar ngomong ngomong anda lebih suka pop atau rock
            [aiml_id] => 1293
            [track_score] => current bot (250 points), topic match with wildcards (10 points), direct thatpattern match (15 points), direct pattern match (7 points), direct word match: saya (2 points), direct word match: suka (2 points), direct word match: musik (2 points), direct word match: rock (2 points)
        )

    [1] => Array
        (
            [id] => 1367
            [bot_id] => 1
            [pattern] => SAYA SUKA *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <set name="kesukaan"><star/></set>      Bagus! Anda menyukai <get name="kesukaan"/>. Saya akan mengingatnya.
            [score] => 256
            [current_that] => musik adalah teman terbaik saat coding atau belajar ngomong ngomong anda lebih suka pop atau rock
            [aiml_id] => 1367
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: saya (2 points), direct word match: suka (2 points), star word match (1 points)
        )

    [2] => Array
        (
            [id] => 1385
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
            [score] => 252
            [current_that] => musik adalah teman terbaik saat coding atau belajar ngomong ngomong anda lebih suka pop atau rock
            [aiml_id] => 1385
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
06-12-2025 17:48:33.16736[2][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 1293
            [bot_id] => 1
            [pattern] => SAYA SUKA MUSIK ROCK
            [thatpattern] => MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK
            [topic] => MUSIK
            [filename] => chatbot.aiml
            [template] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
            [score] => 290
            [current_that] => musik adalah teman terbaik saat coding atau belajar ngomong ngomong anda lebih suka pop atau rock
            [aiml_id] => 1293
            [track_score] => current bot (250 points), topic match with wildcards (10 points), direct thatpattern match (15 points), direct pattern match (7 points), direct word match: saya (2 points), direct word match: suka (2 points), direct word match: musik (2 points), direct word match: rock (2 points)
        )

)

 
-----------------------
06-12-2025 17:48:33.16769[4][4] - Elapsed time: 0.332 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1293
    [bot_id] => 1
    [pattern] => SAYA SUKA MUSIK ROCK
    [thatpattern] => MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK
    [topic] => MUSIK
    [filename] => chatbot.aiml
    [template] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
    [score] => 290
    [current_that] => musik adalah teman terbaik saat coding atau belajar ngomong ngomong anda lebih suka pop atau rock
    [aiml_id] => 1293
    [track_score] => current bot (250 points), topic match with wildcards (10 points), direct thatpattern match (15 points), direct pattern match (7 points), direct word match: saya (2 points), direct word match: suka (2 points), direct word match: musik (2 points), direct word match: rock (2 points)
)
 
-----------------------
06-12-2025 17:48:33.16769[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
06-12-2025 17:48:33.16771[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1293 (SAYA SUKA MUSIK ROCK) 
-----------------------
06-12-2025 17:48:33.16772[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
06-12-2025 17:48:33.16772[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:48:33.16773[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 17:48:33.16774[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 17:48:33.16775[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1293
    [category_id] => 1293
    [html_template] => 
    [lookingfor] => SAYA SUKA MUSIK ROCK
    [pattern] => SAYA SUKA MUSIK ROCK
    [score] => 290
    [stars] => Array
        (
        )

    [template] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
    [thatpattern] => MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK
    [that_stars] => Array
        (
        )

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

    [user_raw] => Saya suka musik rock
)
 
-----------------------
06-12-2025 17:48:33.16775[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
06-12-2025 17:48:33.16776[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... 
-----------------------
06-12-2025 17:48:33.16781[4][4] - Elapsed time: 0.046 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.</text></template> 
-----------------------
06-12-2025 17:48:33.16793[2][4] - Elapsed time: 0.126 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:48:33.16797[4][4] - Elapsed time: 0.039 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.</text></template>
 
-----------------------
06-12-2025 17:48:33.16798[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. 
-----------------------
06-12-2025 17:48:33.16800[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:48:33.16802[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.</text> 
-----------------------
06-12-2025 17:48:33.16802[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
06-12-2025 17:48:33.16803[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
06-12-2025 17:48:33.16804[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 17:48:33.16804[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.' to the response array. tag name is text 
-----------------------
06-12-2025 17:48:33.16805[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16805[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
)

 
-----------------------
06-12-2025 17:48:33.16806[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16806[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.' 
-----------------------
06-12-2025 17:48:33.16807[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.' to the response array. tag name is template. 
-----------------------
06-12-2025 17:48:33.16808[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:48:33.16808[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
)

 
-----------------------
06-12-2025 17:48:33.16809[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:48:33.16809[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.' 
-----------------------
06-12-2025 17:48:33.16810[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar. 
-----------------------
06-12-2025 17:48:33.16811[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
06-12-2025 17:48:33.16812[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
06-12-2025 17:48:33.16812[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.' to the front of the [that_raw] array 
-----------------------
06-12-2025 17:48:33.16813[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
06-12-2025 17:48:33.16815[2][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.' to the front of the [that] array 
-----------------------
06-12-2025 17:48:33.16816[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah, selera yang energik!' 
-----------------------
06-12-2025 17:48:33.16816[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah, selera yang energik!' 
-----------------------
06-12-2025 17:48:33.16817[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH SELERA YANG ENERGIK' 
-----------------------
06-12-2025 17:48:33.16818[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH SELERA YANG ENERGIK' 
-----------------------
06-12-2025 17:48:33.16818[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Musik Rock sangat cocok buat begadang mengerjakan tugas besar.' 
-----------------------
06-12-2025 17:48:33.16819[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Musik Rock sangat cocok buat begadang mengerjakan tugas besar.' 
-----------------------
06-12-2025 17:48:33.16820[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:48:33.16820[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:48:33.16821[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.' to the front of the [parsed_template] array 
-----------------------
06-12-2025 17:48:33.16822[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
06-12-2025 17:48:33.16823[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.' to the front of the [template] array 
-----------------------
06-12-2025 17:48:33.16823[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
06-12-2025 17:48:33.16824[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
06-12-2025 17:48:33.16825[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 ,
      'Saya suka musik rock',
      'Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.',
      165,
      'esp32_user',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
06-12-2025 17:48:33.17380[4][4] - Elapsed time: 5.543 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
06-12-2025 17:48:33.17397[3][4] - Elapsed time: 0.169 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 
-----------------------
06-12-2025 17:48:33.17418[2][4] - Elapsed time: 0.212 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
06-12-2025 17:48:33.17419[4][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
06-12-2025 17:48:33.17419[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
06-12-2025 17:48:33.17422[4][4] - Elapsed time: 0.027 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"esp32_user","usersay":"Saya suka musik rock","botsay":"Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.","botData":{"convo_id":"esp32_user","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"165","totallines":1,"rawSay":"Saya suka musik rock","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":"1293","bot_id":"1","pattern":"SAYA SUKA MUSIK ROCK","thatpattern":"MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK","topic":"MUSIK","filename":"chatbot.aiml","template":"Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.","score":290,"current_that":"musik adalah teman terbaik saat coding atau belajar ngomong ngomong anda lebih suka pop atau rock","aiml_id":"1293","track_score":"current bot (250 points), topic match with wildcards (10 points), direct thatpattern match (15 points), direct pattern match (7 points), direct word match: saya (2 points), direct word match: suka (2 points), direct word match: musik (2 points), direct word match: rock (2 points)"}}} 
-----------------------
06-12-2025 17:48:33.17445[2][4] - Elapsed time: 0.228 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
06-12-2025 17:48:33.17448[0][4] - Elapsed time: 0.033 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 19.517 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Saya suka musik rock
    [conversation] => Array
        (
            [convo_id] => esp32_user
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 165
            [totallines] => 1
            [rawSay] => Saya suka musik rock
            [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] => 1293
                    [bot_id] => 1
                    [pattern] => SAYA SUKA MUSIK ROCK
                    [thatpattern] => MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK
                    [topic] => MUSIK
                    [filename] => chatbot.aiml
                    [template] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
                    [score] => 290
                    [current_that] => musik adalah teman terbaik saat coding atau belajar ngomong ngomong anda lebih suka pop atau rock
                    [aiml_id] => 1293
                    [track_score] => current bot (250 points), topic match with wildcards (10 points), direct thatpattern match (15 points), direct pattern match (7 points), direct word match: saya (2 points), direct word match: suka (2 points), direct word match: musik (2 points), direct word match: rock (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Saya suka musik rock
            [lookingfor] => SAYA SUKA MUSIK ROCK
            [category_id] => 1293
            [pattern] => SAYA SUKA MUSIK ROCK
            [thatpattern] => MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK
            [template] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
            [html_template] => 
            [topic] => MUSIK
            [score] => 290
            [aiml_id] => 1293
            [stars] => Array
                (
                )

            [that_stars] => Array
                (
                )

            [topic_stars] => Array
                (
                )

            [parsed_template] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
        )

    [client_properties] => Array
        (
            [ip_address] => 202.10.43.135
            [name] => Seeker
            [nama] => Danu
            [topic] => musik
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Musik adalah teman terbaik saat coding atau belajar! Ngomong-ngomong, Anda lebih suka Pop atau Rock?
                )

            [2] => Array
                (
                    [0] => Mode diskusi diubah
                    [1] =>  Mari kita bahas topik: musik
                    [2] =>  Silakan ajukan pertanyaan Anda
                    [3] => 
                )

            [3] => Array
                (
                    [0] => Danu Senang berkenalan dengan Anda, Danu
                    [1] =>  Saya akan mengingat nama Anda
                    [2] => 
                )

            [4] => Array
                (
                    [0] => Selamat datang! Saya di sini untuk membantu
                    [1] =>  Silakan tanyakan apa saja
                    [2] => 
                )

            [5] => Array
                (
                    [0] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar
                    [1] => 
                )

            [6] => Array
                (
                    [0] => Musik adalah teman terbaik saat coding atau belajar! Ngomong-ngomong, Anda lebih suka Pop atau Rock?
                )

            [7] => Array
                (
                    [0] => Maaf, saya masih belajar
                    [1] =>  Bisakah Anda bertanya dengan kalimat yang berbeda?
                )

            [8] => Array
                (
                    [0] => Mode diskusi diubah
                    [1] =>  Mari kita bahas topik: musik
                    [2] =>  Silakan ajukan pertanyaan Anda
                    [3] => 
                )

            [9] => Array
                (
                    [0] => Hmm, saya belum mengerti maksud Anda
                    [1] =>  Bisa dijelaskan lebih detail?
                )

            [10] => Array
                (
                    [0] => Hmm, saya belum mengerti maksud Anda
                    [1] =>  Bisa dijelaskan lebih detail?
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR
                    [2] => WAH SELERA YANG ENERGIK
                )

            [2] => Array
                (
                    [1] => MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK
                )

            [3] => Array
                (
                    [1] => MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA
                )

            [4] => Array
                (
                    [1] => DANU SENANG BERKENALAN DENGAN ANDA DANU SAYA AKAN MENGINGAT NAMA ANDA
                )

            [5] => Array
                (
                    [1] => SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA
                )

            [6] => Array
                (
                    [1] => WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR
                )

            [7] => Array
                (
                    [1] => MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK
                )

            [8] => Array
                (
                    [1] => MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA
                )

            [9] => Array
                (
                    [1] => MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA
                )

            [10] => Array
                (
                    [1] => HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => Saya suka musik rock
            [2] => SAYA SUKA MUSIK
            [3] => BICARA MUSIK
            [4] => NAMA SAYA DANU
            [5] => HALO
            [6] => SAYA SUKA MUSIK ROCK
            [7] => SAYA SUKA MUSIK
            [8] => KITA MUSIK
            [9] => BICARA MUSIK
            [10] => TOLONG JELASKAN
        )

    [time_start] => 1765018113.1549
    [user_say] => Array
        (
            [1] => SAYA SUKA MUSIK ROCK
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
                    [3] => Wah, selera yang energik!
                )

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

    [parsed_template] => Array
        (
            [1] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"esp32_user","usersay":"Saya suka musik rock","botsay":"Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.","botData":{"convo_id":"esp32_user","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"165","totallines":1,"rawSay":"Saya suka musik rock","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":"1293","bot_id":"1","pattern":"SAYA SUKA MUSIK ROCK","thatpattern":"MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK","topic":"MUSIK","filename":"chatbot.aiml","template":"Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.","score":290,"current_that":"musik adalah teman terbaik saat coding atau belajar ngomong ngomong anda lebih suka pop atau rock","aiml_id":"1293","track_score":"current bot (250 points), topic match with wildcards (10 points), direct thatpattern match (15 points), direct pattern match (7 points), direct word match: saya (2 points), direct word match: suka (2 points), direct word match: musik (2 points), direct word match: rock (2 points)"}}}
)

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