06-12-2025 17:41:46.11114[0][4] - Elapsed time: 5.039 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:46.11141[4][4] - Elapsed time: 0.274 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
06-12-2025 17:41:46.11162[4][4] - Elapsed time: 0.205 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
06-12-2025 17:41:46.11172[4][4] - Elapsed time: 0.096 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
06-12-2025 17:41:46.11212[4][4] - Elapsed time: 0.409 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
06-12-2025 17:41:46.11214[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
06-12-2025 17:41:46.11228[1][4] - Elapsed time: 0.140 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:46.11261[0][4] - Elapsed time: 0.331 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = c6e975ec4ac654f38b415e31ba0726eb 
-----------------------
06-12-2025 17:41:46.11262[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'halo'. 
-----------------------
06-12-2025 17:41:46.11264[4][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
06-12-2025 17:41:46.11265[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:46.11266[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
06-12-2025 17:41:46.11313[4][4] - Elapsed time: 0.475 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: 104925b33277f9b1616c7986fd761fa7 
-----------------------
06-12-2025 17:41:46.11314[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
06-12-2025 17:41:46.11315[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:46.11363[2][4] - Elapsed time: 0.475 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
06-12-2025 17:41:46.11364[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
06-12-2025 17:41:46.11413[3][4] - Elapsed time: 0.491 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:46.11467[2][4] - Elapsed time: 0.544 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
06-12-2025 17:41:46.11473[2][4] - Elapsed time: 0.060 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on halo. 
-----------------------
06-12-2025 17:41:46.11474[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
06-12-2025 17:41:46.11532[4][4] - Elapsed time: 0.580 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
06-12-2025 17:41:46.11547[4][4] - Elapsed time: 0.143 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 17:41:46.11548[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HALO
Convo id: c6e975ec4ac654f38b415e31ba0726eb
Bot id: 1
Format: json 
-----------------------
06-12-2025 17:41:46.11549[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
06-12-2025 17:41:46.11549[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
06-12-2025 17:41:46.11550[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:46.11604[1][4] - Elapsed time: 0.543 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => apa itu sistem informasi
    [1] => apa itu siega
    [2] => bicara siega
    [3] => nama saya dannu
    [4] => halo
    [5] => bicara musik
    [6] => bicara siega
    [7] => selesai
    [8] => saya suka musik rock
    [9] => saya suka musik
)
 
-----------------------
06-12-2025 17:41:46.11606[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:46.11606[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Saya belum dapat memproses itu. Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.
    [1] => Maaf, saya kurang memahami pertanyaan Anda. Bisakah Anda mengatakannya dengan cara lain?
    [2] => Mode diskusi diubah. Mari kita bahas topik: siega. Silakan ajukan pertanyaan Anda.
    [3] => dannu Senang berkenalan dengan Anda, dannu. Saya akan mengingat nama Anda.
    [4] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
    [5] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
    [6] => Mode diskusi diubah. Mari kita bahas topik: siega. Silakan ajukan pertanyaan Anda.
    [7] => Baik, kita kembali ke obrolan umum. Topik diskusi telah ditutup.
    [8] => Wah, selera yang energik! Musik Rock sangat cocok buat begadang mengerjakan tugas besar.
    [9] => Musik adalah teman terbaik saat coding atau belajar! Ngomong-ngomong, Anda lebih suka Pop atau Rock?
)
 
-----------------------
06-12-2025 17:41:46.11608[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 17:41:46.11609[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Musik adalah teman terbaik saat coding atau belajar
    [1] =>  Ngomong-ngomong
    [2] =>  Anda lebih suka Pop atau Rock
    [3] => 
)

 
-----------------------
06-12-2025 17:41:46.11609[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:46.11610[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Musik adalah teman terbaik saat coding atau belajar Ngomong-ngomong Anda lebih suka Pop atau Rock ' 
-----------------------
06-12-2025 17:41:46.11611[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Musik adalah teman terbaik saat coding atau belajar Ngomong-ngomong Anda lebih suka Pop atau Rock ' 
-----------------------
06-12-2025 17:41:46.11611[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Musik adalah teman terbaik saat coding atau belajar Ngomong-ngomong Anda lebih suka Pop atau Rock ' 
-----------------------
06-12-2025 17:41:46.11613[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:41:46.11613[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:41:46.11614[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' to the front of the [that] array 
-----------------------
06-12-2025 17:41:46.11616[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
06-12-2025 17:41:46.11623[4][4] - Elapsed time: 0.068 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:41:46.11624[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:41:46.11625[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:41:46.11626[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MUSIK ADALAH TEMAN TERBAIK SAAT CODING ATAU BELAJAR NGOMONG NGOMONG ANDA LEBIH SUKA POP ATAU ROCK' 
-----------------------
06-12-2025 17:41:46.11627[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:46.11628[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Wah
    [1] =>  selera yang energik
    [2] =>  Musik Rock sangat cocok buat begadang mengerjakan tugas besar
    [3] => 
)

 
-----------------------
06-12-2025 17:41:46.11628[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:46.11629[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Wah selera yang energik Musik Rock sangat cocok buat begadang mengerjakan tugas besar ' 
-----------------------
06-12-2025 17:41:46.11629[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah selera yang energik Musik Rock sangat cocok buat begadang mengerjakan tugas besar ' 
-----------------------
06-12-2025 17:41:46.11630[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:46.11631[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:46.11631[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:46.11632[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' to the front of the [that] array 
-----------------------
06-12-2025 17:41:46.11633[4][4] - Elapsed time: 0.010 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:46.11633[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:46.11634[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH SELERA YANG ENERGIK MUSIK ROCK SANGAT COCOK BUAT BEGADANG MENGERJAKAN TUGAS BESAR' 
-----------------------
06-12-2025 17:41:46.11635[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:46.11636[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:46.11636[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:46.11637[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:46.11637[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Baik kita kembali ke obrolan umum Topik diskusi telah ditutup ' 
-----------------------
06-12-2025 17:41:46.11638[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:46.11638[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:46.11639[4][4] - Elapsed time: 0.009 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:46.11640[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAIK KITA KEMBALI KE OBROLAN UMUM TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:41:46.11640[2][4] - Elapsed time: 0.006 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:46.11641[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:46.11642[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:46.11642[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAIK KITA KEMBALI KE OBROLAN UMUM TOPIK DISKUSI TELAH DITUTUP' 
-----------------------
06-12-2025 17:41:46.11643[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:46.11644[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:46.11644[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:46.11645[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:46.11645[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Mode diskusi diubah Mari kita bahas topik: siega Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:41:46.11646[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:46.11646[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:46.11647[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:46.11648[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:46.11648[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:46.11649[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:46.11649[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:46.11650[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK SIEGA SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:41:46.11651[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:46.11651[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:46.11652[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:46.11652[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:46.11653[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:46.11653[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:46.11654[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:46.11655[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:46.11655[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:46.11656[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:46.11657[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 17:41:46.11657[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:46.11658[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:46.11658[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:46.11659[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:46.11660[2][4] - Elapsed time: 0.010 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:46.11661[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:41:46.11662[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:46.11662[4][4] - Elapsed time: 0.005 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:46.11663[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 17:41:46.11663[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 17:41:46.11664[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:46.11664[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:46.11665[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:46.11666[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 17:41:46.11666[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:46.11667[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:46.11667[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:46.11668[2][4] - Elapsed time: 0.005 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:46.11668[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:46.11670[4][4] - Elapsed time: 0.011 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:46.11670[4][4] - Elapsed time: 0.006 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:46.11671[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:46.11672[4][4] - Elapsed time: 0.009 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:46.11672[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:46.11673[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:46.11673[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'DANNU SENANG BERKENALAN DENGAN ANDA DANNU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 17:41:46.11674[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:46.11675[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:46.11675[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:46.11676[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:46.11676[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:46.11677[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:46.11678[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Mode diskusi diubah Mari kita bahas topik: siega Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 17:41:46.11678[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:46.11679[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:46.11679[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:46.11681[4][4] - Elapsed time: 0.012 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:46.11681[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:46.11682[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:46.11682[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:46.11684[4][4] - Elapsed time: 0.020 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:46.11685[4][4] - Elapsed time: 0.006 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:46.11686[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:46.11686[2][4] - Elapsed time: 0.005 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:46.11687[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:46.11687[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf saya kurang memahami pertanyaan Anda Bisakah Anda mengatakannya dengan cara lain ' 
-----------------------
06-12-2025 17:41:46.11689[4][4] - Elapsed time: 0.017 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:46.11689[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf saya kurang memahami pertanyaan Anda Bisakah Anda mengatakannya dengan cara lain ' 
-----------------------
06-12-2025 17:41:46.11690[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA KURANG MEMAHAMI PERTANYAAN ANDA BISAKAH ANDA MENGATAKANNYA DENGAN CARA LAIN' 
-----------------------
06-12-2025 17:41:46.11691[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:46.11691[2][4] - Elapsed time: 0.004 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:46.11692[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:46.11693[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:46.11694[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:46.11694[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:46.11695[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:46.11695[2][4] - Elapsed time: 0.006 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:46.11696[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:46.11696[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:46.11697[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:46.11697[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:46.11698[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:41:46.11699[4][4] - Elapsed time: 0.004 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:46.11699[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:46.11701[4][4] - Elapsed time: 0.013 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:46.11701[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 
-----------------------
06-12-2025 17:41:46.11702[4][4] - Elapsed time: 0.008 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:46.11702[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:46.11703[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:46.11704[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:46.11705[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => saya suka musik
)

 
-----------------------
06-12-2025 17:41:46.11705[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:46.11706[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'saya suka musik' 
-----------------------
06-12-2025 17:41:46.11706[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'saya suka musik' 
-----------------------
06-12-2025 17:41:46.11707[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'saya suka musik' 
-----------------------
06-12-2025 17:41:46.11707[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 17:41:46.11708[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA SUKA MUSIK' 
-----------------------
06-12-2025 17:41:46.11708[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA SUKA MUSIK' to the front of the [input] array 
-----------------------
06-12-2025 17:41:46.11709[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
06-12-2025 17:41:46.11710[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:46.11710[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:46.11711[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:46.11711[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'saya suka musik rock' 
-----------------------
06-12-2025 17:41:46.11712[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'saya suka musik rock' 
-----------------------
06-12-2025 17:41:46.11712[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:46.11713[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA SUKA MUSIK ROCK' 
-----------------------
06-12-2025 17:41:46.11714[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:46.11714[2][4] - Elapsed time: 0.009 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:46.11715[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:46.11716[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => selesai
)

 
-----------------------
06-12-2025 17:41:46.11716[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:41:46.11717[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'selesai' 
-----------------------
06-12-2025 17:41:46.11717[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'selesai' 
-----------------------
06-12-2025 17:41:46.11718[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'selesai' 
-----------------------
06-12-2025 17:41:46.11718[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELESAI' 
-----------------------
06-12-2025 17:41:46.11720[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELESAI' 
-----------------------
06-12-2025 17:41:46.11721[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SELESAI' to the front of the [input] array 
-----------------------
06-12-2025 17:41:46.11721[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:46.11722[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:46.11722[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:46.11724[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bicara siega' 
-----------------------
06-12-2025 17:41:46.11724[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:46.11725[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bicara siega' 
-----------------------
06-12-2025 17:41:46.11725[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:41:46.11726[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:41:46.11726[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:46.11727[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:46.11728[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bicara musik
)

 
-----------------------
06-12-2025 17:41:46.11728[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:46.11729[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:46.11729[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bicara musik' 
-----------------------
06-12-2025 17:41:46.11730[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bicara musik' 
-----------------------
06-12-2025 17:41:46.11730[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA MUSIK' 
-----------------------
06-12-2025 17:41:46.11731[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA MUSIK' 
-----------------------
06-12-2025 17:41:46.11731[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:46.11732[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:46.11732[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
06-12-2025 17:41:46.11733[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:46.11733[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
06-12-2025 17:41:46.11734[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
06-12-2025 17:41:46.11735[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
06-12-2025 17:41:46.11735[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 17:41:46.11736[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 17:41:46.11736[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 17:41:46.11737[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:46.11737[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:46.11738[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:41:46.11739[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:46.11740[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'nama saya dannu' 
-----------------------
06-12-2025 17:41:46.11740[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama saya dannu' 
-----------------------
06-12-2025 17:41:46.11741[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:41:46.11741[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA DANNU' 
-----------------------
06-12-2025 17:41:46.11742[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA DANNU' to the front of the [input] array 
-----------------------
06-12-2025 17:41:46.11742[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:46.11743[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:46.11743[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:46.11744[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:46.11744[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:46.11745[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bicara siega' 
-----------------------
06-12-2025 17:41:46.11746[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:41:46.11746[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BICARA SIEGA' 
-----------------------
06-12-2025 17:41:46.11747[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:46.11747[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:46.11748[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:46.11748[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:46.11749[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:46.11749[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:46.11750[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu siega' 
-----------------------
06-12-2025 17:41:46.11750[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:41:46.11751[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SIEGA' 
-----------------------
06-12-2025 17:41:46.11751[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:46.11752[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:46.11753[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:46.11753[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 17:41:46.11754[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa itu sistem informasi' 
-----------------------
06-12-2025 17:41:46.11754[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:46.11754[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu sistem informasi' 
-----------------------
06-12-2025 17:41:46.11755[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:46.11756[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA ITU SISTEM INFORMASI' 
-----------------------
06-12-2025 17:41:46.11757[2][4] - Elapsed time: 0.017 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:46.11809[2][4] - Elapsed time: 0.513 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
06-12-2025 17:41:46.11810[3][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
06-12-2025 17:41:46.11838[4][4] - Elapsed time: 0.282 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
06-12-2025 17:41:46.11840[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
06-12-2025 17:41:46.11840[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
06-12-2025 17:41:46.11841[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HALO: raw say = halo 
-----------------------
06-12-2025 17:41:46.11841[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
06-12-2025 17:41:46.11842[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [user_say] array 
-----------------------
06-12-2025 17:41:46.11843[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
06-12-2025 17:41:46.11844[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = halo, RAW say = halo 
-----------------------
06-12-2025 17:41:46.11844[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'halo' to the front of the [input] array 
-----------------------
06-12-2025 17:41:46.11845[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
06-12-2025 17:41:46.11846[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO' 
-----------------------
06-12-2025 17:41:46.11847[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 17:41:46.11847[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:46.11889[4][4] - Elapsed time: 0.418 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
06-12-2025 17:41:46.11891[3][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = '104925b33277f9b1616c7986fd761fa7'
    AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 17:41:46.11936[2][4] - Elapsed time: 0.452 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
06-12-2025 17:41:46.11937[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
06-12-2025 17:41:46.11938[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
06-12-2025 17:41:46.11977[4][4] - Elapsed time: 0.393 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'SIEGA' 
-----------------------
06-12-2025 17:41:46.11979[3][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA' 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:46.12042[3][4] - Elapsed time: 0.636 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
06-12-2025 17:41:46.12043[2][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (7) potential AIML matches 
-----------------------
06-12-2025 17:41:46.12085[1][4] - Elapsed time: 0.419 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = SAYA BELUM DAPAT MEMPROSES ITU COBA TANYAKAN HAL LAIN ATAU GUNAKAN KATA KATA YANG LEBIH SEDERHANA 
-----------------------
06-12-2025 17:41:46.12086[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:46.12087[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HALO' 
-----------------------
06-12-2025 17:41:46.12110[4][4] - Elapsed time: 0.234 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
06-12-2025 17:41:46.12111[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 17:41:46.12155[4][4] - Elapsed time: 0.439 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1339
            [bot_id] => 1
            [pattern] => HALO
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
            [score] => 260
            [current_that] => saya belum dapat memproses itu coba tanyakan hal lain atau gunakan kata kata yang lebih sederhana
            [aiml_id] => 1339
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
        )

    [1] => Array
        (
            [id] => 1385
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
            [score] => 252
            [current_that] => saya belum dapat memproses itu coba tanyakan hal lain atau gunakan kata kata yang lebih sederhana
            [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:46.12157[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

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

)

 
-----------------------
06-12-2025 17:41:46.12184[4][4] - Elapsed time: 0.273 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1339
    [bot_id] => 1
    [pattern] => HALO
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
    [score] => 260
    [current_that] => saya belum dapat memproses itu coba tanyakan hal lain atau gunakan kata kata yang lebih sederhana
    [aiml_id] => 1339
    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
)
 
-----------------------
06-12-2025 17:41:46.12185[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
06-12-2025 17:41:46.12187[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1339 (HALO) 
-----------------------
06-12-2025 17:41:46.12188[3][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
06-12-2025 17:41:46.12189[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'HALO' 
-----------------------
06-12-2025 17:41:46.12189[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 17:41:46.12190[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 17:41:46.12191[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1339
    [category_id] => 1339
    [html_template] => 
    [lookingfor] => HALO
    [pattern] => HALO
    [score] => 260
    [stars] => Array
        (
        )

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

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

    [user_raw] => halo
)
 
-----------------------
06-12-2025 17:41:46.12192[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:46.12193[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
06-12-2025 17:41:46.12198[4][4] - Elapsed time: 0.057 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text></li><li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li><li><text>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</text></li><li><text>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</text></li></random></template> 
-----------------------
06-12-2025 17:41:46.12213[2][4] - Elapsed time: 0.146 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:41:46.12218[4][4] - Elapsed time: 0.048 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text></li><li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li><li><text>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</text></li><li><text>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</text></li></random></template>
 
-----------------------
06-12-2025 17:41:46.12218[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:46.12220[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:41:46.12222[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text></li><li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li><li><text>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</text></li><li><text>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</text></li></random> 
-----------------------
06-12-2025 17:41:46.12223[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
06-12-2025 17:41:46.12224[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
06-12-2025 17:41:46.12224[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
06-12-2025 17:41:46.12229[4][4] - Elapsed time: 0.052 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?
        )

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

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

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

)
 
-----------------------
06-12-2025 17:41:46.12230[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #0 from random tag.
 
-----------------------
06-12-2025 17:41:46.12231[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:41:46.12232[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text></li> 
-----------------------
06-12-2025 17:41:46.12232[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
06-12-2025 17:41:46.12233[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 17:41:46.12234[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text> 
-----------------------
06-12-2025 17:41:46.12234[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
06-12-2025 17:41:46.12235[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:46.12235[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 17:41:46.12236[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?' to the response array. tag name is text 
-----------------------
06-12-2025 17:41:46.12236[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:46.12237[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?
)

 
-----------------------
06-12-2025 17:41:46.12238[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:46.12238[4][4] - Elapsed time: 0.007 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:46.12239[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo! Selamat datang.    Ada yang bisa saya bantu hari ini?' to the response array. tag name is li. 
-----------------------
06-12-2025 17:41:46.12240[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:46.12240[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Selamat datang.    Ada yang bisa saya bantu hari ini?
)

 
-----------------------
06-12-2025 17:41:46.12241[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:46.12241[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:46.12242[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Halo! Selamat datang.  Ada yang bisa saya bantu hari ini?' for output. 
-----------------------
06-12-2025 17:41:46.12242[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo! Selamat datang.  Ada yang bisa saya bantu hari ini?' to the response array. tag name is random 
-----------------------
06-12-2025 17:41:46.12243[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:46.12243[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Selamat datang.  Ada yang bisa saya bantu hari ini?
)

 
-----------------------
06-12-2025 17:41:46.12244[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:46.12244[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:46.12245[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo! Selamat datang. Ada yang bisa saya bantu hari ini?' to the response array. tag name is template. 
-----------------------
06-12-2025 17:41:46.12246[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:46.12246[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
)

 
-----------------------
06-12-2025 17:41:46.12247[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:46.12247[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:46.12248[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Halo! Selamat datang. Ada yang bisa saya bantu hari ini? 
-----------------------
06-12-2025 17:41:46.12249[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
06-12-2025 17:41:46.12250[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:46.12250[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_raw] array 
-----------------------
06-12-2025 17:41:46.12251[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:46.12253[2][4] - Elapsed time: 0.020 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:46.12254[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo!' 
-----------------------
06-12-2025 17:41:46.12255[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo!' 
-----------------------
06-12-2025 17:41:46.12256[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 17:41:46.12256[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 17:41:46.12257[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Selamat datang.' 
-----------------------
06-12-2025 17:41:46.12257[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Selamat datang.' 
-----------------------
06-12-2025 17:41:46.12258[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG' 
-----------------------
06-12-2025 17:41:46.12258[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELAMAT DATANG' 
-----------------------
06-12-2025 17:41:46.12259[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ada yang bisa saya bantu hari ini?' 
-----------------------
06-12-2025 17:41:46.12259[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ada yang bisa saya bantu hari ini?' 
-----------------------
06-12-2025 17:41:46.12260[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 17:41:46.12261[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 17:41:46.12262[2][4] - Elapsed time: 0.010 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 [parsed_template] array 
-----------------------
06-12-2025 17:41:46.12262[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
06-12-2025 17:41:46.12263[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>' to the front of the [template] array 
-----------------------
06-12-2025 17:41:46.12264[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
06-12-2025 17:41:46.12265[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
06-12-2025 17:41:46.12266[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 ,
      'halo',
      'Halo! Selamat datang. Ada yang bisa saya bantu hari ini?',
      167,
      '104925b33277f9b1616c7986fd761fa7',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
06-12-2025 17:41:46.13330[4][4] - Elapsed time: 10.635 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
06-12-2025 17:41:46.13356[3][4] - Elapsed time: 0.259 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:46.13386[2][4] - Elapsed time: 0.300 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
06-12-2025 17:41:46.13387[4][4] - Elapsed time: 0.011 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
06-12-2025 17:41:46.13388[2][4] - Elapsed time: 0.012 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
06-12-2025 17:41:46.13391[4][4] - Elapsed time: 0.031 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"104925b33277f9b1616c7986fd761fa7","usersay":"halo","botsay":"Halo! Selamat datang. Ada yang bisa saya bantu hari ini?","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":"halo","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"1339","bot_id":"1","pattern":"HALO","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<random>\n        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?<\/li>\n        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?<\/li>\n        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?<\/li>\n        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.<\/li>\n      <\/random>","score":260,"current_that":"saya belum dapat memproses itu coba tanyakan hal lain atau gunakan kata kata yang lebih sederhana","aiml_id":"1339","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)"}}} 
-----------------------
06-12-2025 17:41:46.13438[2][4] - Elapsed time: 0.467 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
06-12-2025 17:41:46.13441[0][4] - Elapsed time: 0.034 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 28.285 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => halo
    [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] => halo
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => imanueldannu910@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 1339
                    [bot_id] => 1
                    [pattern] => HALO
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
                    [score] => 260
                    [current_that] => saya belum dapat memproses itu coba tanyakan hal lain atau gunakan kata kata yang lebih sederhana
                    [aiml_id] => 1339
                    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
                )

        )

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

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
        )

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

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

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

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

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

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

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

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

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

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

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

        )

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

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

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

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

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

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

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

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

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

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

            [12] => 
        )

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

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Ada yang bisa saya bantu hari ini?
                    [3] => Selamat datang.
                    [4] => Halo!
                )

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

    [parsed_template] => Array
        (
            [1] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

    [send_to_user] => {"convo_id":"104925b33277f9b1616c7986fd761fa7","usersay":"halo","botsay":"Halo! Selamat datang. Ada yang bisa saya bantu hari ini?","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":"halo","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"1339","bot_id":"1","pattern":"HALO","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<random>\n        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?<\/li>\n        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?<\/li>\n        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?<\/li>\n        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.<\/li>\n      <\/random>","score":260,"current_that":"saya belum dapat memproses itu coba tanyakan hal lain atau gunakan kata kata yang lebih sederhana","aiml_id":"1339","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)"}}}
)

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