06-12-2025 17:43:18.40677[0][4] - Elapsed time: 4.850 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:43:18.40706[4][4] - Elapsed time: 0.291 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
06-12-2025 17:43:18.40727[4][4] - Elapsed time: 0.209 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
06-12-2025 17:43:18.40737[4][4] - Elapsed time: 0.095 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
06-12-2025 17:43:18.40776[4][4] - Elapsed time: 0.389 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
06-12-2025 17:43:18.40777[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
06-12-2025 17:43:18.40793[1][4] - Elapsed time: 0.161 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:43:18.40827[0][4] - Elapsed time: 0.337 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 10c5a02047937d2a5ba61b6280dda54b 
-----------------------
06-12-2025 17:43:18.40828[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'apa itu sistem informasi'. 
-----------------------
06-12-2025 17:43:18.40830[4][4] - Elapsed time: 0.023 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
06-12-2025 17:43:18.40831[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
06-12-2025 17:43:18.40832[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:43:18.40853[4][4] - Elapsed time: 0.212 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: 104925b33277f9b1616c7986fd761fa7 
-----------------------
06-12-2025 17:43:18.40854[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:43:18.40855[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:43:18.40880[2][4] - Elapsed time: 0.252 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
06-12-2025 17:43:18.40881[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:43:18.40905[3][4] - Elapsed time: 0.238 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:43:18.40931[2][4] - Elapsed time: 0.261 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
06-12-2025 17:43:18.40939[2][4] - Elapsed time: 0.076 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on apa. 
-----------------------
06-12-2025 17:43:18.40940[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
06-12-2025 17:43:18.40976[2][4] - Elapsed time: 0.354 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
06-12-2025 17:43:18.40977[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on itu. 
-----------------------
06-12-2025 17:43:18.40979[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
06-12-2025 17:43:18.40980[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on sistem. 
-----------------------
06-12-2025 17:43:18.40981[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
06-12-2025 17:43:18.40982[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on informasi. 
-----------------------
06-12-2025 17:43:18.40984[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu sistem informasi' 
-----------------------
06-12-2025 17:43:18.40999[4][4] - Elapsed time: 0.150 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:43:18.41000[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: APA ITU SISTEM INFORMASI
Convo id: 10c5a02047937d2a5ba61b6280dda54b
Bot id: 1
Format: json 
-----------------------
06-12-2025 17:43:18.41001[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
06-12-2025 17:43:18.41001[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
06-12-2025 17:43:18.41002[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 167 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
06-12-2025 17:43:18.41027[1][4] - Elapsed time: 0.251 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => apa itu siega
    [1] => bicara siega
    [2] => selesai
    [3] => saya suka musik rock
    [4] => saya suka musik
    [5] => bicara musik
    [6] => saya mahasiswa angkatan
    [7] => apa itu siega
    [8] => bicara siega
    [9] => nama saya dannu
)
 
-----------------------
06-12-2025 17:43:18.41028[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
06-12-2025 17:43:18.41029[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?
    [1] => Mode diskusi diubah. Mari kita bahas topik: siega. Silakan ajukan pertanyaan Anda.
    [2] => Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
    [3] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
    [4] => Musik adalah teman terbaik saat coding atau belajar! Ngomong-ngomong, Anda lebih suka Pop atau Rock?
    [5] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
    [6] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?
    [7] => Maaf, saya kurang memahami pertanyaan Anda. Bisakah Anda mengatakannya dengan cara lain?
    [8] => Mode diskusi diubah. Mari kita bahas topik: siega. Silakan ajukan pertanyaan Anda.
    [9] => dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.
)
 
-----------------------
06-12-2025 17:43:18.41031[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:43:18.41032[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:43:18.41032[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:43:18.41033[4][4] - Elapsed time: 0.008 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:43:18.41034[4][4] - Elapsed time: 0.007 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:43:18.41034[4][4] - Elapsed time: 0.007 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:43:18.41036[4][4] - Elapsed time: 0.012 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:43:18.41036[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:43:18.41037[2][4] - Elapsed time: 0.006 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:43:18.41039[4][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
06-12-2025 17:43:18.41047[4][4] - Elapsed time: 0.071 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:43:18.41048[4][4] - Elapsed time: 0.010 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:43:18.41049[4][4] - Elapsed time: 0.010 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:43:18.41049[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:43:18.41050[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:43:18.41051[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Mode diskusi diubah
    [1] =>  Mari kita bahas topik: siega
    [2] =>  Silakan ajukan pertanyaan Anda
    [3] => 
)

 
-----------------------
06-12-2025 17:43:18.41051[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:43:18.41052[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: siega Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:43:18.41053[4][4] - Elapsed time: 0.006 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:43:18.41053[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:43:18.41054[4][4] - Elapsed time: 0.010 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:43:18.41055[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:43:18.41055[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:43:18.41056[4][4] - Elapsed time: 0.010 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:43:18.41057[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:43:18.41058[4][4] - Elapsed time: 0.008 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:43:18.41058[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:43:18.41059[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:43:18.41059[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:43:18.41060[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:43:18.41061[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:43:18.41061[4][4] - Elapsed time: 0.006 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:43:18.41062[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:43:18.41063[4][4] - Elapsed time: 0.008 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:43:18.41063[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:43:18.41064[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:43:18.41064[4][4] - Elapsed time: 0.008 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:43:18.41065[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:43:18.41066[4][4] - Elapsed time: 0.008 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:43:18.41066[4][4] - Elapsed time: 0.004 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:43:18.41067[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:43:18.41068[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  saya masih belajar
    [2] =>  Bisakah Anda bertanya dengan kalimat yang berbeda
    [3] => 
)

 
-----------------------
06-12-2025 17:43:18.41068[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:43:18.41069[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:43:18.41069[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:43:18.41070[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:43:18.41070[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:43:18.41071[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:43:18.41071[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:43:18.41072[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:43:18.41073[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:43:18.41073[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:43:18.41074[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:43:18.41075[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:43:18.41075[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:43:18.41076[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:43:18.41076[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Mode diskusi diubah Mari kita bahas topik: musik Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:43:18.41077[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:43:18.41077[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:43:18.41078[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:43:18.41079[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:43:18.41079[2][4] - Elapsed time: 0.009 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:43:18.41080[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:43:18.41081[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:43:18.41082[4][4] - Elapsed time: 0.011 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:43:18.41083[4][4] - Elapsed time: 0.010 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:43:18.41084[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:43:18.41084[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Musik adalah teman terbaik saat coding atau belajar
    [1] =>  Ngomong-ngomong
    [2] =>  Anda lebih suka Pop atau Rock
    [3] => 
)

 
-----------------------
06-12-2025 17:43:18.41085[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:43:18.41086[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:43:18.41086[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Musik adalah teman terbaik saat coding atau belajar Ngomong-ngomong Anda lebih suka Pop atau Rock ' 
-----------------------
06-12-2025 17:43:18.41087[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:43:18.41088[4][4] - Elapsed time: 0.015 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:43:18.41089[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:43:18.41089[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' to the front of the [that] array 
-----------------------
06-12-2025 17:43:18.41090[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:43:18.41090[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:43:18.41091[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:43:18.41092[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:43:18.41092[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:43:18.41093[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah
    [1] =>  selera yang energik
    [2] =>  Musik Rock sangat cocok buat begadang mengerjakan tugas besar
    [3] => 
)

 
-----------------------
06-12-2025 17:43:18.41093[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:43:18.41094[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:43:18.41095[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:43:18.41095[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:43:18.41096[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:43:18.41096[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:43:18.41097[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:43:18.41098[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:43:18.41098[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:43:18.41099[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:43:18.41100[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:43:18.41100[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:43:18.41101[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Baik
    [1] =>  kita kembali ke obrolan umum
    [2] =>  Topik diskusi telah ditutup
    [3] => 
)

 
-----------------------
06-12-2025 17:43:18.41102[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:43:18.41103[4][4] - Elapsed time: 0.005 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:43:18.41103[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Baik kita kembali ke obrolan umum Topik diskusi telah ditutup ' 
-----------------------
06-12-2025 17:43:18.41104[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Baik kita kembali ke obrolan umum Topik diskusi telah ditutup ' 
-----------------------
06-12-2025 17:43:18.41104[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAIK KITA KEMBALI KE OBROLAN UMUM TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:43:18.41105[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAIK KITA KEMBALI KE OBROLAN UMUM TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:43:18.41105[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] array 
-----------------------
06-12-2025 17:43:18.41107[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'BAIK KITA KEMBALI KE OBROLAN UMUM TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:43:18.41108[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'BAIK KITA KEMBALI KE OBROLAN UMUM TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:43:18.41109[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAIK KITA KEMBALI KE OBROLAN UMUM TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:43:18.41109[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAIK KITA KEMBALI KE OBROLAN UMUM TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:43:18.41110[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:43:18.41111[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Mode diskusi diubah
    [1] =>  Mari kita bahas topik: siega
    [2] =>  Silakan ajukan pertanyaan Anda
    [3] => 
)

 
-----------------------
06-12-2025 17:43:18.41111[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:43:18.41112[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Mode diskusi diubah Mari kita bahas topik: siega Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:43:18.41112[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:43:18.41113[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:43:18.41113[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:43:18.41114[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:43:18.41114[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:43:18.41115[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:43:18.41116[4][4] - Elapsed time: 0.010 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:43:18.41117[4][4] - Elapsed time: 0.008 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:43:18.41117[4][4] - Elapsed time: 0.004 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:43:18.41118[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:43:18.41119[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  saya belum mengerti maksud Anda
    [2] =>  Bisa dijelaskan lebih detail
    [3] => 
)

 
-----------------------
06-12-2025 17:43:18.41119[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:43:18.41120[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 17:43:18.41120[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 17:43:18.41121[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 17:43:18.41122[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:43:18.41122[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:43:18.41123[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' to the front of the [that] array 
-----------------------
06-12-2025 17:43:18.41124[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:43:18.41124[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:43:18.41125[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:43:18.41125[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 17:43:18.41126[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
06-12-2025 17:43:18.41127[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:43:18.41128[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => nama saya dannu
)

 
-----------------------
06-12-2025 17:43:18.41128[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:43:18.41129[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'nama saya dannu' 
-----------------------
06-12-2025 17:43:18.41129[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:43:18.41130[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama saya dannu' 
-----------------------
06-12-2025 17:43:18.41130[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:43:18.41131[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:43:18.41131[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:43:18.41132[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
06-12-2025 17:43:18.41133[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:43:18.41133[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bicara siega
)

 
-----------------------
06-12-2025 17:43:18.41134[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:43:18.41135[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bicara siega' 
-----------------------
06-12-2025 17:43:18.41135[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bicara siega' 
-----------------------
06-12-2025 17:43:18.41136[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bicara siega' 
-----------------------
06-12-2025 17:43:18.41136[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:43:18.41137[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:43:18.41137[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:43:18.41140[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:43:18.41140[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:43:18.41141[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:43:18.41141[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:43:18.41142[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa itu siega' 
-----------------------
06-12-2025 17:43:18.41143[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu siega' 
-----------------------
06-12-2025 17:43:18.41143[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:43:18.41144[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:43:18.41144[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:43:18.41145[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:43:18.41146[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:43:18.41146[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:43:18.41147[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'saya mahasiswa angkatan' 
-----------------------
06-12-2025 17:43:18.41147[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:43:18.41148[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'saya mahasiswa angkatan' 
-----------------------
06-12-2025 17:43:18.41148[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA MAHASISWA ANGKATAN' 
-----------------------
06-12-2025 17:43:18.41149[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA MAHASISWA ANGKATAN' 
-----------------------
06-12-2025 17:43:18.41149[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:43:18.41150[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:43:18.41151[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bicara musik
)

 
-----------------------
06-12-2025 17:43:18.41151[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:43:18.41152[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bicara musik' 
-----------------------
06-12-2025 17:43:18.41153[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bicara musik' 
-----------------------
06-12-2025 17:43:18.41153[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bicara musik' 
-----------------------
06-12-2025 17:43:18.41154[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA MUSIK' 
-----------------------
06-12-2025 17:43:18.41154[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA MUSIK' 
-----------------------
06-12-2025 17:43:18.41155[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BICARA MUSIK' to the front of the [input] array 
-----------------------
06-12-2025 17:43:18.41156[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:43:18.41156[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => saya suka musik
)

 
-----------------------
06-12-2025 17:43:18.41157[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:43:18.41157[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:43:18.41158[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'saya suka musik' 
-----------------------
06-12-2025 17:43:18.41159[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'saya suka musik' 
-----------------------
06-12-2025 17:43:18.41159[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 17:43:18.41160[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 17:43:18.41160[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:43:18.41161[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:43:18.41161[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:43:18.41162[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:43:18.41162[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'saya suka musik rock' 
-----------------------
06-12-2025 17:43:18.41163[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:43:18.41163[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'saya suka musik rock' 
-----------------------
06-12-2025 17:43:18.41164[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:43:18.41164[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:43:18.41165[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:43:18.41166[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:43:18.41166[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => selesai
)

 
-----------------------
06-12-2025 17:43:18.41167[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:43:18.41167[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'selesai' 
-----------------------
06-12-2025 17:43:18.41168[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'selesai' 
-----------------------
06-12-2025 17:43:18.41168[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'selesai' 
-----------------------
06-12-2025 17:43:18.41169[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELESAI' 
-----------------------
06-12-2025 17:43:18.41169[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELESAI' 
-----------------------
06-12-2025 17:43:18.41170[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SELESAI' to the front of the [input] array 
-----------------------
06-12-2025 17:43:18.41170[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:43:18.41171[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bicara siega
)

 
-----------------------
06-12-2025 17:43:18.41171[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:43:18.41172[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bicara siega' 
-----------------------
06-12-2025 17:43:18.41172[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bicara siega' 
-----------------------
06-12-2025 17:43:18.41173[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bicara siega' 
-----------------------
06-12-2025 17:43:18.41173[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:43:18.41174[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:43:18.41174[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:43:18.41175[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:43:18.41176[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:43:18.41177[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:43:18.41178[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:43:18.41178[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:43:18.41179[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu siega' 
-----------------------
06-12-2025 17:43:18.41179[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:43:18.41181[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:43:18.41182[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:43:18.41233[2][4] - Elapsed time: 0.507 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
06-12-2025 17:43:18.41234[3][4] - Elapsed time: 0.014 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:43:18.41253[4][4] - Elapsed time: 0.185 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
06-12-2025 17:43:18.41254[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
06-12-2025 17:43:18.41254[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
06-12-2025 17:43:18.41255[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = APA ITU SISTEM INFORMASI: raw say = apa itu sistem informasi 
-----------------------
06-12-2025 17:43:18.41256[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
06-12-2025 17:43:18.41256[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA ITU SISTEM INFORMASI' to the front of the [user_say] array 
-----------------------
06-12-2025 17:43:18.41257[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
06-12-2025 17:43:18.41258[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = apa itu sistem informasi, RAW say = apa itu sistem informasi 
-----------------------
06-12-2025 17:43:18.41259[2][4] - Elapsed time: 0.006 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:43:18.41260[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
06-12-2025 17:43:18.41260[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:43:18.41261[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:43:18.41262[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:43:18.41286[4][4] - Elapsed time: 0.246 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
06-12-2025 17:43:18.41289[3][4] - Elapsed time: 0.026 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 (
        'APA ITU SISTEM INFORMASI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 17:43:18.41310[2][4] - Elapsed time: 0.210 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
06-12-2025 17:43:18.41311[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:43:18.41311[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:43:18.41335[4][4] - Elapsed time: 0.237 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'SIEGA' 
-----------------------
06-12-2025 17:43:18.41337[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 (
        'APA ITU SISTEM INFORMASI' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'SIEGA' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 17:43:18.41369[3][4] - Elapsed time: 0.326 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
06-12-2025 17:43:18.41370[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (6) potential AIML matches 
-----------------------
06-12-2025 17:43:18.41397[1][4] - Elapsed time: 0.265 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL 
-----------------------
06-12-2025 17:43:18.41398[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 6 rows to unset bad matches 
-----------------------
06-12-2025 17:43:18.41399[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:43:18.41419[4][4] - Elapsed time: 0.207 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
06-12-2025 17:43:18.41420[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 17:43:18.41451[4][4] - Elapsed time: 0.302 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1286
            [bot_id] => 1
            [pattern] => APA ITU SISTEM INFORMASI
            [thatpattern] => 
            [topic] => SIEGA
            [filename] => chatbot.aiml
            [template] => <srai>APA ITU SIEGA</srai>
            [score] => 276
            [current_that] => hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail
            [aiml_id] => 1286
            [track_score] => current bot (250 points), topic match with wildcards (10 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: itu (2 points), direct word match: sistem (2 points), direct word match: informasi (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] => hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail
            [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:43:18.41453[2][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 1286
            [bot_id] => 1
            [pattern] => APA ITU SISTEM INFORMASI
            [thatpattern] => 
            [topic] => SIEGA
            [filename] => chatbot.aiml
            [template] => <srai>APA ITU SIEGA</srai>
            [score] => 276
            [current_that] => hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail
            [aiml_id] => 1286
            [track_score] => current bot (250 points), topic match with wildcards (10 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: itu (2 points), direct word match: sistem (2 points), direct word match: informasi (2 points)
        )

)

 
-----------------------
06-12-2025 17:43:18.41482[4][4] - Elapsed time: 0.295 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1286
    [bot_id] => 1
    [pattern] => APA ITU SISTEM INFORMASI
    [thatpattern] => 
    [topic] => SIEGA
    [filename] => chatbot.aiml
    [template] => <srai>APA ITU SIEGA</srai>
    [score] => 276
    [current_that] => hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail
    [aiml_id] => 1286
    [track_score] => current bot (250 points), topic match with wildcards (10 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: itu (2 points), direct word match: sistem (2 points), direct word match: informasi (2 points)
)
 
-----------------------
06-12-2025 17:43:18.41483[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:43:18.41484[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1286 (APA ITU SISTEM INFORMASI) 
-----------------------
06-12-2025 17:43:18.41485[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:43:18.41486[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:43:18.41486[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 17:43:18.41487[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 17:43:18.41489[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1286
    [category_id] => 1286
    [html_template] => 
    [lookingfor] => APA ITU SISTEM INFORMASI
    [pattern] => APA ITU SISTEM INFORMASI
    [score] => 276
    [stars] => Array
        (
        )

    [template] => <srai>APA ITU SIEGA</srai>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => apa itu sistem informasi
)
 
-----------------------
06-12-2025 17:43:18.41490[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
06-12-2025 17:43:18.41490[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
06-12-2025 17:43:18.41495[4][4] - Elapsed time: 0.045 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><srai><text>APA ITU SIEGA</text></srai></template> 
-----------------------
06-12-2025 17:43:18.41509[2][4] - Elapsed time: 0.136 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:43:18.41513[4][4] - Elapsed time: 0.043 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><srai><text>APA ITU SIEGA</text></srai></template>
 
-----------------------
06-12-2025 17:43:18.41514[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
06-12-2025 17:43:18.41515[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:43:18.41517[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element srai at level 1. element XML = <srai><text>APA ITU SIEGA</text></srai> 
-----------------------
06-12-2025 17:43:18.41518[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_srai_tag does exist. Processing now. 
-----------------------
06-12-2025 17:43:18.41518[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element srai to the parse_srai_tag function 
-----------------------
06-12-2025 17:43:18.41519[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][763]
Parsing an SRAI tag. 
-----------------------
06-12-2025 17:43:18.41520[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the srai tag into text. 
-----------------------
06-12-2025 17:43:18.41521[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:43:18.41522[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>APA ITU SIEGA</text> 
-----------------------
06-12-2025 17:43:18.41523[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
06-12-2025 17:43:18.41523[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:43:18.41524[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 17:43:18.41524[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'APA ITU SIEGA' to the response array. tag name is text 
-----------------------
06-12-2025 17:43:18.41525[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:43:18.41526[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => APA ITU SIEGA
        )

)

 
-----------------------
06-12-2025 17:43:18.41526[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:43:18.41527[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:43:18.41527[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:43:18.41528[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:43:18.41529[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:43:18.41529[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][767]
SRAI parsed to APA ITU SIEGA. 
-----------------------
06-12-2025 17:43:18.41530[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:43:18.41530[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 17:43:18.41531[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 17:43:18.41532[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1286
    [category_id] => 1286
    [html_template] => 
    [lookingfor] => APA ITU SIEGA
    [pattern] => APA ITU SISTEM INFORMASI
    [score] => 276
    [stars] => Array
        (
        )

    [template] => <srai>APA ITU SIEGA</srai>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => apa itu sistem informasi
)
 
-----------------------
06-12-2025 17:43:18.41532[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][410]
Running SRAI. Pattern = 'APA ITU SIEGA'. 
-----------------------
06-12-2025 17:43:18.41533[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][run_srai][425]
Checking for entries in the srai_lookup table. 
-----------------------
06-12-2025 17:43:18.41534[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][run_srai][426]
azimov bot_id = 1 
-----------------------
06-12-2025 17:43:18.41534[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][run_srai][431]
lookup SQL = select `template_id` from `siew8359_dannu`.`srai_lookup` where `pattern` like '%APA ITU SIEGA%' and ( bot_id = 1 ); 
-----------------------
06-12-2025 17:43:18.41570[2][4] - Elapsed time: 0.360 milliseconds
[parse_aiml.php][run_srai][433]
Result = Array
(
    [0] => Array
        (
            [template_id] => 257
        )

    [1] => Array
        (
            [template_id] => 1287
        )

)
 
-----------------------
06-12-2025 17:43:18.41571[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][run_srai][438]
Found 2 rows in lookup table: Array
(
    [0] => Array
        (
            [template_id] => 257
        )

    [1] => Array
        (
            [template_id] => 1287
        )

)
 
-----------------------
06-12-2025 17:43:18.41572[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][run_srai][440]
Found a matching entry in the lookup table. Using ID# 257. 
-----------------------
06-12-2025 17:43:18.41587[2][4] - Elapsed time: 0.152 milliseconds
[parse_aiml.php][run_srai][443]
Row found in AIML for ID 257:  
-----------------------
06-12-2025 17:43:18.41588[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][run_srai][466]
Nothing found in the SRAI lookup table. Looking for a direct pattern match for 'APA ITU SIEGA'. 
-----------------------
06-12-2025 17:43:18.41589[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][run_srai][473]
lookup SQL = SELECT `id`, `pattern`, `thatpattern`, `topic` FROM `siew8359_dannu`.`aiml` where `pattern` like '%APA ITU SIEGA%' and  bot_id = 1  order by `id` asc; 
-----------------------
06-12-2025 17:43:18.41614[2][4] - Elapsed time: 0.243 milliseconds
[parse_aiml.php][run_srai][477]
Found 0 potential responses. 
-----------------------
06-12-2025 17:43:18.41614[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][run_srai][478]
Responses: Array
(
)
 
-----------------------
06-12-2025 17:43:18.41615[1][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][run_srai][506]
Error: FOUND NO AIML matches in DB 
-----------------------
06-12-2025 17:43:18.41639[1][4] - Elapsed time: 0.244 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL 
-----------------------
06-12-2025 17:43:18.41640[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
06-12-2025 17:43:18.41641[1][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][56]
Returning error as no results where found 
-----------------------
06-12-2025 17:43:18.41642[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 17:43:18.41665[1][4] - Elapsed time: 0.237 milliseconds
[find_aiml.php][score_matches][329]
Found an error trying to identify the chatbot. 
-----------------------
06-12-2025 17:43:18.41666[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
)
 
-----------------------
06-12-2025 17:43:18.41667[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
)

 
-----------------------
06-12-2025 17:43:18.41676[4][4] - Elapsed time: 0.087 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => -1
    [aiml_id] => -1
    [bot_id] => 1
    [pattern] => no results
    [thatpattern] => 
    [topic] => 
    [template] => No AIML category found. This is a Default Response.
    [score] => 0
    [track_score] => No Match Found!
)
 
-----------------------
06-12-2025 17:43:18.41676[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:43:18.41678[3][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][run_srai][581]
Running SRAI 1 on APA ITU SIEGA 
-----------------------
06-12-2025 17:43:18.41678[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][run_srai][582]
 
-----------------------
06-12-2025 17:43:18.41679[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][run_srai][586]
Incrementing srai iterations to 2 
-----------------------
06-12-2025 17:43:18.41679[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_stack][85]
Loading blank stack 
-----------------------
06-12-2025 17:43:18.41680[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
06-12-2025 17:43:18.41705[4][4] - Elapsed time: 0.248 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
06-12-2025 17:43:18.41706[3][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = '104925b33277f9b1616c7986fd761fa7'
    AND (
        'APA ITU SIEGA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 17:43:18.41724[2][4] - Elapsed time: 0.174 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
06-12-2025 17:43:18.41725[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
06-12-2025 17:43:18.41725[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
06-12-2025 17:43:18.41749[4][4] - Elapsed time: 0.235 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'SIEGA' 
-----------------------
06-12-2025 17:43:18.41750[3][4] - Elapsed time: 0.015 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 (
        'APA ITU SIEGA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SIEGA' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 17:43:18.41779[3][4] - Elapsed time: 0.290 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
06-12-2025 17:43:18.41780[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (6) potential AIML matches 
-----------------------
06-12-2025 17:43:18.41806[4][4] - Elapsed time: 0.256 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 6 rows to unset bad matches 
-----------------------
06-12-2025 17:43:18.41807[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:43:18.41810[4][4] - Elapsed time: 0.036 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
06-12-2025 17:43:18.41811[4][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 17:43:18.41836[4][4] - Elapsed time: 0.246 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => 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] => 
            [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:43:18.41837[2][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => 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] => 
            [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:43:18.41845[4][4] - Elapsed time: 0.075 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: 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] => 
    [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:43:18.41845[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:43:18.41847[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
06-12-2025 17:43:18.41848[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
06-12-2025 17:43:18.41868[2][4] - Elapsed time: 0.205 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
06-12-2025 17:43:18.41869[1][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'APA ITU SIEGA' to the unknown_inputs table. 
-----------------------
06-12-2025 17:43:18.41870[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1385 (*) 
-----------------------
06-12-2025 17:43:18.41870[3][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in srai mode (normal or srai) 
-----------------------
06-12-2025 17:43:18.41871[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
06-12-2025 17:43:18.41872[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
06-12-2025 17:43:18.41872[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:43:18.41873[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:43:18.41873[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching APA ITU SIEGA for a match. 
-----------------------
06-12-2025 17:43:18.41877[2][4] - Elapsed time: 0.039 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => APA ITU SIEGA
        )

    [1] => Array
        (
            [0] => APA ITU SIEGA
        )

)
 
-----------------------
06-12-2025 17:43:18.41878[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'APA ITU SIEGA' to the stars stack. 
-----------------------
06-12-2025 17:43:18.41879[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => APA ITU SIEGA
)
 
-----------------------
06-12-2025 17:43:18.41880[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 17:43:18.41880[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 17:43:18.41881[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1385
    [category_id] => 1385
    [html_template] => 
    [lookingfor] => APA ITU SIEGA
    [parsed_template] => 
    [pattern] => *
    [score] => 252
    [stars] => Array
        (
            [1] => APA ITU SIEGA
        )

    [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>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => APA ITU SIEGA
)
 
-----------------------
06-12-2025 17:43:18.41882[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:43:18.41883[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
06-12-2025 17:43:18.41884[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?</text></li><li><text>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</text></li><li><text>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</text></li><li><text>Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</text></li></random></template> 
-----------------------
06-12-2025 17:43:18.41887[2][4] - Elapsed time: 0.028 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:43:18.41890[4][4] - Elapsed time: 0.030 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?</text></li><li><text>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</text></li><li><text>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</text></li><li><text>Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</text></li></random></template>
 
-----------------------
06-12-2025 17:43:18.41891[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:43:18.41892[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:43:18.41894[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?</text></li><li><text>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</text></li><li><text>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</text></li><li><text>Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</text></li></random> 
-----------------------
06-12-2025 17:43:18.41894[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
06-12-2025 17:43:18.41895[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
06-12-2025 17:43:18.41895[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
06-12-2025 17:43:18.41900[4][4] - Elapsed time: 0.048 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?
        )

    [1] => SimpleXMLElement Object
        (
            [text] => Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?
        )

    [3] => SimpleXMLElement Object
        (
            [text] => Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.
        )

)
 
-----------------------
06-12-2025 17:43:18.41901[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #2 from random tag.
 
-----------------------
06-12-2025 17:43:18.41901[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:43:18.41903[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</text></li> 
-----------------------
06-12-2025 17:43:18.41903[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
06-12-2025 17:43:18.41904[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:43:18.41905[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</text> 
-----------------------
06-12-2025 17:43:18.41905[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
06-12-2025 17:43:18.41906[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:43:18.41907[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 17:43:18.41907[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?' to the response array. tag name is text 
-----------------------
06-12-2025 17:43:18.41908[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:43:18.41908[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?
)

 
-----------------------
06-12-2025 17:43:18.41909[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:43:18.41910[4][4] - Elapsed time: 0.007 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:43:18.41910[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Maaf, saya masih belajar.    Bisakah Anda bertanya dengan kalimat yang berbeda?' to the response array. tag name is li. 
-----------------------
06-12-2025 17:43:18.41911[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:43:18.41911[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, saya masih belajar.    Bisakah Anda bertanya dengan kalimat yang berbeda?
)

 
-----------------------
06-12-2025 17:43:18.41912[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:43:18.41912[4][4] - Elapsed time: 0.005 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:43:18.41913[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Maaf, saya masih belajar.  Bisakah Anda bertanya dengan kalimat yang berbeda?' for output. 
-----------------------
06-12-2025 17:43:18.41913[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Maaf, saya masih belajar.  Bisakah Anda bertanya dengan kalimat yang berbeda?' to the response array. tag name is random 
-----------------------
06-12-2025 17:43:18.41914[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:43:18.41914[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, saya masih belajar.  Bisakah Anda bertanya dengan kalimat yang berbeda?
)

 
-----------------------
06-12-2025 17:43:18.41915[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:43:18.41915[4][4] - Elapsed time: 0.005 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:43:18.41916[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?' to the response array. tag name is template. 
-----------------------
06-12-2025 17:43:18.41917[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:43:18.41917[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?
)

 
-----------------------
06-12-2025 17:43:18.41918[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:43:18.41918[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:43:18.41919[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda? 
-----------------------
06-12-2025 17:43:18.41920[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][232]
srai - Not saving for next turn 
-----------------------
06-12-2025 17:43:18.41921[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][621]
SRAI Found. Returning 'Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?' 
-----------------------
06-12-2025 17:43:18.41921[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][run_srai][625]
Decrementing srai iterations to 1 
-----------------------
06-12-2025 17:43:18.41922[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][771]
Finished parsing SRAI tag 
-----------------------
06-12-2025 17:43:18.41923[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:43:18.41923[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda? 
 
-----------------------
06-12-2025 17:43:18.41924[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda? ' to the response array. tag name is srai 
-----------------------
06-12-2025 17:43:18.41924[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:43:18.41925[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda? 
)

 
-----------------------
06-12-2025 17:43:18.41925[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:43:18.41926[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:43:18.41926[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda? ' to the response array. tag name is template. 
-----------------------
06-12-2025 17:43:18.41927[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:43:18.41927[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda? 
)

 
-----------------------
06-12-2025 17:43:18.41928[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:43:18.41929[4][4] - Elapsed time: 0.005 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:43:18.41929[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda? 
-----------------------
06-12-2025 17:43:18.41930[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
06-12-2025 17:43:18.41930[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:43:18.41931[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_raw] array 
-----------------------
06-12-2025 17:43:18.41932[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
06-12-2025 17:43:18.41933[2][4] - Elapsed time: 0.019 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:43:18.41934[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf, saya masih belajar.' 
-----------------------
06-12-2025 17:43:18.41935[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf, saya masih belajar.' 
-----------------------
06-12-2025 17:43:18.41936[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA MASIH BELAJAR' 
-----------------------
06-12-2025 17:43:18.41937[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA MASIH BELAJAR' 
-----------------------
06-12-2025 17:43:18.41937[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bisakah Anda bertanya dengan kalimat yang berbeda?' 
-----------------------
06-12-2025 17:43:18.41938[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bisakah Anda bertanya dengan kalimat yang berbeda?' 
-----------------------
06-12-2025 17:43:18.41938[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:43:18.41939[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 17:43:18.41940[2][4] - Elapsed time: 0.010 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 [parsed_template] array 
-----------------------
06-12-2025 17:43:18.41941[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
06-12-2025 17:43:18.41942[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<srai>APA ITU SIEGA</srai>' to the front of the [template] array 
-----------------------
06-12-2025 17:43:18.41942[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
06-12-2025 17:43:18.41943[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
06-12-2025 17:43:18.41944[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'apa itu sistem informasi',
      'Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?',
      167,
      '104925b33277f9b1616c7986fd761fa7',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
06-12-2025 17:43:18.42844[4][4] - Elapsed time: 8.995 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
06-12-2025 17:43:18.42872[3][4] - Elapsed time: 0.280 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:43:18.42904[2][4] - Elapsed time: 0.327 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
06-12-2025 17:43:18.42906[4][4] - Elapsed time: 0.012 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
06-12-2025 17:43:18.42906[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
06-12-2025 17:43:18.42910[4][4] - Elapsed time: 0.035 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"104925b33277f9b1616c7986fd761fa7","usersay":"apa itu sistem informasi","botsay":"Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?","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":"apa itu sistem informasi","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":-1,"aiml_id":-1,"bot_id":"1","pattern":"no results","thatpattern":"","topic":"","template":"No AIML category found. This is a Default Response.","score":0,"track_score":"No Match Found!"}}} 
-----------------------
06-12-2025 17:43:18.42939[2][4] - Elapsed time: 0.293 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
06-12-2025 17:43:18.42943[0][4] - Elapsed time: 0.037 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 27.480 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => apa itu sistem informasi
    [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] => apa itu sistem informasi
            [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] => -1
                    [aiml_id] => -1
                    [bot_id] => 1
                    [pattern] => no results
                    [thatpattern] => 
                    [topic] => 
                    [template] => No AIML category found. This is a Default Response.
                    [score] => 0
                    [track_score] => No Match Found!
                )

        )

    [aiml] => Array
        (
            [user_raw] => apa itu sistem informasi
            [lookingfor] => APA ITU SISTEM INFORMASI
            [category_id] => 1286
            [pattern] => APA ITU SISTEM INFORMASI
            [thatpattern] => 
            [template] => <srai>APA ITU SIEGA</srai>
            [html_template] => 
            [topic] => SIEGA
            [score] => 276
            [aiml_id] => 1286
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?
        )

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

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

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

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

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

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

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

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

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

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

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

        )

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

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

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

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

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

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

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

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

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

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

            [12] => 
        )

    [input] => Array
        (
            [1] => apa itu sistem informasi
            [2] => APA ITU SIEGA
            [3] => BICARA SIEGA
            [4] => SELESAI
            [5] => SAYA SUKA MUSIK ROCK
            [6] => SAYA SUKA MUSIK
            [7] => BICARA MUSIK
            [8] => SAYA MAHASISWA ANGKATAN
            [9] => APA ITU SIEGA
            [10] => BICARA SIEGA
        )

    [time_start] => 1765017798.4019
    [user_say] => Array
        (
            [1] => APA ITU SISTEM INFORMASI
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Bisakah Anda bertanya dengan kalimat yang berbeda?
                    [3] => Maaf, saya masih belajar.
                )

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

    [parsed_template] => Array
        (
            [1] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <srai>APA ITU SIEGA</srai>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"104925b33277f9b1616c7986fd761fa7","usersay":"apa itu sistem informasi","botsay":"Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?","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":"apa itu sistem informasi","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":-1,"aiml_id":-1,"bot_id":"1","pattern":"no results","thatpattern":"","topic":"","template":"No AIML category found. This is a Default Response.","score":0,"track_score":"No Match Found!"}}}
)

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