06-12-2025 18:25:10.83375[0][4] - Elapsed time: 4.950 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 18:25:10.83407[4][4] - Elapsed time: 0.323 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
06-12-2025 18:25:10.83432[4][4] - Elapsed time: 0.248 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
06-12-2025 18:25:10.83443[4][4] - Elapsed time: 0.113 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
06-12-2025 18:25:10.83489[4][4] - Elapsed time: 0.461 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
06-12-2025 18:25:10.83491[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
06-12-2025 18:25:10.83505[1][4] - Elapsed time: 0.146 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 18:25:10.83536[0][4] - Elapsed time: 0.305 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 1d2b5035562d9d74e4c82b4e1c871476 
-----------------------
06-12-2025 18:25:10.83537[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Halo'. 
-----------------------
06-12-2025 18:25:10.83539[4][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
06-12-2025 18:25:10.83540[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
06-12-2025 18:25:10.83541[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
06-12-2025 18:25:10.83584[4][4] - Elapsed time: 0.437 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: esp32_user 
-----------------------
06-12-2025 18:25:10.83586[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
06-12-2025 18:25:10.83586[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
06-12-2025 18:25:10.83627[2][4] - Elapsed time: 0.406 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
06-12-2025 18:25:10.83628[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 18:25:10.83667[3][4] - Elapsed time: 0.392 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 18:25:10.83709[2][4] - Elapsed time: 0.418 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
06-12-2025 18:25:10.83716[2][4] - Elapsed time: 0.067 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Halo. 
-----------------------
06-12-2025 18:25:10.83717[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
06-12-2025 18:25:10.83769[4][4] - Elapsed time: 0.518 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 18:25:10.83783[4][4] - Elapsed time: 0.144 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 18:25:10.83784[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HALO
Convo id: 1d2b5035562d9d74e4c82b4e1c871476
Bot id: 1
Format:  
-----------------------
06-12-2025 18:25:10.83785[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
06-12-2025 18:25:10.83786[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
06-12-2025 18:25:10.83787[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 165 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
06-12-2025 18:25:10.83833[1][4] - Elapsed time: 0.467 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Halo
    [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
)
 
-----------------------
06-12-2025 18:25:10.83834[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
06-12-2025 18:25:10.83835[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
    [1] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
    [2] => Musik adalah teman terbaik saat coding atau belajar! Ngomong-ngomong, Anda lebih suka Pop atau Rock?
    [3] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
    [4] => Danu Senang berkenalan dengan Anda, Danu. Saya akan mengingat nama Anda.
    [5] => Selamat datang! Saya di sini untuk membantu. Silakan tanyakan apa saja.
    [6] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
    [7] => Musik adalah teman terbaik saat coding atau belajar! Ngomong-ngomong, Anda lebih suka Pop atau Rock?
    [8] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?
    [9] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
)
 
-----------------------
06-12-2025 18:25:10.83837[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 18:25:10.83837[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 18:25:10.83838[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 18:25:10.83839[4][4] - Elapsed time: 0.014 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 18:25:10.83840[4][4] - Elapsed time: 0.007 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 18:25:10.83841[4][4] - Elapsed time: 0.007 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 18:25:10.83842[4][4] - Elapsed time: 0.012 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 18:25:10.83842[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 18:25:10.83843[2][4] - Elapsed time: 0.006 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 18:25:10.83846[4][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
06-12-2025 18:25:10.83853[4][4] - Elapsed time: 0.075 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 18:25:10.83854[4][4] - Elapsed time: 0.010 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 18:25:10.83855[4][4] - Elapsed time: 0.010 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 18:25:10.83856[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 18:25:10.83857[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 18:25:10.83858[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 18:25:10.83858[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 18:25:10.83859[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 18:25:10.83859[4][4] - Elapsed time: 0.006 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 18:25:10.83860[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 18:25:10.83861[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 18:25:10.83861[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 18:25:10.83862[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 18:25:10.83863[4][4] - Elapsed time: 0.009 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 18:25:10.83863[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 18:25:10.83864[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 18:25:10.83864[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 18:25:10.83865[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 18:25:10.83866[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 18:25:10.83866[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 18:25:10.83867[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 18:25:10.83868[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 18:25:10.83868[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 18:25:10.83869[4][4] - Elapsed time: 0.010 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 18:25:10.83870[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 18:25:10.83870[2][4] - Elapsed time: 0.006 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 18:25:10.83871[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 18:25:10.83871[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 18:25:10.83872[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 18:25:10.83873[4][4] - Elapsed time: 0.004 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 18:25:10.83873[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 18:25:10.83874[2][4] - Elapsed time: 0.006 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 18:25:10.83875[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 18:25:10.83875[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 18:25:10.83876[4][4] - Elapsed time: 0.006 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 18:25:10.83876[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 18:25:10.83877[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 18:25:10.83877[4][4] - Elapsed time: 0.005 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 18:25:10.83878[2][4] - Elapsed time: 0.004 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 18:25:10.83879[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 18:25:10.83879[4][4] - Elapsed time: 0.006 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 18:25:10.83880[4][4] - Elapsed time: 0.007 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 18:25:10.83880[4][4] - Elapsed time: 0.005 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 18:25:10.83881[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 18:25:10.83882[2][4] - Elapsed time: 0.005 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 18:25:10.83882[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 18:25:10.83883[4][4] - Elapsed time: 0.005 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 18:25:10.83883[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 18:25:10.83884[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 18:25:10.83884[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 18:25:10.83885[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 18:25:10.83885[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 18:25:10.83886[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 18:25:10.83887[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 18:25:10.83888[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 18:25:10.83889[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 18:25:10.83889[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 18:25:10.83890[2][4] - Elapsed time: 0.010 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 18:25:10.83891[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 18:25:10.83891[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 18:25:10.83892[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 18:25:10.83892[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 18:25:10.83894[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DANU SENANG BERKENALAN DENGAN ANDA DANU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 18:25:10.83894[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 18:25:10.83895[2][4] - Elapsed time: 0.008 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 18:25:10.83896[4][4] - Elapsed time: 0.009 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 18:25:10.83896[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 18:25:10.83897[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 18:25:10.83898[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 18:25:10.83898[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 18:25:10.83899[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 18:25:10.83899[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 18:25:10.83900[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 18:25:10.83900[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 18:25:10.83901[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 18:25:10.83902[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 18:25:10.83902[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 18:25:10.83903[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 18:25:10.83904[4][4] - Elapsed time: 0.013 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 18:25:10.83905[4][4] - Elapsed time: 0.006 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 18:25:10.83905[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 18:25:10.83906[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 18:25:10.83907[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 18:25:10.83907[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 18:25:10.83908[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 18:25:10.83908[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 18:25:10.83909[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 18:25:10.83909[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 18:25:10.83910[4][4] - Elapsed time: 0.012 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 18:25:10.83911[4][4] - Elapsed time: 0.011 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 18:25:10.83912[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 18:25:10.83913[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 18:25:10.83913[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 18:25:10.83914[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 18:25:10.83915[4][4] - Elapsed time: 0.004 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 18:25:10.83917[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 18:25:10.83917[2][4] - Elapsed time: 0.006 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 18:25:10.83918[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 18:25:10.83918[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 18:25:10.83919[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 18:25:10.83919[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 18:25:10.83920[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 18:25:10.83921[4][4] - Elapsed time: 0.005 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 18:25:10.83921[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 18:25:10.83922[4][4] - Elapsed time: 0.007 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 18:25:10.83922[4][4] - Elapsed time: 0.006 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 18:25:10.83923[4][4] - Elapsed time: 0.007 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 18:25:10.83924[4][4] - Elapsed time: 0.005 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 18:25:10.83924[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 18:25:10.83925[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Selamat datang
    [2] =>  Ada yang bisa saya bantu hari ini
    [3] => 
)

 
-----------------------
06-12-2025 18:25:10.83925[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 18:25:10.83926[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 18:25:10.83926[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 18:25:10.83927[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 18:25:10.83928[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 18:25:10.83928[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 18:25:10.83928[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' to the front of the [that] array 
-----------------------
06-12-2025 18:25:10.83929[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 18:25:10.83930[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 18:25:10.83930[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 18:25:10.83931[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 18:25:10.83932[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
06-12-2025 18:25:10.83933[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 18:25:10.83933[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bicara musik
)

 
-----------------------
06-12-2025 18:25:10.83934[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 18:25:10.83934[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bicara musik' 
-----------------------
06-12-2025 18:25:10.83935[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bicara musik' 
-----------------------
06-12-2025 18:25:10.83935[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bicara musik' 
-----------------------
06-12-2025 18:25:10.83936[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA MUSIK' 
-----------------------
06-12-2025 18:25:10.83936[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA MUSIK' 
-----------------------
06-12-2025 18:25:10.83937[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 18:25:10.83937[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
06-12-2025 18:25:10.83938[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 18:25:10.83939[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita musik
)

 
-----------------------
06-12-2025 18:25:10.83939[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 18:25:10.83940[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita musik' 
-----------------------
06-12-2025 18:25:10.83940[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kita musik' 
-----------------------
06-12-2025 18:25:10.83941[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita musik' 
-----------------------
06-12-2025 18:25:10.83941[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA MUSIK' 
-----------------------
06-12-2025 18:25:10.83942[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA MUSIK' 
-----------------------
06-12-2025 18:25:10.83942[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 18:25:10.83943[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 18:25:10.83944[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya suka musik
)

 
-----------------------
06-12-2025 18:25:10.83944[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 18:25:10.83944[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya suka musik' 
-----------------------
06-12-2025 18:25:10.83945[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya suka musik' 
-----------------------
06-12-2025 18:25:10.83946[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka musik' 
-----------------------
06-12-2025 18:25:10.83946[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 18:25:10.83947[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 18:25:10.83947[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 18:25:10.83949[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 18:25:10.83950[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya suka musik rock
)

 
-----------------------
06-12-2025 18:25:10.83950[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 18:25:10.83951[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya suka musik rock' 
-----------------------
06-12-2025 18:25:10.83952[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya suka musik rock' 
-----------------------
06-12-2025 18:25:10.83952[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka musik rock' 
-----------------------
06-12-2025 18:25:10.83953[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 18:25:10.83954[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 18:25:10.83954[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 18:25:10.83955[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 18:25:10.83955[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 18:25:10.83956[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 18:25:10.83956[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 18:25:10.83957[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 18:25:10.83957[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 18:25:10.83958[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 18:25:10.83958[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 18:25:10.83959[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 18:25:10.83960[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 18:25:10.83960[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Danu
)

 
-----------------------
06-12-2025 18:25:10.83960[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 18:25:10.83961[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Danu' 
-----------------------
06-12-2025 18:25:10.83961[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Danu' 
-----------------------
06-12-2025 18:25:10.83962[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Danu' 
-----------------------
06-12-2025 18:25:10.83963[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DANU' 
-----------------------
06-12-2025 18:25:10.83963[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA DANU' 
-----------------------
06-12-2025 18:25:10.83964[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 18:25:10.83965[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 18:25:10.83965[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bicara musik
)

 
-----------------------
06-12-2025 18:25:10.83966[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 18:25:10.83966[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bicara musik' 
-----------------------
06-12-2025 18:25:10.83967[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bicara musik' 
-----------------------
06-12-2025 18:25:10.83967[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bicara musik' 
-----------------------
06-12-2025 18:25:10.83968[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA MUSIK' 
-----------------------
06-12-2025 18:25:10.83969[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA MUSIK' 
-----------------------
06-12-2025 18:25:10.83969[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BICARA MUSIK' to the front of the [input] array 
-----------------------
06-12-2025 18:25:10.83970[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 18:25:10.83971[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya suka musik
)

 
-----------------------
06-12-2025 18:25:10.83971[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 18:25:10.83972[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya suka musik' 
-----------------------
06-12-2025 18:25:10.83972[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya suka musik' 
-----------------------
06-12-2025 18:25:10.83973[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka musik' 
-----------------------
06-12-2025 18:25:10.83973[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 18:25:10.83974[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 18:25:10.83975[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 18:25:10.83975[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 18:25:10.83976[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya suka musik rock
)

 
-----------------------
06-12-2025 18:25:10.83976[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 18:25:10.83977[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 18:25:10.83977[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 18:25:10.83978[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya suka musik rock' 
-----------------------
06-12-2025 18:25:10.83978[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 18:25:10.83979[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 18:25:10.83979[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA MUSIK ROCK' to the front of the [input] array 
-----------------------
06-12-2025 18:25:10.83980[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 18:25:10.83980[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 18:25:10.83981[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 18:25:10.83981[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 18:25:10.83982[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 18:25:10.83982[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 18:25:10.83983[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 18:25:10.83983[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 18:25:10.83984[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 18:25:10.84031[2][4] - Elapsed time: 0.472 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
06-12-2025 18:25:10.84032[3][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
06-12-2025 18:25:10.84055[4][4] - Elapsed time: 0.227 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
06-12-2025 18:25:10.84056[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
06-12-2025 18:25:10.84057[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
06-12-2025 18:25:10.84058[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HALO: raw say = Halo 
-----------------------
06-12-2025 18:25:10.84058[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
06-12-2025 18:25:10.84059[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [user_say] array 
-----------------------
06-12-2025 18:25:10.84060[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
06-12-2025 18:25:10.84061[0][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Halo, RAW say = Halo 
-----------------------
06-12-2025 18:25:10.84061[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 18:25:10.84062[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
06-12-2025 18:25:10.84063[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO' 
-----------------------
06-12-2025 18:25:10.84064[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 18:25:10.84064[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
06-12-2025 18:25:10.84092[4][4] - Elapsed time: 0.281 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
06-12-2025 18:25:10.84094[3][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'esp32_user'
    AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 18:25:10.84134[2][4] - Elapsed time: 0.401 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
06-12-2025 18:25:10.84135[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
06-12-2025 18:25:10.84136[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
06-12-2025 18:25:10.84161[4][4] - Elapsed time: 0.249 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'MUSIK' 
-----------------------
06-12-2025 18:25:10.84162[3][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 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 18:25:10.84214[3][4] - Elapsed time: 0.518 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
06-12-2025 18:25:10.84215[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (6) potential AIML matches 
-----------------------
06-12-2025 18:25:10.84242[1][4] - Elapsed time: 0.267 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI 
-----------------------
06-12-2025 18:25:10.84243[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 18:25:10.84243[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HALO' 
-----------------------
06-12-2025 18:25:10.84270[4][4] - Elapsed time: 0.267 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
06-12-2025 18:25:10.84272[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 18:25:10.84300[4][4] - Elapsed time: 0.290 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1339
            [bot_id] => 1
            [pattern] => HALO
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
            [score] => 260
            [current_that] => halo selamat datang ada yang bisa saya bantu hari ini
            [aiml_id] => 1339
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
        )

    [1] => 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] => halo selamat datang ada yang bisa saya bantu hari ini
            [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 18:25:10.84302[2][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 1339
            [bot_id] => 1
            [pattern] => HALO
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
            [score] => 260
            [current_that] => halo selamat datang ada yang bisa saya bantu hari ini
            [aiml_id] => 1339
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
        )

)

 
-----------------------
06-12-2025 18:25:10.84335[4][4] - Elapsed time: 0.327 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1339
    [bot_id] => 1
    [pattern] => HALO
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
    [score] => 260
    [current_that] => halo selamat datang ada yang bisa saya bantu hari ini
    [aiml_id] => 1339
    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
)
 
-----------------------
06-12-2025 18:25:10.84336[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
06-12-2025 18:25:10.84337[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1339 (HALO) 
-----------------------
06-12-2025 18:25:10.84338[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 18:25:10.84339[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'HALO' 
-----------------------
06-12-2025 18:25:10.84339[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 18:25:10.84340[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 18:25:10.84341[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1339
    [category_id] => 1339
    [html_template] => 
    [lookingfor] => HALO
    [pattern] => HALO
    [score] => 260
    [stars] => Array
        (
        )

    [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => Halo
)
 
-----------------------
06-12-2025 18:25:10.84342[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 18:25:10.84343[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
06-12-2025 18:25:10.84348[4][4] - Elapsed time: 0.051 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text></li><li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li><li><text>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</text></li><li><text>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</text></li></random></template> 
-----------------------
06-12-2025 18:25:10.84361[2][4] - Elapsed time: 0.131 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 18:25:10.84366[4][4] - Elapsed time: 0.048 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text></li><li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li><li><text>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</text></li><li><text>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</text></li></random></template>
 
-----------------------
06-12-2025 18:25:10.84367[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
06-12-2025 18:25:10.84368[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 18:25:10.84370[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text></li><li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li><li><text>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</text></li><li><text>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</text></li></random> 
-----------------------
06-12-2025 18:25:10.84371[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
06-12-2025 18:25:10.84372[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
06-12-2025 18:25:10.84372[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
06-12-2025 18:25:10.84378[4][4] - Elapsed time: 0.052 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?
        )

    [1] => SimpleXMLElement Object
        (
            [text] => Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?
        )

    [3] => SimpleXMLElement Object
        (
            [text] => Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.
        )

)
 
-----------------------
06-12-2025 18:25:10.84378[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #1 from random tag.
 
-----------------------
06-12-2025 18:25:10.84379[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 18:25:10.84380[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li> 
-----------------------
06-12-2025 18:25:10.84380[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
06-12-2025 18:25:10.84381[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 18:25:10.84382[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text> 
-----------------------
06-12-2025 18:25:10.84382[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 18:25:10.84383[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
06-12-2025 18:25:10.84383[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 18:25:10.84384[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?' to the response array. tag name is text 
-----------------------
06-12-2025 18:25:10.84385[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 18:25:10.84385[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?
)

 
-----------------------
06-12-2025 18:25:10.84386[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 18:25:10.84386[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo! Senang bertemu dengan Anda.    Bagaimana kabar Anda?' 
-----------------------
06-12-2025 18:25:10.84387[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo! Senang bertemu dengan Anda.    Bagaimana kabar Anda?' to the response array. tag name is li. 
-----------------------
06-12-2025 18:25:10.84390[2][4] - Elapsed time: 0.031 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 18:25:10.84391[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Senang bertemu dengan Anda.    Bagaimana kabar Anda?
)

 
-----------------------
06-12-2025 18:25:10.84391[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 18:25:10.84392[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo! Senang bertemu dengan Anda.  Bagaimana kabar Anda?' 
-----------------------
06-12-2025 18:25:10.84392[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Halo! Senang bertemu dengan Anda.  Bagaimana kabar Anda?' for output. 
-----------------------
06-12-2025 18:25:10.84393[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo! Senang bertemu dengan Anda.  Bagaimana kabar Anda?' to the response array. tag name is random 
-----------------------
06-12-2025 18:25:10.84393[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 18:25:10.84394[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Senang bertemu dengan Anda.  Bagaimana kabar Anda?
)

 
-----------------------
06-12-2025 18:25:10.84394[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 18:25:10.84395[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' 
-----------------------
06-12-2025 18:25:10.84395[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' to the response array. tag name is template. 
-----------------------
06-12-2025 18:25:10.84396[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 18:25:10.84397[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
)

 
-----------------------
06-12-2025 18:25:10.84397[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 18:25:10.84398[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' 
-----------------------
06-12-2025 18:25:10.84399[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda? 
-----------------------
06-12-2025 18:25:10.84400[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
06-12-2025 18:25:10.84400[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 18:25:10.84401[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' to the front of the [that_raw] array 
-----------------------
06-12-2025 18:25:10.84401[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
06-12-2025 18:25:10.84403[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' to the front of the [that] array 
-----------------------
06-12-2025 18:25:10.84404[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo!' 
-----------------------
06-12-2025 18:25:10.84405[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo!' 
-----------------------
06-12-2025 18:25:10.84406[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 18:25:10.84406[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 18:25:10.84407[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Senang bertemu dengan Anda.' 
-----------------------
06-12-2025 18:25:10.84407[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Senang bertemu dengan Anda.' 
-----------------------
06-12-2025 18:25:10.84408[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG BERTEMU DENGAN ANDA' 
-----------------------
06-12-2025 18:25:10.84409[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG BERTEMU DENGAN ANDA' 
-----------------------
06-12-2025 18:25:10.84409[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bagaimana kabar Anda?' 
-----------------------
06-12-2025 18:25:10.84410[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bagaimana kabar Anda?' 
-----------------------
06-12-2025 18:25:10.84410[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 18:25:10.84411[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 18:25:10.84412[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' to the front of the [parsed_template] array 
-----------------------
06-12-2025 18:25:10.84413[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
06-12-2025 18:25:10.84413[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>' to the front of the [template] array 
-----------------------
06-12-2025 18:25:10.84414[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
06-12-2025 18:25:10.84415[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
06-12-2025 18:25:10.84417[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'Halo',
      'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?',
      165,
      'esp32_user',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
06-12-2025 18:25:10.84978[4][4] - Elapsed time: 5.619 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
06-12-2025 18:25:10.84998[3][4] - Elapsed time: 0.196 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 18:25:10.85020[2][4] - Elapsed time: 0.222 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
06-12-2025 18:25:10.85021[4][4] - Elapsed time: 0.011 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
06-12-2025 18:25:10.85022[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
06-12-2025 18:25:10.85025[4][4] - Elapsed time: 0.030 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"esp32_user","usersay":"Halo","botsay":"Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?","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":"Halo","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":"1339","bot_id":"1","pattern":"HALO","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<random>\n        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?<\/li>\n        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?<\/li>\n        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?<\/li>\n        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.<\/li>\n      <\/random>","score":260,"current_that":"halo selamat datang ada yang bisa saya bantu hari ini","aiml_id":"1339","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)"}}} 
-----------------------
06-12-2025 18:25:10.85065[2][4] - Elapsed time: 0.396 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
06-12-2025 18:25:10.85068[0][4] - Elapsed time: 0.035 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 21.854 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Halo
    [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] => Halo
            [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] => 1339
                    [bot_id] => 1
                    [pattern] => HALO
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
                    [score] => 260
                    [current_that] => halo selamat datang ada yang bisa saya bantu hari ini
                    [aiml_id] => 1339
                    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Halo
            [lookingfor] => HALO
            [category_id] => 1339
            [pattern] => HALO
            [thatpattern] => 
            [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
            [html_template] => 
            [topic] => 
            [score] => 260
            [aiml_id] => 1339
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
        )

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

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Halo! Selamat datang
                    [1] =>  Ada yang bisa saya bantu hari ini?
                )

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

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

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

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

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

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

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

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

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

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => BAGAIMANA KABAR ANDA
                    [2] => SENANG BERTEMU DENGAN ANDA
                    [3] => HALO
                )

            [2] => Array
                (
                    [1] => HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI
                )

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

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

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

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

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

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

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

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

            [12] => 
        )

    [input] => Array
        (
            [1] => Halo
            [2] => HALO
            [3] => SAYA SUKA MUSIK ROCK
            [4] => SAYA SUKA MUSIK
            [5] => BICARA MUSIK
            [6] => NAMA SAYA DANU
            [7] => HALO
            [8] => SAYA SUKA MUSIK ROCK
            [9] => SAYA SUKA MUSIK
            [10] => KITA MUSIK
        )

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Bagaimana kabar Anda?
                    [3] => Senang bertemu dengan Anda.
                    [4] => Halo!
                )

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

    [parsed_template] => Array
        (
            [1] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Halo! Selamat datang. Ada yang bisa saya bantu hari ini?</li> <li>Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?</li> <li>Halo! Saya pedro salto, siap membantu Anda. Ada pertanyaan?</li> <li>Selamat datang! Saya di sini untuk membantu. Silakan tanyakan apa saja.</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"esp32_user","usersay":"Halo","botsay":"Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?","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":"Halo","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":"1339","bot_id":"1","pattern":"HALO","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<random>\n        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?<\/li>\n        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?<\/li>\n        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?<\/li>\n        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.<\/li>\n      <\/random>","score":260,"current_that":"halo selamat datang ada yang bisa saya bantu hari ini","aiml_id":"1339","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)"}}}
)

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