06-12-2025 17:41:54.13435[0][4] - Elapsed time: 0.717 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:41:54.13455[4][4] - Elapsed time: 0.203 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
06-12-2025 17:41:54.13470[4][4] - Elapsed time: 0.153 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
06-12-2025 17:41:54.13478[4][4] - Elapsed time: 0.080 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
06-12-2025 17:41:54.13508[4][4] - Elapsed time: 0.294 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
06-12-2025 17:41:54.13509[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
06-12-2025 17:41:54.13519[1][4] - Elapsed time: 0.105 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:41:54.13545[0][4] - Elapsed time: 0.262 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = b164421173506a3d137ad31759fd00d8 
-----------------------
06-12-2025 17:41:54.13546[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'nama saya dannu'. 
-----------------------
06-12-2025 17:41:54.13548[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
06-12-2025 17:41:54.13548[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
06-12-2025 17:41:54.13549[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
06-12-2025 17:41:54.13567[4][4] - Elapsed time: 0.183 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: 104925b33277f9b1616c7986fd761fa7 
-----------------------
06-12-2025 17:41:54.13569[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:41:54.13569[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
06-12-2025 17:41:54.13591[2][4] - Elapsed time: 0.216 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
06-12-2025 17:41:54.13592[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:41:54.13614[3][4] - Elapsed time: 0.217 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:41:54.13639[2][4] - Elapsed time: 0.254 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
06-12-2025 17:41:54.13641[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
06-12-2025 17:41:54.13642[2][4] - Elapsed time: 0.009 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
06-12-2025 17:41:54.13670[2][4] - Elapsed time: 0.286 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
06-12-2025 17:41:54.13672[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on saya. 
-----------------------
06-12-2025 17:41:54.13673[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
06-12-2025 17:41:54.13674[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on dannu. 
-----------------------
06-12-2025 17:41:54.13676[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama saya dannu' 
-----------------------
06-12-2025 17:41:54.13678[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:41:54.13678[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: NAMA SAYA DANNU
Convo id: b164421173506a3d137ad31759fd00d8
Bot id: 1
Format: json 
-----------------------
06-12-2025 17:41:54.13679[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
06-12-2025 17:41:54.13680[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
06-12-2025 17:41:54.13681[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 167 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
06-12-2025 17:41:54.13708[1][4] - Elapsed time: 0.268 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => halo
    [1] => apa itu sistem informasi
    [2] => apa itu siega
    [3] => bicara siega
    [4] => nama saya dannu
    [5] => halo
    [6] => bicara musik
    [7] => bicara siega
    [8] => selesai
    [9] => saya suka musik rock
)
 
-----------------------
06-12-2025 17:41:54.13709[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
06-12-2025 17:41:54.13709[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
    [1] => Saya belum dapat memproses itu. Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.
    [2] => Maaf, saya kurang memahami pertanyaan Anda. Bisakah Anda mengatakannya dengan cara lain?
    [3] => Mode diskusi diubah. Mari kita bahas topik: siega. Silakan ajukan pertanyaan Anda.
    [4] => dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.
    [5] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
    [6] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
    [7] => Mode diskusi diubah. Mari kita bahas topik: siega. Silakan ajukan pertanyaan Anda.
    [8] => Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
    [9] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
)
 
-----------------------
06-12-2025 17:41:54.13711[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:41:54.13712[2][4] - Elapsed time: 0.007 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:41:54.13713[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:41:54.13713[4][4] - Elapsed time: 0.008 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:41:54.13714[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah selera yang energik Musik Rock sangat cocok buat begadang mengerjakan tugas besar ' 
-----------------------
06-12-2025 17:41:54.13715[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:41:54.13716[4][4] - Elapsed time: 0.012 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:41:54.13716[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:41:54.13717[2][4] - Elapsed time: 0.006 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:41:54.13718[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
06-12-2025 17:41:54.13720[4][4] - Elapsed time: 0.018 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:41:54.13720[4][4] - Elapsed time: 0.007 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:41:54.13721[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:41:54.13722[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:41:54.13723[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:41:54.13723[2][4] - Elapsed time: 0.006 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:41:54.13724[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:41:54.13724[4][4] - Elapsed time: 0.007 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:41:54.13725[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:41:54.13725[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Baik kita kembali ke obrolan umum Topik diskusi telah ditutup ' 
-----------------------
06-12-2025 17:41:54.13726[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAIK KITA KEMBALI KE OBROLAN UMUM TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:41:54.13727[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:41:54.13727[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:41:54.13728[4][4] - Elapsed time: 0.009 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:41:54.13729[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:41:54.13730[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAIK KITA KEMBALI KE OBROLAN UMUM TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:41:54.13730[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:41:54.13731[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:41:54.13732[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Mode diskusi diubah
    [1] =>  Mari kita bahas topik: siega
    [2] =>  Silakan ajukan pertanyaan Anda
    [3] => 
)

 
-----------------------
06-12-2025 17:41:54.13732[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:41:54.13733[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:41:54.13733[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:41:54.13734[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:41:54.13735[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:41:54.13735[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:41:54.13736[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:41:54.13737[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:41:54.13737[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:41:54.13738[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:41:54.13738[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:41:54.13739[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:41:54.13740[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:41:54.13740[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:41:54.13741[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:41:54.13741[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:41:54.13742[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:41:54.13742[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:41:54.13743[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:41:54.13743[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' to the front of the [that] array 
-----------------------
06-12-2025 17:41:54.13744[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:41:54.13745[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:41:54.13745[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:41:54.13746[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:41:54.13747[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:41:54.13747[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Senang bertemu dengan Anda
    [2] =>  Bagaimana kabar Anda
    [3] => 
)

 
-----------------------
06-12-2025 17:41:54.13748[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:41:54.13748[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 17:41:54.13749[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 17:41:54.13749[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 17:41:54.13750[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 17:41:54.13751[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 17:41:54.13751[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' to the front of the [that] array 
-----------------------
06-12-2025 17:41:54.13752[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 17:41:54.13752[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 17:41:54.13753[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 17:41:54.13754[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 17:41:54.13755[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:41:54.13756[2][4] - Elapsed time: 0.011 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:41:54.13757[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:41:54.13758[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:41:54.13758[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'dannu Senang berkenalan dengan Anda dannu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 17:41:54.13759[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'dannu Senang berkenalan dengan Anda dannu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 17:41:54.13760[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:41:54.13760[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:41:54.13761[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU SAYA AKAN MENGINGAT NAMA ANDA' to the front of the [that] array 
-----------------------
06-12-2025 17:41:54.13762[4][4] - Elapsed time: 0.009 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:41:54.13762[4][4] - Elapsed time: 0.006 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:41:54.13763[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:41:54.13764[4][4] - Elapsed time: 0.004 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:41:54.13764[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:41:54.13765[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Mode diskusi diubah
    [1] =>  Mari kita bahas topik: siega
    [2] =>  Silakan ajukan pertanyaan Anda
    [3] => 
)

 
-----------------------
06-12-2025 17:41:54.13766[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:41:54.13766[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:41:54.13767[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:41:54.13767[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:41:54.13768[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:41:54.13768[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:41:54.13769[2][4] - Elapsed time: 0.006 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:41:54.13770[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:41:54.13770[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:41:54.13771[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:41:54.13772[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:41:54.13772[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:41:54.13773[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:41:54.13773[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:41:54.13774[4][4] - Elapsed time: 0.007 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:41:54.13775[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:41:54.13775[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:41:54.13776[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:41:54.13776[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:41:54.13777[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:41:54.13778[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:41:54.13778[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:41:54.13779[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:41:54.13780[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:41:54.13780[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:41:54.13781[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya belum dapat memproses itu
    [1] =>  Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana
    [2] => 
)

 
-----------------------
06-12-2025 17:41:54.13781[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:41:54.13782[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya belum dapat memproses itu Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana ' 
-----------------------
06-12-2025 17:41:54.13783[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya belum dapat memproses itu Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana ' 
-----------------------
06-12-2025 17:41:54.13783[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya belum dapat memproses itu Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana ' 
-----------------------
06-12-2025 17:41:54.13784[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:41:54.13784[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:41:54.13785[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' to the front of the [that] array 
-----------------------
06-12-2025 17:41:54.13786[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:41:54.13786[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:41:54.13787[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:41:54.13788[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:41:54.13789[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:41:54.13790[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Selamat datang
    [2] =>  Ada yang bisa saya bantu hari ini
    [3] => 
)

 
-----------------------
06-12-2025 17:41:54.13790[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:41:54.13791[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 17:41:54.13791[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 17:41:54.13792[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 17:41:54.13793[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 17:41:54.13793[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 17:41:54.13794[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' to the front of the [that] array 
-----------------------
06-12-2025 17:41:54.13794[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 17:41:54.13795[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 17:41:54.13796[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 17:41:54.13796[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 17:41:54.13797[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:41:54.13798[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:41:54.13798[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:41:54.13799[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:41:54.13800[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'saya suka musik rock' 
-----------------------
06-12-2025 17:41:54.13800[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:41:54.13801[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'saya suka musik rock' 
-----------------------
06-12-2025 17:41:54.13801[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:41:54.13802[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:41:54.13802[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:41:54.13803[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
06-12-2025 17:41:54.13804[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:41:54.13804[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => selesai
)

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

 
-----------------------
06-12-2025 17:41:54.13810[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:41:54.13810[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bicara siega' 
-----------------------
06-12-2025 17:41:54.13811[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bicara siega' 
-----------------------
06-12-2025 17:41:54.13811[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bicara siega' 
-----------------------
06-12-2025 17:41:54.13812[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:41:54.13813[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:41:54.13813[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:41:54.13814[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:41:54.13814[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bicara musik
)

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

 
-----------------------
06-12-2025 17:41:54.13820[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:41:54.13820[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
06-12-2025 17:41:54.13821[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
06-12-2025 17:41:54.13821[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
06-12-2025 17:41:54.13822[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 17:41:54.13822[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 17:41:54.13823[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 17:41:54.13824[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:41:54.13824[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:41:54.13825[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:41:54.13825[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'nama saya dannu' 
-----------------------
06-12-2025 17:41:54.13826[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'nama saya dannu' 
-----------------------
06-12-2025 17:41:54.13826[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama saya dannu' 
-----------------------
06-12-2025 17:41:54.13827[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:41:54.13827[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:41:54.13828[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA DANNU' to the front of the [input] array 
-----------------------
06-12-2025 17:41:54.13829[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:41:54.13829[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bicara siega
)

 
-----------------------
06-12-2025 17:41:54.13830[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:41:54.13830[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bicara siega' 
-----------------------
06-12-2025 17:41:54.13831[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bicara siega' 
-----------------------
06-12-2025 17:41:54.13831[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bicara siega' 
-----------------------
06-12-2025 17:41:54.13832[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:41:54.13832[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:41:54.13833[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BICARA SIEGA' to the front of the [input] array 
-----------------------
06-12-2025 17:41:54.13833[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:41:54.13834[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:41:54.13834[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:41:54.13835[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:41:54.13835[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:41:54.13836[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu siega' 
-----------------------
06-12-2025 17:41:54.13837[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:41:54.13837[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:41:54.13838[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:41:54.13838[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:41:54.13839[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa itu sistem informasi
)

 
-----------------------
06-12-2025 17:41:54.13839[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:41:54.13840[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa itu sistem informasi' 
-----------------------
06-12-2025 17:41:54.13840[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa itu sistem informasi' 
-----------------------
06-12-2025 17:41:54.13841[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu sistem informasi' 
-----------------------
06-12-2025 17:41:54.13841[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:41:54.13842[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:41:54.13842[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA ITU SISTEM INFORMASI' to the front of the [input] array 
-----------------------
06-12-2025 17:41:54.13843[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:41:54.13843[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
06-12-2025 17:41:54.13844[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:41:54.13844[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
06-12-2025 17:41:54.13845[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
06-12-2025 17:41:54.13846[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
06-12-2025 17:41:54.13846[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 17:41:54.13847[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 17:41:54.13847[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 17:41:54.13873[2][4] - Elapsed time: 0.259 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
06-12-2025 17:41:54.13874[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
06-12-2025 17:41:54.13895[4][4] - Elapsed time: 0.207 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
06-12-2025 17:41:54.13896[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
06-12-2025 17:41:54.13897[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
06-12-2025 17:41:54.13897[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = NAMA SAYA DANNU: raw say = nama saya dannu 
-----------------------
06-12-2025 17:41:54.13898[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
06-12-2025 17:41:54.13898[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA DANNU' to the front of the [user_say] array 
-----------------------
06-12-2025 17:41:54.13899[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
06-12-2025 17:41:54.13900[0][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = nama saya dannu, RAW say = nama saya dannu 
-----------------------
06-12-2025 17:41:54.13901[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'nama saya dannu' to the front of the [input] array 
-----------------------
06-12-2025 17:41:54.13902[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
06-12-2025 17:41:54.13902[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:41:54.13903[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:41:54.13904[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:41:54.13930[4][4] - Elapsed time: 0.258 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
06-12-2025 17:41:54.13931[3][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = '104925b33277f9b1616c7986fd761fa7'
    AND (
        'NAMA SAYA DANNU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 17:41:54.13953[2][4] - Elapsed time: 0.213 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
06-12-2025 17:41:54.13954[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:41:54.13954[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:41:54.13978[4][4] - Elapsed time: 0.236 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'SIEGA' 
-----------------------
06-12-2025 17:41:54.13979[3][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'NAMA SAYA DANNU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 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:41:54.14013[3][4] - Elapsed time: 0.334 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
06-12-2025 17:41:54.14014[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (7) potential AIML matches 
-----------------------
06-12-2025 17:41:54.14039[1][4] - Elapsed time: 0.256 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI 
-----------------------
06-12-2025 17:41:54.14040[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 7 rows to unset bad matches 
-----------------------
06-12-2025 17:41:54.14041[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 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:41:54.14052[4][4] - Elapsed time: 0.111 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
06-12-2025 17:41:54.14053[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 17:41:54.14083[4][4] - Elapsed time: 0.300 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1356
            [bot_id] => 1
            [pattern] => NAMA SAYA *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <set name="nama"><star/></set>      Senang berkenalan dengan Anda, <get name="nama"/>.      Saya akan mengingat nama Anda.
            [score] => 256
            [current_that] => halo selamat datang ada yang bisa saya bantu hari ini
            [aiml_id] => 1356
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
        )

    [1] => Array
        (
            [id] => 1385
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
            [score] => 252
            [current_that] => halo selamat datang ada yang bisa saya bantu hari ini
            [aiml_id] => 1385
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
06-12-2025 17:41:54.14085[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 1356
            [bot_id] => 1
            [pattern] => NAMA SAYA *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <set name="nama"><star/></set>      Senang berkenalan dengan Anda, <get name="nama"/>.      Saya akan mengingat nama Anda.
            [score] => 256
            [current_that] => halo selamat datang ada yang bisa saya bantu hari ini
            [aiml_id] => 1356
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
        )

)

 
-----------------------
06-12-2025 17:41:54.14098[4][4] - Elapsed time: 0.136 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1356
    [bot_id] => 1
    [pattern] => NAMA SAYA *
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => <set name="nama"><star/></set>      Senang berkenalan dengan Anda, <get name="nama"/>.      Saya akan mengingat nama Anda.
    [score] => 256
    [current_that] => halo selamat datang ada yang bisa saya bantu hari ini
    [aiml_id] => 1356
    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
)
 
-----------------------
06-12-2025 17:41:54.14099[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:41:54.14101[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1356 (NAMA SAYA *) 
-----------------------
06-12-2025 17:41:54.14101[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
06-12-2025 17:41:54.14102[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'NAMA SAYA *' 
-----------------------
06-12-2025 17:41:54.14103[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
06-12-2025 17:41:54.14103[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][set_wildcards][310]
RegEx string = ~NAMA SAYA (.+)$~siuU: Searching nama saya dannu for a match. 
-----------------------
06-12-2025 17:41:54.14108[2][4] - Elapsed time: 0.044 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => nama saya dannu
        )

    [1] => Array
        (
            [0] => dannu
        )

)
 
-----------------------
06-12-2025 17:41:54.14109[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'dannu' to the stars stack. 
-----------------------
06-12-2025 17:41:54.14109[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => dannu
)
 
-----------------------
06-12-2025 17:41:54.14110[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 17:41:54.14110[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 17:41:54.14111[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1356
    [category_id] => 1356
    [html_template] => 
    [lookingfor] => NAMA SAYA DANNU
    [pattern] => NAMA SAYA *
    [score] => 256
    [stars] => Array
        (
            [1] => dannu
        )

    [template] => <set name="nama"><star/></set>      Senang berkenalan dengan Anda, <get name="nama"/>.      Saya akan mengingat nama Anda.
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => nama saya dannu
)
 
-----------------------
06-12-2025 17:41:54.14112[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:41:54.14113[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:41:54.14114[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><set name="nama"><star/></set><text>      Senang berkenalan dengan Anda, </text><get name="nama"/><text>.      Saya akan mengingat nama Anda.</text></template> 
-----------------------
06-12-2025 17:41:54.14119[2][4] - Elapsed time: 0.045 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:41:54.14122[4][4] - Elapsed time: 0.034 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><set name="nama"><star/></set><text>      Senang berkenalan dengan Anda, </text><get name="nama"/><text>.      Saya akan mengingat nama Anda.</text></template>
 
-----------------------
06-12-2025 17:41:54.14123[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:41:54.14124[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:41:54.14125[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 1. element XML = <set name="nama"><star/></set> 
-----------------------
06-12-2025 17:41:54.14125[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
06-12-2025 17:41:54.14126[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
06-12-2025 17:41:54.14127[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
06-12-2025 17:41:54.14128[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
06-12-2025 17:41:54.14129[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:41:54.14130[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 2. element XML = <star/> 
-----------------------
06-12-2025 17:41:54.14130[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
06-12-2025 17:41:54.14131[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
06-12-2025 17:41:54.14131[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
06-12-2025 17:41:54.14132[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 2. element = <star/> 
-----------------------
06-12-2025 17:41:54.14133[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => nama saya dannu
    [lookingfor] => NAMA SAYA DANNU
    [category_id] => 1356
    [pattern] => NAMA SAYA *
    [thatpattern] => 
    [template] => <set name="nama"><star/></set>      Senang berkenalan dengan Anda, <get name="nama"/>.      Saya akan mengingat nama Anda.
    [html_template] => 
    [topic] => 
    [score] => 256
    [aiml_id] => 1356
    [stars] => Array
        (
            [1] => dannu
        )

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

    [topic_stars] => Array
        (
        )

)
 
-----------------------
06-12-2025 17:41:54.14133[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
06-12-2025 17:41:54.14134[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'dannu' to the response array. 
-----------------------
06-12-2025 17:41:54.14134[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = dannu 
-----------------------
06-12-2025 17:41:54.14135[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:41:54.14136[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
06-12-2025 17:41:54.14136[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:41:54.14137[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
06-12-2025 17:41:54.14137[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is star 
-----------------------
06-12-2025 17:41:54.14138[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:41:54.14138[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => dannu
        )

)

 
-----------------------
06-12-2025 17:41:54.14139[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:41:54.14140[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:41:54.14140[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
06-12-2025 17:41:54.14141[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:41:54.14141[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
06-12-2025 17:41:54.14142[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'nama' to the client properties array. Value is 'dannu' 
-----------------------
06-12-2025 17:41:54.14143[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 104.28.219.244
    [name] => Seeker
    [nama] => dannu
    [topic] => siega
    [kesukaan] => musil
)
 
-----------------------
06-12-2025 17:41:54.14170[2][4] - Elapsed time: 0.269 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][586]
updating data in the DB 
-----------------------
06-12-2025 17:41:54.14281[4][4] - Elapsed time: 1.112 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is set 
-----------------------
06-12-2025 17:41:54.14282[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:41:54.14283[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
06-12-2025 17:41:54.14283[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:41:54.14284[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
06-12-2025 17:41:54.14284[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'dannu' to the response array. tag name is template. 
-----------------------
06-12-2025 17:41:54.14285[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:41:54.14286[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>      Senang berkenalan dengan Anda, </text> 
-----------------------
06-12-2025 17:41:54.14287[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:41:54.14287[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:41:54.14288[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 17:41:54.14289[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '      Senang berkenalan dengan Anda, ' to the response array. tag name is text 
-----------------------
06-12-2025 17:41:54.14290[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:41:54.14290[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] =>       Senang berkenalan dengan Anda, 
)

 
-----------------------
06-12-2025 17:41:54.14291[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:41:54.14291[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '   Senang berkenalan dengan Anda, ' 
-----------------------
06-12-2025 17:41:54.14292[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Senang berkenalan dengan Anda, ' to the response array. tag name is template. 
-----------------------
06-12-2025 17:41:54.14292[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:41:54.14293[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 1. element XML = <get name="nama"/> 
-----------------------
06-12-2025 17:41:54.14294[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
06-12-2025 17:41:54.14294[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
06-12-2025 17:41:54.14295[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => 104.28.219.244
    [name] => Seeker
    [nama] => dannu
    [topic] => siega
    [kesukaan] => musil
)
 
-----------------------
06-12-2025 17:41:54.14295[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][520]
Parsing a GET tag. Oh, and getting a sandwich while I'm at it. 
-----------------------
06-12-2025 17:41:54.14297[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => 104.28.219.244
    [name] => Seeker
    [nama] => dannu
    [topic] => siega
    [kesukaan] => musil
)
 
-----------------------
06-12-2025 17:41:54.14297[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is get 
-----------------------
06-12-2025 17:41:54.14298[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:41:54.14298[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
06-12-2025 17:41:54.14299[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:41:54.14299[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
06-12-2025 17:41:54.14300[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'dannu' to the response array. tag name is template. 
-----------------------
06-12-2025 17:41:54.14300[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:41:54.14301[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>.      Saya akan mengingat nama Anda.</text> 
-----------------------
06-12-2025 17:41:54.14302[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:41:54.14302[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:41:54.14303[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 17:41:54.14303[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '.      Saya akan mengingat nama Anda.' to the response array. tag name is text 
-----------------------
06-12-2025 17:41:54.14304[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:41:54.14304[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => .      Saya akan mengingat nama Anda.
)

 
-----------------------
06-12-2025 17:41:54.14305[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:41:54.14305[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '.   Saya akan mengingat nama Anda.' 
-----------------------
06-12-2025 17:41:54.14306[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '.   Saya akan mengingat nama Anda.' to the response array. tag name is template. 
-----------------------
06-12-2025 17:41:54.14306[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:41:54.14307[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
    [1] => Senang berkenalan dengan Anda, 
    [2] => dannu
    [3] => .   Saya akan mengingat nama Anda.
)

 
-----------------------
06-12-2025 17:41:54.14307[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:41:54.14308[4][4] - Elapsed time: 0.007 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:41:54.14309[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: dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda. 
-----------------------
06-12-2025 17:41:54.14310[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
06-12-2025 17:41:54.14310[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
06-12-2025 17:41:54.14311[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.' to the front of the [that_raw] array 
-----------------------
06-12-2025 17:41:54.14312[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
06-12-2025 17:41:54.14313[2][4] - Elapsed time: 0.019 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:41:54.14314[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'dannu Senang berkenalan dengan Anda, dannu.' 
-----------------------
06-12-2025 17:41:54.14315[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'dannu Senang berkenalan dengan Anda, dannu.' 
-----------------------
06-12-2025 17:41:54.14316[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU' 
-----------------------
06-12-2025 17:41:54.14317[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU' 
-----------------------
06-12-2025 17:41:54.14317[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya akan mengingat nama Anda.' 
-----------------------
06-12-2025 17:41:54.14318[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya akan mengingat nama Anda.' 
-----------------------
06-12-2025 17:41:54.14318[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:41:54.14319[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:41:54.14320[2][4] - Elapsed time: 0.011 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 [parsed_template] array 
-----------------------
06-12-2025 17:41:54.14321[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
06-12-2025 17:41:54.14322[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<set name="nama"><star/></set>      Senang berkenalan dengan Anda, <get name="nama"/>.      Saya akan mengingat nama Anda.' to the front of the [template] array 
-----------------------
06-12-2025 17:41:54.14322[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
06-12-2025 17:41:54.14323[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
06-12-2025 17:41:54.14324[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 ,
      'nama saya dannu',
      'dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.',
      167,
      '104925b33277f9b1616c7986fd761fa7',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
06-12-2025 17:41:54.15009[4][4] - Elapsed time: 6.844 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
06-12-2025 17:41:54.15025[3][4] - Elapsed time: 0.165 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:41:54.15047[2][4] - Elapsed time: 0.219 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
06-12-2025 17:41:54.15048[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
06-12-2025 17:41:54.15049[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
06-12-2025 17:41:54.15050[4][4] - Elapsed time: 0.016 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"104925b33277f9b1616c7986fd761fa7","usersay":"nama saya dannu","botsay":"dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.","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":"nama saya dannu","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":"1356","bot_id":"1","pattern":"NAMA SAYA *","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<set name=\"nama\"><star\/><\/set>      Senang berkenalan dengan Anda, <get name=\"nama\"\/>.      Saya akan mengingat nama Anda.","score":256,"current_that":"halo selamat datang ada yang bisa saya bantu hari ini","aiml_id":"1356","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)"}}} 
-----------------------
06-12-2025 17:41:54.15068[2][4] - Elapsed time: 0.180 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
06-12-2025 17:41:54.15070[0][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 17.062 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => nama saya dannu
    [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] => nama saya dannu
            [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] => 1356
                    [bot_id] => 1
                    [pattern] => NAMA SAYA *
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => <set name="nama"><star/></set>      Senang berkenalan dengan Anda, <get name="nama"/>.      Saya akan mengingat nama Anda.
                    [score] => 256
                    [current_that] => halo selamat datang ada yang bisa saya bantu hari ini
                    [aiml_id] => 1356
                    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => nama saya dannu
            [lookingfor] => NAMA SAYA DANNU
            [category_id] => 1356
            [pattern] => NAMA SAYA *
            [thatpattern] => 
            [template] => <set name="nama"><star/></set>      Senang berkenalan dengan Anda, <get name="nama"/>.      Saya akan mengingat nama Anda.
            [html_template] => 
            [topic] => 
            [score] => 256
            [aiml_id] => 1356
            [stars] => Array
                (
                    [1] => dannu
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.
        )

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

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

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

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

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

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

            [6] => Array
                (
                    [0] => Halo! Senang bertemu dengan Anda
                    [1] =>  Bagaimana kabar Anda?
                )

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

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

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

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

        )

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

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

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

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

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

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

            [7] => Array
                (
                    [1] => HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA
                )

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

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

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

            [12] => 
        )

    [input] => Array
        (
            [1] => nama saya dannu
            [2] => HALO
            [3] => APA ITU SISTEM INFORMASI
            [4] => APA ITU SIEGA
            [5] => BICARA SIEGA
            [6] => NAMA SAYA DANNU
            [7] => HALO
            [8] => BICARA MUSIK
            [9] => BICARA SIEGA
            [10] => SELESAI
        )

    [time_start] => 1765017714.1336
    [user_say] => Array
        (
            [1] => NAMA SAYA DANNU
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Saya akan mengingat nama Anda.
                    [3] => dannu Senang berkenalan dengan Anda, dannu.
                )

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

    [parsed_template] => Array
        (
            [1] => dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <set name="nama"><star/></set> Senang berkenalan dengan Anda, <get name="nama"/>. Saya akan mengingat nama Anda.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"104925b33277f9b1616c7986fd761fa7","usersay":"nama saya dannu","botsay":"dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.","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":"nama saya dannu","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":"1356","bot_id":"1","pattern":"NAMA SAYA *","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<set name=\"nama\"><star\/><\/set>      Senang berkenalan dengan Anda, <get name=\"nama\"\/>.      Saya akan mengingat nama Anda.","score":256,"current_that":"halo selamat datang ada yang bisa saya bantu hari ini","aiml_id":"1356","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)"}}}
)

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