06-12-2025 17:42:33.69139[0][4] - Elapsed time: 0.712 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              LiteSpeed
  PHP Version:                  7.4.33
  OS:                           Linux
  OS Version:                   #1 SMP PREEMPT_DYNAMIC Wed Oct 15 06:39:08 EDT 2025
  MySQL Version:                11.4.8-MariaDB-cll-lve
  Multi-byte functions enabled: true 
-----------------------
06-12-2025 17:42:33.69162[4][4] - Elapsed time: 0.230 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
06-12-2025 17:42:33.69177[4][4] - Elapsed time: 0.158 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
06-12-2025 17:42:33.69185[4][4] - Elapsed time: 0.079 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
06-12-2025 17:42:33.69215[4][4] - Elapsed time: 0.301 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
06-12-2025 17:42:33.69216[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
06-12-2025 17:42:33.69228[1][4] - Elapsed time: 0.115 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
06-12-2025 17:42:33.69256[0][4] - Elapsed time: 0.285 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 71ed10796e48c89650a787638cc42c91 
-----------------------
06-12-2025 17:42:33.69258[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'selesai'. 
-----------------------
06-12-2025 17:42:33.69259[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
06-12-2025 17:42:33.69260[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
06-12-2025 17:42:33.69261[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 17:42:33.69281[4][4] - Elapsed time: 0.202 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: 104925b33277f9b1616c7986fd761fa7 
-----------------------
06-12-2025 17:42:33.69282[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
06-12-2025 17:42:33.69283[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
06-12-2025 17:42:33.69305[2][4] - Elapsed time: 0.222 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
06-12-2025 17:42:33.69306[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
06-12-2025 17:42:33.69330[3][4] - Elapsed time: 0.237 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` = 167 AND `bot_id` = 1; 
-----------------------
06-12-2025 17:42:33.69357[2][4] - Elapsed time: 0.267 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
06-12-2025 17:42:33.69358[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on selesai. 
-----------------------
06-12-2025 17:42:33.69359[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
06-12-2025 17:42:33.69389[4][4] - Elapsed time: 0.297 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'selesai' 
-----------------------
06-12-2025 17:42:33.69391[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELESAI' 
-----------------------
06-12-2025 17:42:33.69391[2][4] - Elapsed time: 0.008 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: SELESAI
Convo id: 71ed10796e48c89650a787638cc42c91
Bot id: 1
Format: json 
-----------------------
06-12-2025 17:42:33.69392[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
06-12-2025 17:42:33.69393[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
06-12-2025 17:42:33.69394[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 167 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
06-12-2025 17:42:33.69417[1][4] - Elapsed time: 0.236 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => saya suka musik rock
    [1] => saya suka musik
    [2] => bicara musik
    [3] => saya mahasiswa angkatan
    [4] => apa itu siega
    [5] => bicara siega
    [6] => nama saya dannu
    [7] => halo
    [8] => apa itu sistem informasi
    [9] => apa itu siega
)
 
-----------------------
06-12-2025 17:42:33.69418[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
06-12-2025 17:42:33.69419[1][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
    [1] => Musik adalah teman terbaik saat coding atau belajar! Ngomong-ngomong, Anda lebih suka Pop atau Rock?
    [2] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
    [3] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?
    [4] => Maaf, saya kurang memahami pertanyaan Anda. Bisakah Anda mengatakannya dengan cara lain?
    [5] => Mode diskusi diubah. Mari kita bahas topik: siega. Silakan ajukan pertanyaan Anda.
    [6] => dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.
    [7] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
    [8] => Saya belum dapat memproses itu. Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.
    [9] => Maaf, saya kurang memahami pertanyaan Anda. Bisakah Anda mengatakannya dengan cara lain?
)
 
-----------------------
06-12-2025 17:42:33.69421[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 17:42:33.69422[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  saya kurang memahami pertanyaan Anda
    [2] =>  Bisakah Anda mengatakannya dengan cara lain
    [3] => 
)

 
-----------------------
06-12-2025 17:42:33.69422[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69423[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf saya kurang memahami pertanyaan Anda Bisakah Anda mengatakannya dengan cara lain ' 
-----------------------
06-12-2025 17:42:33.69424[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf saya kurang memahami pertanyaan Anda Bisakah Anda mengatakannya dengan cara lain ' 
-----------------------
06-12-2025 17:42:33.69424[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf saya kurang memahami pertanyaan Anda Bisakah Anda mengatakannya dengan cara lain ' 
-----------------------
06-12-2025 17:42:33.69426[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69426[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69427[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' to the front of the [that] array 
-----------------------
06-12-2025 17:42:33.69428[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
06-12-2025 17:42:33.69430[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69430[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69431[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69432[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69433[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69433[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya belum dapat memproses itu
    [1] =>  Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana
    [2] => 
)

 
-----------------------
06-12-2025 17:42:33.69434[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69434[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya belum dapat memproses itu Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana ' 
-----------------------
06-12-2025 17:42:33.69435[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya belum dapat memproses itu Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana ' 
-----------------------
06-12-2025 17:42:33.69436[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya belum dapat memproses itu Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana ' 
-----------------------
06-12-2025 17:42:33.69437[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:42:33.69437[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:42:33.69438[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' to the front of the [that] array 
-----------------------
06-12-2025 17:42:33.69439[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:42:33.69439[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:42:33.69440[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:42:33.69441[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:42:33.69441[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69442[2][4] - Elapsed time: 0.006 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 17:42:33.69442[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69443[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 17:42:33.69443[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 17:42:33.69444[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 17:42:33.69445[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 17:42:33.69445[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 17:42:33.69446[2][4] - Elapsed time: 0.006 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 17:42:33.69447[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 17:42:33.69447[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 17:42:33.69448[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 17:42:33.69448[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 17:42:33.69449[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69450[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu Senang berkenalan dengan Anda
    [1] =>  dannu
    [2] =>  Saya akan mengingat nama Anda
    [3] => 
)

 
-----------------------
06-12-2025 17:42:33.69450[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69451[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu Senang berkenalan dengan Anda dannu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 17:42:33.69451[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'dannu Senang berkenalan dengan Anda dannu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 17:42:33.69452[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'dannu Senang berkenalan dengan Anda dannu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 17:42:33.69453[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:42:33.69453[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:42:33.69454[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU SAYA AKAN MENGINGAT NAMA ANDA' to the front of the [that] array 
-----------------------
06-12-2025 17:42:33.69455[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:42:33.69455[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:42:33.69456[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:42:33.69456[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:42:33.69457[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69458[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Mode diskusi diubah
    [1] =>  Mari kita bahas topik: siega
    [2] =>  Silakan ajukan pertanyaan Anda
    [3] => 
)

 
-----------------------
06-12-2025 17:42:33.69458[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69459[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: siega Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:42:33.69459[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: siega Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:42:33.69460[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mode diskusi diubah Mari kita bahas topik: siega Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:42:33.69461[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:42:33.69461[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:42:33.69461[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' to the front of the [that] array 
-----------------------
06-12-2025 17:42:33.69462[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:42:33.69463[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:42:33.69464[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:42:33.69464[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:42:33.69465[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69465[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  saya kurang memahami pertanyaan Anda
    [2] =>  Bisakah Anda mengatakannya dengan cara lain
    [3] => 
)

 
-----------------------
06-12-2025 17:42:33.69466[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69466[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf saya kurang memahami pertanyaan Anda Bisakah Anda mengatakannya dengan cara lain ' 
-----------------------
06-12-2025 17:42:33.69467[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf saya kurang memahami pertanyaan Anda Bisakah Anda mengatakannya dengan cara lain ' 
-----------------------
06-12-2025 17:42:33.69467[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf saya kurang memahami pertanyaan Anda Bisakah Anda mengatakannya dengan cara lain ' 
-----------------------
06-12-2025 17:42:33.69468[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69469[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69469[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' to the front of the [that] array 
-----------------------
06-12-2025 17:42:33.69470[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69471[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69472[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69472[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:42:33.69473[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69474[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  saya masih belajar
    [2] =>  Bisakah Anda bertanya dengan kalimat yang berbeda
    [3] => 
)

 
-----------------------
06-12-2025 17:42:33.69474[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69475[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf saya masih belajar Bisakah Anda bertanya dengan kalimat yang berbeda ' 
-----------------------
06-12-2025 17:42:33.69475[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf saya masih belajar Bisakah Anda bertanya dengan kalimat yang berbeda ' 
-----------------------
06-12-2025 17:42:33.69476[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf saya masih belajar Bisakah Anda bertanya dengan kalimat yang berbeda ' 
-----------------------
06-12-2025 17:42:33.69477[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 17:42:33.69477[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:42:33.69477[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' to the front of the [that] array 
-----------------------
06-12-2025 17:42:33.69478[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 17:42:33.69479[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:42:33.69480[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:42:33.69480[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:42:33.69481[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69481[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Mode diskusi diubah
    [1] =>  Mari kita bahas topik: musik
    [2] =>  Silakan ajukan pertanyaan Anda
    [3] => 
)

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

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

 
-----------------------
06-12-2025 17:42:33.69499[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69500[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah selera yang energik Musik Rock sangat cocok buat begadang mengerjakan tugas besar ' 
-----------------------
06-12-2025 17:42:33.69500[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah selera yang energik Musik Rock sangat cocok buat begadang mengerjakan tugas besar ' 
-----------------------
06-12-2025 17:42:33.69501[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah selera yang energik Musik Rock sangat cocok buat begadang mengerjakan tugas besar ' 
-----------------------
06-12-2025 17:42:33.69502[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:42:33.69502[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 17:42:33.69503[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' to the front of the [that] array 
-----------------------
06-12-2025 17:42:33.69504[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:42:33.69504[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 17:42:33.69505[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:42:33.69506[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 17:42:33.69506[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
06-12-2025 17:42:33.69507[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 17:42:33.69508[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa itu siega
)

 
-----------------------
06-12-2025 17:42:33.69508[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69509[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa itu siega' 
-----------------------
06-12-2025 17:42:33.69510[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa itu siega' 
-----------------------
06-12-2025 17:42:33.69510[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu siega' 
-----------------------
06-12-2025 17:42:33.69511[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:42:33.69511[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:42:33.69512[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA ITU SIEGA' to the front of the [input] array 
-----------------------
06-12-2025 17:42:33.69512[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
06-12-2025 17:42:33.69513[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69514[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa itu sistem informasi
)

 
-----------------------
06-12-2025 17:42:33.69514[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69515[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa itu sistem informasi' 
-----------------------
06-12-2025 17:42:33.69515[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa itu sistem informasi' 
-----------------------
06-12-2025 17:42:33.69516[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu sistem informasi' 
-----------------------
06-12-2025 17:42:33.69516[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:42:33.69517[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:42:33.69517[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA ITU SISTEM INFORMASI' to the front of the [input] array 
-----------------------
06-12-2025 17:42:33.69518[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69519[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
06-12-2025 17:42:33.69519[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69520[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
06-12-2025 17:42:33.69520[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
06-12-2025 17:42:33.69521[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
06-12-2025 17:42:33.69521[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 17:42:33.69522[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 17:42:33.69523[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 17:42:33.69523[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69524[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => nama saya dannu
)

 
-----------------------
06-12-2025 17:42:33.69524[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69525[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'nama saya dannu' 
-----------------------
06-12-2025 17:42:33.69525[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'nama saya dannu' 
-----------------------
06-12-2025 17:42:33.69526[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama saya dannu' 
-----------------------
06-12-2025 17:42:33.69527[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:42:33.69527[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:42:33.69528[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA DANNU' to the front of the [input] array 
-----------------------
06-12-2025 17:42:33.69528[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69529[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bicara siega
)

 
-----------------------
06-12-2025 17:42:33.69529[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69530[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bicara siega' 
-----------------------
06-12-2025 17:42:33.69531[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bicara siega' 
-----------------------
06-12-2025 17:42:33.69531[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bicara siega' 
-----------------------
06-12-2025 17:42:33.69532[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:42:33.69532[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:42:33.69533[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BICARA SIEGA' to the front of the [input] array 
-----------------------
06-12-2025 17:42:33.69533[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69534[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa itu siega
)

 
-----------------------
06-12-2025 17:42:33.69534[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69535[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa itu siega' 
-----------------------
06-12-2025 17:42:33.69535[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa itu siega' 
-----------------------
06-12-2025 17:42:33.69536[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu siega' 
-----------------------
06-12-2025 17:42:33.69537[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:42:33.69537[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:42:33.69537[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA ITU SIEGA' to the front of the [input] array 
-----------------------
06-12-2025 17:42:33.69538[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69539[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => saya mahasiswa angkatan
)

 
-----------------------
06-12-2025 17:42:33.69539[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69540[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'saya mahasiswa angkatan' 
-----------------------
06-12-2025 17:42:33.69540[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'saya mahasiswa angkatan' 
-----------------------
06-12-2025 17:42:33.69541[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'saya mahasiswa angkatan' 
-----------------------
06-12-2025 17:42:33.69542[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA MAHASISWA ANGKATAN' 
-----------------------
06-12-2025 17:42:33.69542[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA MAHASISWA ANGKATAN' 
-----------------------
06-12-2025 17:42:33.69543[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA MAHASISWA ANGKATAN' to the front of the [input] array 
-----------------------
06-12-2025 17:42:33.69543[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69544[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bicara musik
)

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

 
-----------------------
06-12-2025 17:42:33.69549[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69550[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'saya suka musik' 
-----------------------
06-12-2025 17:42:33.69550[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'saya suka musik' 
-----------------------
06-12-2025 17:42:33.69551[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'saya suka musik' 
-----------------------
06-12-2025 17:42:33.69551[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 17:42:33.69552[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 17:42:33.69552[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA MUSIK' to the front of the [input] array 
-----------------------
06-12-2025 17:42:33.69553[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69553[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 17:42:33.69554[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69554[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'saya suka musik rock' 
-----------------------
06-12-2025 17:42:33.69555[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'saya suka musik rock' 
-----------------------
06-12-2025 17:42:33.69555[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'saya suka musik rock' 
-----------------------
06-12-2025 17:42:33.69556[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:42:33.69557[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:42:33.69557[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA MUSIK ROCK' to the front of the [input] array 
-----------------------
06-12-2025 17:42:33.69582[2][4] - Elapsed time: 0.252 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
06-12-2025 17:42:33.69584[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
06-12-2025 17:42:33.69602[4][4] - Elapsed time: 0.187 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
06-12-2025 17:42:33.69604[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
06-12-2025 17:42:33.69604[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
06-12-2025 17:42:33.69605[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = SELESAI: raw say = selesai 
-----------------------
06-12-2025 17:42:33.69605[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
06-12-2025 17:42:33.69606[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SELESAI' to the front of the [user_say] array 
-----------------------
06-12-2025 17:42:33.69607[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
06-12-2025 17:42:33.69608[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = selesai, RAW say = selesai 
-----------------------
06-12-2025 17:42:33.69609[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'selesai' to the front of the [input] array 
-----------------------
06-12-2025 17:42:33.69609[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
06-12-2025 17:42:33.69610[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SELESAI' 
-----------------------
06-12-2025 17:42:33.69611[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELESAI' 
-----------------------
06-12-2025 17:42:33.69612[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 17:42:33.69636[4][4] - Elapsed time: 0.248 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
06-12-2025 17:42:33.69638[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` = '104925b33277f9b1616c7986fd761fa7'
    AND (
        'SELESAI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 17:42:33.69658[2][4] - Elapsed time: 0.198 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
06-12-2025 17:42:33.69659[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
06-12-2025 17:42:33.69660[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
06-12-2025 17:42:33.69684[4][4] - Elapsed time: 0.242 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'MUSIK' 
-----------------------
06-12-2025 17:42:33.69686[3][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'SELESAI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'MUSIK' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 17:42:33.69719[3][4] - Elapsed time: 0.333 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
06-12-2025 17:42:33.69720[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (6) potential AIML matches 
-----------------------
06-12-2025 17:42:33.69745[1][4] - Elapsed time: 0.257 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR 
-----------------------
06-12-2025 17:42:33.69746[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 6 rows to unset bad matches 
-----------------------
06-12-2025 17:42:33.69747[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 'SELESAI' 
-----------------------
06-12-2025 17:42:33.69759[4][4] - Elapsed time: 0.120 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
06-12-2025 17:42:33.69760[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 17:42:33.69787[4][4] - Elapsed time: 0.265 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1393
            [bot_id] => 1
            [pattern] => SELESAI
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <think><set name="topic"/></think>
      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
            [score] => 260
            [current_that] => wah selera yang energik musik rock sangat cocok buat begadang mengerjakan tugas besar
            [aiml_id] => 1393
            [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: selesai (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] => wah selera yang energik musik rock sangat cocok buat begadang mengerjakan tugas besar
            [aiml_id] => 1385
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
06-12-2025 17:42:33.69789[2][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 1393
            [bot_id] => 1
            [pattern] => SELESAI
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <think><set name="topic"/></think>
      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
            [score] => 260
            [current_that] => wah selera yang energik musik rock sangat cocok buat begadang mengerjakan tugas besar
            [aiml_id] => 1393
            [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: selesai (2 points)
        )

)

 
-----------------------
06-12-2025 17:42:33.69803[4][4] - Elapsed time: 0.137 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1393
    [bot_id] => 1
    [pattern] => SELESAI
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => <think><set name="topic"/></think>
      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
    [score] => 260
    [current_that] => wah selera yang energik musik rock sangat cocok buat begadang mengerjakan tugas besar
    [aiml_id] => 1393
    [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: selesai (2 points)
)
 
-----------------------
06-12-2025 17:42:33.69804[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
06-12-2025 17:42:33.69805[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1393 (SELESAI) 
-----------------------
06-12-2025 17:42:33.69806[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
06-12-2025 17:42:33.69807[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'SELESAI' 
-----------------------
06-12-2025 17:42:33.69807[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 17:42:33.69808[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 17:42:33.69809[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1393
    [category_id] => 1393
    [html_template] => 
    [lookingfor] => SELESAI
    [pattern] => SELESAI
    [score] => 260
    [stars] => Array
        (
        )

    [template] => <think><set name="topic"/></think>
      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => selesai
)
 
-----------------------
06-12-2025 17:42:33.69810[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
06-12-2025 17:42:33.69810[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 17:42:33.69812[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><think><set name="topic"/></think><text>      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.</text></template> 
-----------------------
06-12-2025 17:42:33.69816[2][4] - Elapsed time: 0.042 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:42:33.69819[4][4] - Elapsed time: 0.028 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><think><set name="topic"/></think><text>      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.</text></template>
 
-----------------------
06-12-2025 17:42:33.69819[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
06-12-2025 17:42:33.69820[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:42:33.69822[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element think at level 1. element XML = <think><set name="topic"/></think> 
-----------------------
06-12-2025 17:42:33.69822[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
06-12-2025 17:42:33.69823[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
06-12-2025 17:42:33.69824[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
06-12-2025 17:42:33.69824[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
06-12-2025 17:42:33.69825[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:42:33.69826[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="topic"/> 
-----------------------
06-12-2025 17:42:33.69826[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
06-12-2025 17:42:33.69827[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
06-12-2025 17:42:33.69827[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
06-12-2025 17:42:33.69828[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
06-12-2025 17:42:33.69829[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69829[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
)

 
-----------------------
06-12-2025 17:42:33.69830[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'topic' to the client properties array. Value is '' 
-----------------------
06-12-2025 17:42:33.69831[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 104.28.219.244
    [name] => Seeker
    [nama] => dannu
    [topic] => 
    [kesukaan] => musil
)
 
-----------------------
06-12-2025 17:42:33.69857[2][4] - Elapsed time: 0.264 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][586]
updating data in the DB 
-----------------------
06-12-2025 17:42:33.69971[4][4] - Elapsed time: 1.138 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is set 
-----------------------
06-12-2025 17:42:33.69972[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69973[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => 
        )

)

 
-----------------------
06-12-2025 17:42:33.69973[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69974[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69974[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
06-12-2025 17:42:33.69975[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69976[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
06-12-2025 17:42:33.69976[4][4] - Elapsed time: 0.007 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
06-12-2025 17:42:33.69977[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69977[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
06-12-2025 17:42:33.69978[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69978[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
06-12-2025 17:42:33.69979[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
06-12-2025 17:42:33.69980[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:42:33.69981[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.</text> 
-----------------------
06-12-2025 17:42:33.69981[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
06-12-2025 17:42:33.69982[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 17:42:33.69983[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 17:42:33.69983[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.' to the response array. tag name is text 
-----------------------
06-12-2025 17:42:33.69984[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69984[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] =>       Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
)

 
-----------------------
06-12-2025 17:42:33.69985[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69985[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '   Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.' 
-----------------------
06-12-2025 17:42:33.69986[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.' to the response array. tag name is template. 
-----------------------
06-12-2025 17:42:33.69987[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:42:33.69987[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
    [1] => Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
)

 
-----------------------
06-12-2025 17:42:33.69988[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:42:33.69989[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning ' Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.' 
-----------------------
06-12-2025 17:42:33.69990[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup. 
-----------------------
06-12-2025 17:42:33.69990[4][4] - Elapsed time: 0.008 milliseconds 
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
06-12-2025 17:42:33.69991[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
06-12-2025 17:42:33.69992[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.' to the front of the [that_raw] array 
-----------------------
06-12-2025 17:42:33.69992[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
06-12-2025 17:42:33.69994[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.' to the front of the [that] array 
-----------------------
06-12-2025 17:42:33.69995[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Baik, kita kembali ke obrolan umum.' 
-----------------------
06-12-2025 17:42:33.69996[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Baik, kita kembali ke obrolan umum.' 
-----------------------
06-12-2025 17:42:33.69997[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAIK KITA KEMBALI KE OBROLAN UMUM' 
-----------------------
06-12-2025 17:42:33.69998[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAIK KITA KEMBALI KE OBROLAN UMUM' 
-----------------------
06-12-2025 17:42:33.69998[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Topik diskusi telah ditutup.' 
-----------------------
06-12-2025 17:42:33.69999[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Topik diskusi telah ditutup.' 
-----------------------
06-12-2025 17:42:33.69999[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:42:33.70000[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:42:33.70001[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.' to the front of the [parsed_template] array 
-----------------------
06-12-2025 17:42:33.70002[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
06-12-2025 17:42:33.70003[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<think><set name="topic"/></think>
      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.' to the front of the [template] array 
-----------------------
06-12-2025 17:42:33.70003[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
06-12-2025 17:42:33.70004[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
06-12-2025 17:42:33.70005[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 ,
      'selesai',
      'Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.',
      167,
      '104925b33277f9b1616c7986fd761fa7',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
06-12-2025 17:42:33.70694[4][4] - Elapsed time: 6.882 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
06-12-2025 17:42:33.70711[3][4] - Elapsed time: 0.172 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_dannu`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
06-12-2025 17:42:33.70734[2][4] - Elapsed time: 0.229 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
06-12-2025 17:42:33.70735[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
06-12-2025 17:42:33.70735[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
06-12-2025 17:42:33.70737[4][4] - Elapsed time: 0.016 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"104925b33277f9b1616c7986fd761fa7","usersay":"selesai","botsay":"Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.","botData":{"convo_id":"104925b33277f9b1616c7986fd761fa7","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"167","totallines":1,"rawSay":"selesai","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":"1393","bot_id":"1","pattern":"SELESAI","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<think><set name=\"topic\"\/><\/think>\n      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.","score":260,"current_that":"wah selera yang energik musik rock sangat cocok buat begadang mengerjakan tugas besar","aiml_id":"1393","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: selesai (2 points)"}}} 
-----------------------
06-12-2025 17:42:33.70755[2][4] - Elapsed time: 0.181 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
06-12-2025 17:42:33.70757[0][4] - Elapsed time: 0.021 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 16.884 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => selesai
    [conversation] => Array
        (
            [convo_id] => 104925b33277f9b1616c7986fd761fa7
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 167
            [totallines] => 1
            [rawSay] => selesai
            [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] => 1393
                    [bot_id] => 1
                    [pattern] => SELESAI
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => <think><set name="topic"/></think>
      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
                    [score] => 260
                    [current_that] => wah selera yang energik musik rock sangat cocok buat begadang mengerjakan tugas besar
                    [aiml_id] => 1393
                    [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: selesai (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => selesai
            [lookingfor] => SELESAI
            [category_id] => 1393
            [pattern] => SELESAI
            [thatpattern] => 
            [template] => <think><set name="topic"/></think>
      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
            [html_template] => 
            [topic] => 
            [score] => 260
            [aiml_id] => 1393
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
        )

    [client_properties] => Array
        (
            [ip_address] => 104.28.219.244
            [name] => Seeker
            [nama] => dannu
            [topic] => 
            [kesukaan] => musil
        )

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

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

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

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

            [5] => Array
                (
                    [0] => Maaf, saya kurang memahami pertanyaan Anda
                    [1] =>  Bisakah Anda mengatakannya dengan cara lain?
                )

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

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

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

            [9] => Array
                (
                    [0] => Saya belum dapat memproses itu
                    [1] =>  Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana
                    [2] => 
                )

            [10] => Array
                (
                    [0] => Maaf, saya kurang memahami pertanyaan Anda
                    [1] =>  Bisakah Anda mengatakannya dengan cara lain?
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => TOPIK DISKUSI TELAH DITUTUP
                    [2] => BAIK KITA KEMBALI KE OBROLAN UMUM
                )

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

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

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

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

            [6] => Array
                (
                    [1] => MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN
                )

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

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

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

            [10] => Array
                (
                    [1] => SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => selesai
            [2] => SAYA SUKA MUSIK ROCK
            [3] => SAYA SUKA MUSIK
            [4] => BICARA MUSIK
            [5] => SAYA MAHASISWA ANGKATAN
            [6] => APA ITU SIEGA
            [7] => BICARA SIEGA
            [8] => NAMA SAYA DANNU
            [9] => HALO
            [10] => APA ITU SISTEM INFORMASI
        )

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Topik diskusi telah ditutup.
                    [3] => Baik, kita kembali ke obrolan umum.
                )

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

    [parsed_template] => Array
        (
            [1] => Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <think><set name="topic"/></think> Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"104925b33277f9b1616c7986fd761fa7","usersay":"selesai","botsay":"Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.","botData":{"convo_id":"104925b33277f9b1616c7986fd761fa7","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"167","totallines":1,"rawSay":"selesai","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":"1393","bot_id":"1","pattern":"SELESAI","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<think><set name=\"topic\"\/><\/think>\n      Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.","score":260,"current_that":"wah selera yang energik musik rock sangat cocok buat begadang mengerjakan tugas besar","aiml_id":"1393","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: selesai (2 points)"}}}
)

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