06-12-2025 15:03:30.09115[0][4] - Elapsed time: 5.007 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 15:03:30.09149[4][4] - Elapsed time: 0.343 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
06-12-2025 15:03:30.09174[4][4] - Elapsed time: 0.249 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
06-12-2025 15:03:30.09190[4][4] - Elapsed time: 0.163 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
06-12-2025 15:03:30.09240[4][4] - Elapsed time: 0.502 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
06-12-2025 15:03:30.09242[4][4] - Elapsed time: 0.020 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
06-12-2025 15:03:30.09259[1][4] - Elapsed time: 0.164 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 15:03:30.09299[0][4] - Elapsed time: 0.402 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 04b70839803c751f4372608fd940be8b 
-----------------------
06-12-2025 15:03:30.09300[4][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Bahas musik'. 
-----------------------
06-12-2025 15:03:30.09303[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
06-12-2025 15:03:30.09304[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
06-12-2025 15:03:30.09305[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
06-12-2025 15:03:30.09326[4][4] - Elapsed time: 0.216 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: esp32_user 
-----------------------
06-12-2025 15:03:30.09328[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
06-12-2025 15:03:30.09329[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
06-12-2025 15:03:30.09354[2][4] - Elapsed time: 0.258 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
06-12-2025 15:03:30.09356[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
06-12-2025 15:03:30.09380[3][4] - Elapsed time: 0.247 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 165 AND `bot_id` = 1; 
-----------------------
06-12-2025 15:03:30.09410[2][4] - Elapsed time: 0.297 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
06-12-2025 15:03:30.09419[2][4] - Elapsed time: 0.084 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Bahas. 
-----------------------
06-12-2025 15:03:30.09420[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
06-12-2025 15:03:30.09463[2][4] - Elapsed time: 0.428 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
06-12-2025 15:03:30.09465[2][4] - Elapsed time: 0.022 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on musik. 
-----------------------
06-12-2025 15:03:30.09467[4][4] - Elapsed time: 0.020 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas musik' 
-----------------------
06-12-2025 15:03:30.09490[4][4] - Elapsed time: 0.227 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS MUSIK' 
-----------------------
06-12-2025 15:03:30.09492[2][4] - Elapsed time: 0.019 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: BAHAS MUSIK
Convo id: 04b70839803c751f4372608fd940be8b
Bot id: 1
Format:  
-----------------------
06-12-2025 15:03:30.09493[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
06-12-2025 15:03:30.09493[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
06-12-2025 15:03:30.09494[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 165 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
06-12-2025 15:03:30.09520[1][4] - Elapsed time: 0.254 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Bahas
    [1] => Halo
    [2] => Bahas yegar
    [3] => Nama saya Abil
    [4] => Halo
    [5] => Nama saya Dellu
    [6] => Halo
    [7] => Halo
    [8] => Halo
    [9] => Halo
)
 
-----------------------
06-12-2025 15:03:30.09521[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
06-12-2025 15:03:30.09522[1][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?
    [1] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
    [2] => Mode diskusi diubah. Mari kita bahas topik: yegar. Silakan ajukan pertanyaan Anda.
    [3] => Abil Senang berkenalan dengan Anda, Abil. Saya akan mengingat nama Anda.
    [4] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
    [5] => Dellu Senang berkenalan dengan Anda, Dellu. Saya akan mengingat nama Anda.
    [6] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
    [7] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
    [8] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
    [9] => Selamat datang! Saya di sini untuk membantu. Silakan tanyakan apa saja.
)
 
-----------------------
06-12-2025 15:03:30.09524[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 15:03:30.09525[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Selamat datang
    [1] =>  Saya di sini untuk membantu
    [2] =>  Silakan tanyakan apa saja
    [3] => 
)

 
-----------------------
06-12-2025 15:03:30.09525[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 15:03:30.09526[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
06-12-2025 15:03:30.09527[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
06-12-2025 15:03:30.09527[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
06-12-2025 15:03:30.09529[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:03:30.09529[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:03:30.09530[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' to the front of the [that] array 
-----------------------
06-12-2025 15:03:30.09535[4][4] - Elapsed time: 0.043 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
06-12-2025 15:03:30.09545[4][4] - Elapsed time: 0.105 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:03:30.09546[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:03:30.09547[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:03:30.09548[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:03:30.09549[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.09550[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Selamat datang
    [2] =>  Ada yang bisa saya bantu hari ini
    [3] => 
)

 
-----------------------
06-12-2025 15:03:30.09550[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 15:03:30.09551[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:03:30.09551[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:03:30.09552[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:03:30.09553[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09553[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09554[2][4] - Elapsed time: 0.005 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 15:03:30.09555[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09556[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09557[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09558[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09560[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.09561[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Selamat datang
    [2] =>  Ada yang bisa saya bantu hari ini
    [3] => 
)

 
-----------------------
06-12-2025 15:03:30.09562[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:03:30.09563[4][4] - Elapsed time: 0.010 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 15:03:30.09563[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:03:30.09564[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:03:30.09565[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09565[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09566[2][4] - Elapsed time: 0.005 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 15:03:30.09567[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09568[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09568[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09569[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09570[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 15:03:30.09570[2][4] - Elapsed time: 0.006 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 15:03:30.09571[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 15:03:30.09571[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 15:03:30.09572[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 15:03:30.09572[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:03:30.09573[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 15:03:30.09574[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 15:03:30.09574[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 15:03:30.09575[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 15:03:30.09575[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 15:03:30.09576[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 15:03:30.09577[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 15:03:30.09577[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 15:03:30.09578[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Dellu Senang berkenalan dengan Anda
    [1] =>  Dellu
    [2] =>  Saya akan mengingat nama Anda
    [3] => 
)

 
-----------------------
06-12-2025 15:03:30.09579[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 15:03:30.09580[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Dellu Senang berkenalan dengan Anda Dellu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 15:03:30.09581[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Dellu Senang berkenalan dengan Anda Dellu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 15:03:30.09582[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Dellu Senang berkenalan dengan Anda Dellu Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 15:03:30.09584[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DELLU SENANG BERKENALAN DENGAN ANDA DELLU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09585[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DELLU SENANG BERKENALAN DENGAN ANDA DELLU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09586[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'DELLU SENANG BERKENALAN DENGAN ANDA DELLU SAYA AKAN MENGINGAT NAMA ANDA' to the front of the [that] array 
-----------------------
06-12-2025 15:03:30.09589[4][4] - Elapsed time: 0.026 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'DELLU SENANG BERKENALAN DENGAN ANDA DELLU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09590[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'DELLU SENANG BERKENALAN DENGAN ANDA DELLU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09591[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DELLU SENANG BERKENALAN DENGAN ANDA DELLU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09592[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DELLU SENANG BERKENALAN DENGAN ANDA DELLU SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09593[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 15:03:30.09594[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Selamat datang
    [2] =>  Ada yang bisa saya bantu hari ini
    [3] => 
)

 
-----------------------
06-12-2025 15:03:30.09594[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 15:03:30.09595[4][4] - Elapsed time: 0.009 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 15:03:30.09596[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:03:30.09597[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:03:30.09598[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09598[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09599[2][4] - Elapsed time: 0.008 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 15:03:30.09600[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09600[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09601[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09602[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:03:30.09602[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 15:03:30.09603[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Abil Senang berkenalan dengan Anda
    [1] =>  Abil
    [2] =>  Saya akan mengingat nama Anda
    [3] => 
)

 
-----------------------
06-12-2025 15:03:30.09604[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 15:03:30.09604[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Abil Senang berkenalan dengan Anda Abil Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 15:03:30.09605[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Abil Senang berkenalan dengan Anda Abil Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 15:03:30.09605[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Abil Senang berkenalan dengan Anda Abil Saya akan mengingat nama Anda ' 
-----------------------
06-12-2025 15:03:30.09606[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ABIL SENANG BERKENALAN DENGAN ANDA ABIL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09607[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ABIL SENANG BERKENALAN DENGAN ANDA ABIL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09608[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'ABIL SENANG BERKENALAN DENGAN ANDA ABIL SAYA AKAN MENGINGAT NAMA ANDA' to the front of the [that] array 
-----------------------
06-12-2025 15:03:30.09610[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ABIL SENANG BERKENALAN DENGAN ANDA ABIL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09611[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ABIL SENANG BERKENALAN DENGAN ANDA ABIL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09613[4][4] - Elapsed time: 0.021 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ABIL SENANG BERKENALAN DENGAN ANDA ABIL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09614[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ABIL SENANG BERKENALAN DENGAN ANDA ABIL SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
06-12-2025 15:03:30.09615[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.09616[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Mode diskusi diubah
    [1] =>  Mari kita bahas topik: yegar
    [2] =>  Silakan ajukan pertanyaan Anda
    [3] => 
)

 
-----------------------
06-12-2025 15:03:30.09617[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:03:30.09618[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Mode diskusi diubah Mari kita bahas topik: yegar Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 15:03:30.09618[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: yegar Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 15:03:30.09620[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mode diskusi diubah Mari kita bahas topik: yegar Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 15:03:30.09621[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK YEGAR SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:03:30.09622[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK YEGAR SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:03:30.09622[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK YEGAR SILAKAN AJUKAN PERTANYAAN ANDA' to the front of the [that] array 
-----------------------
06-12-2025 15:03:30.09623[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK YEGAR SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:03:30.09624[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK YEGAR SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:03:30.09624[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK YEGAR SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:03:30.09626[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK YEGAR SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:03:30.09627[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 15:03:30.09627[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Senang bertemu dengan Anda
    [2] =>  Bagaimana kabar Anda
    [3] => 
)

 
-----------------------
06-12-2025 15:03:30.09628[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 15:03:30.09629[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 15:03:30.09629[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 15:03:30.09629[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:03:30.09630[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 15:03:30.09631[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 15:03:30.09631[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 15:03:30.09632[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 15:03:30.09632[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 15:03:30.09633[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 15:03:30.09634[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:03:30.09635[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.09636[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  saya masih belajar
    [2] =>  Bisakah Anda bertanya dengan kalimat yang berbeda
    [3] => 
)

 
-----------------------
06-12-2025 15:03:30.09637[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:03:30.09639[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf saya masih belajar Bisakah Anda bertanya dengan kalimat yang berbeda ' 
-----------------------
06-12-2025 15:03:30.09640[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf saya masih belajar Bisakah Anda bertanya dengan kalimat yang berbeda ' 
-----------------------
06-12-2025 15:03:30.09641[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf saya masih belajar Bisakah Anda bertanya dengan kalimat yang berbeda ' 
-----------------------
06-12-2025 15:03:30.09642[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 15:03:30.09643[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 15:03:30.09644[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' to the front of the [that] array 
-----------------------
06-12-2025 15:03:30.09646[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 15:03:30.09646[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 15:03:30.09647[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 15:03:30.09648[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' 
-----------------------
06-12-2025 15:03:30.09648[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
06-12-2025 15:03:30.09650[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.09651[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:03:30.09651[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 15:03:30.09652[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:03:30.09652[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:03:30.09653[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:03:30.09653[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:03:30.09654[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:03:30.09654[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09655[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
06-12-2025 15:03:30.09656[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 15:03:30.09656[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:03:30.09657[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 15:03:30.09657[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:03:30.09658[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:03:30.09659[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:03:30.09660[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:03:30.09661[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:03:30.09662[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09664[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.09665[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:03:30.09666[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:03:30.09667[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:03:30.09667[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:03:30.09668[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:03:30.09669[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:03:30.09669[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:03:30.09671[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09672[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 15:03:30.09673[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:03:30.09674[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 15:03:30.09674[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:03:30.09675[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:03:30.09675[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:03:30.09676[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:03:30.09676[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:03:30.09677[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09677[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 15:03:30.09678[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Dellu
)

 
-----------------------
06-12-2025 15:03:30.09678[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 15:03:30.09679[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Dellu' 
-----------------------
06-12-2025 15:03:30.09680[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Dellu' 
-----------------------
06-12-2025 15:03:30.09681[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Dellu' 
-----------------------
06-12-2025 15:03:30.09682[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DELLU' 
-----------------------
06-12-2025 15:03:30.09683[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA DELLU' 
-----------------------
06-12-2025 15:03:30.09684[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA DELLU' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09685[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.09686[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:03:30.09688[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:03:30.09689[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:03:30.09690[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:03:30.09691[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:03:30.09693[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:03:30.09694[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:03:30.09694[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09695[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.09696[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Abil
)

 
-----------------------
06-12-2025 15:03:30.09697[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 15:03:30.09697[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Abil' 
-----------------------
06-12-2025 15:03:30.09698[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Abil' 
-----------------------
06-12-2025 15:03:30.09698[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Abil' 
-----------------------
06-12-2025 15:03:30.09699[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA ABIL' 
-----------------------
06-12-2025 15:03:30.09700[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA ABIL' 
-----------------------
06-12-2025 15:03:30.09700[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA ABIL' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09701[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 15:03:30.09701[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bahas yegar
)

 
-----------------------
06-12-2025 15:03:30.09702[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 15:03:30.09702[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bahas yegar' 
-----------------------
06-12-2025 15:03:30.09703[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bahas yegar' 
-----------------------
06-12-2025 15:03:30.09703[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas yegar' 
-----------------------
06-12-2025 15:03:30.09704[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS YEGAR' 
-----------------------
06-12-2025 15:03:30.09705[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAHAS YEGAR' 
-----------------------
06-12-2025 15:03:30.09705[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS YEGAR' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09706[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 15:03:30.09707[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:03:30.09708[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 15:03:30.09709[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:03:30.09710[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:03:30.09711[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:03:30.09712[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:03:30.09713[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:03:30.09714[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09716[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.09717[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bahas
)

 
-----------------------
06-12-2025 15:03:30.09718[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 15:03:30.09719[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bahas' 
-----------------------
06-12-2025 15:03:30.09719[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bahas' 
-----------------------
06-12-2025 15:03:30.09720[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas' 
-----------------------
06-12-2025 15:03:30.09720[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS' 
-----------------------
06-12-2025 15:03:30.09721[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAHAS' 
-----------------------
06-12-2025 15:03:30.09721[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09775[2][4] - Elapsed time: 0.540 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
06-12-2025 15:03:30.09777[3][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
06-12-2025 15:03:30.09797[4][4] - Elapsed time: 0.199 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
06-12-2025 15:03:30.09799[0][4] - Elapsed time: 0.017 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
06-12-2025 15:03:30.09799[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
06-12-2025 15:03:30.09800[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = BAHAS MUSIK: raw say = Bahas musik 
-----------------------
06-12-2025 15:03:30.09801[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
06-12-2025 15:03:30.09801[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS MUSIK' to the front of the [user_say] array 
-----------------------
06-12-2025 15:03:30.09802[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
06-12-2025 15:03:30.09803[0][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Bahas musik, RAW say = Bahas musik 
-----------------------
06-12-2025 15:03:30.09804[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Bahas musik' to the front of the [input] array 
-----------------------
06-12-2025 15:03:30.09805[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
06-12-2025 15:03:30.09805[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'BAHAS MUSIK' 
-----------------------
06-12-2025 15:03:30.09806[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS MUSIK' 
-----------------------
06-12-2025 15:03:30.09807[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 15:03:30.09834[4][4] - Elapsed time: 0.269 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
06-12-2025 15:03:30.09837[3][4] - Elapsed time: 0.033 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'esp32_user'
    AND (
        'BAHAS MUSIK' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 15:03:30.09860[2][4] - Elapsed time: 0.233 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
06-12-2025 15:03:30.09862[4][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
06-12-2025 15:03:30.09863[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
06-12-2025 15:03:30.09889[4][4] - Elapsed time: 0.258 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'YEGAR' 
-----------------------
06-12-2025 15:03:30.09891[3][4] - Elapsed time: 0.022 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 (
        'BAHAS MUSIK' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'YEGAR' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 15:03:30.09925[3][4] - Elapsed time: 0.345 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
06-12-2025 15:03:30.09927[2][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
06-12-2025 15:03:30.09955[1][4] - Elapsed time: 0.281 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = MAAF SAYA MASIH BELAJAR BISAKAH ANDA BERTANYA DENGAN KALIMAT YANG BERBEDA 
-----------------------
06-12-2025 15:03:30.09957[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
06-12-2025 15:03:30.09957[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 'BAHAS MUSIK' 
-----------------------
06-12-2025 15:03:30.09968[4][4] - Elapsed time: 0.111 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
06-12-2025 15:03:30.09970[4][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 15:03:30.10008[4][4] - Elapsed time: 0.374 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1392
            [bot_id] => 1
            [pattern] => BAHAS *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <think><set name="topic"><star/></set></think>
      Mode diskusi diubah. Mari kita bahas topik: <star/>. Silakan ajukan pertanyaan Anda.
            [score] => 254
            [current_that] => maaf saya masih belajar bisakah anda bertanya dengan kalimat yang berbeda
            [aiml_id] => 1392
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: bahas (2 points), star word match (1 points)
        )

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

Array
(
    [0] => Array
        (
            [id] => 1392
            [bot_id] => 1
            [pattern] => BAHAS *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <think><set name="topic"><star/></set></think>
      Mode diskusi diubah. Mari kita bahas topik: <star/>. Silakan ajukan pertanyaan Anda.
            [score] => 254
            [current_that] => maaf saya masih belajar bisakah anda bertanya dengan kalimat yang berbeda
            [aiml_id] => 1392
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: bahas (2 points), star word match (1 points)
        )

)

 
-----------------------
06-12-2025 15:03:30.10045[4][4] - Elapsed time: 0.354 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1392
    [bot_id] => 1
    [pattern] => BAHAS *
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => <think><set name="topic"><star/></set></think>
      Mode diskusi diubah. Mari kita bahas topik: <star/>. Silakan ajukan pertanyaan Anda.
    [score] => 254
    [current_that] => maaf saya masih belajar bisakah anda bertanya dengan kalimat yang berbeda
    [aiml_id] => 1392
    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: bahas (2 points), star word match (1 points)
)
 
-----------------------
06-12-2025 15:03:30.10046[2][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
06-12-2025 15:03:30.10048[4][4] - Elapsed time: 0.023 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1392 (BAHAS *) 
-----------------------
06-12-2025 15:03:30.10050[3][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
06-12-2025 15:03:30.10051[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'BAHAS *' 
-----------------------
06-12-2025 15:03:30.10052[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
06-12-2025 15:03:30.10053[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~BAHAS (.+)$~siuU: Searching Bahas musik for a match. 
-----------------------
06-12-2025 15:03:30.10058[2][4] - Elapsed time: 0.045 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => Bahas musik
        )

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

)
 
-----------------------
06-12-2025 15:03:30.10059[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'musik' to the stars stack. 
-----------------------
06-12-2025 15:03:30.10060[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => musik
)
 
-----------------------
06-12-2025 15:03:30.10060[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 15:03:30.10061[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 15:03:30.10062[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1392
    [category_id] => 1392
    [html_template] => 
    [lookingfor] => BAHAS MUSIK
    [pattern] => BAHAS *
    [score] => 254
    [stars] => Array
        (
            [1] => musik
        )

    [template] => <think><set name="topic"><star/></set></think>
      Mode diskusi diubah. Mari kita bahas topik: <star/>. Silakan ajukan pertanyaan Anda.
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => Bahas musik
)
 
-----------------------
06-12-2025 15:03:30.10063[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 15:03:30.10063[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 15:03:30.10069[4][4] - Elapsed time: 0.056 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><think><set name="topic"><star/></set></think><text>      Mode diskusi diubah. Mari kita bahas topik: </text><star/><text>. Silakan ajukan pertanyaan Anda.</text></template> 
-----------------------
06-12-2025 15:03:30.10087[2][4] - Elapsed time: 0.180 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:03:30.10093[4][4] - Elapsed time: 0.061 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><think><set name="topic"><star/></set></think><text>      Mode diskusi diubah. Mari kita bahas topik: </text><star/><text>. Silakan ajukan pertanyaan Anda.</text></template>
 
-----------------------
06-12-2025 15:03:30.10094[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
06-12-2025 15:03:30.10096[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:03:30.10098[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element think at level 1. element XML = <think><set name="topic"><star/></set></think> 
-----------------------
06-12-2025 15:03:30.10099[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
06-12-2025 15:03:30.10100[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
06-12-2025 15:03:30.10101[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
06-12-2025 15:03:30.10103[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
06-12-2025 15:03:30.10104[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:03:30.10106[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="topic"><star/></set> 
-----------------------
06-12-2025 15:03:30.10107[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
06-12-2025 15:03:30.10108[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
06-12-2025 15:03:30.10109[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
06-12-2025 15:03:30.10110[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
06-12-2025 15:03:30.10111[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:03:30.10111[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 3. element XML = <star/> 
-----------------------
06-12-2025 15:03:30.10112[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
06-12-2025 15:03:30.10113[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
06-12-2025 15:03:30.10113[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
06-12-2025 15:03:30.10114[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 3. element = <star/> 
-----------------------
06-12-2025 15:03:30.10115[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => Bahas musik
    [lookingfor] => BAHAS MUSIK
    [category_id] => 1392
    [pattern] => BAHAS *
    [thatpattern] => 
    [template] => <think><set name="topic"><star/></set></think>
      Mode diskusi diubah. Mari kita bahas topik: <star/>. Silakan ajukan pertanyaan Anda.
    [html_template] => 
    [topic] => 
    [score] => 254
    [aiml_id] => 1392
    [stars] => Array
        (
            [1] => musik
        )

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

    [topic_stars] => Array
        (
        )

)
 
-----------------------
06-12-2025 15:03:30.10115[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
06-12-2025 15:03:30.10116[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'musik' to the response array. 
-----------------------
06-12-2025 15:03:30.10116[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = musik 
-----------------------
06-12-2025 15:03:30.10117[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 15:03:30.10117[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

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

)

 
-----------------------
06-12-2025 15:03:30.10121[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 15:03:30.10121[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.10122[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
06-12-2025 15:03:30.10122[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 15:03:30.10123[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
06-12-2025 15:03:30.10124[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'topic' to the client properties array. Value is 'musik' 
-----------------------
06-12-2025 15:03:30.10125[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 202.10.43.135
    [name] => Seeker
    [nama] => Abil
    [topic] => musik
)
 
-----------------------
06-12-2025 15:03:30.10153[2][4] - Elapsed time: 0.279 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][586]
updating data in the DB 
-----------------------
06-12-2025 15:03:30.10267[4][4] - Elapsed time: 1.143 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'musik' to the response array. tag name is set 
-----------------------
06-12-2025 15:03:30.10268[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.10269[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => musik
        )

)

 
-----------------------
06-12-2025 15:03:30.10270[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 15:03:30.10270[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.10271[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
06-12-2025 15:03:30.10271[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 15:03:30.10272[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
06-12-2025 15:03:30.10273[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
06-12-2025 15:03:30.10273[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 15:03:30.10274[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
06-12-2025 15:03:30.10274[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 15:03:30.10275[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
06-12-2025 15:03:30.10275[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
06-12-2025 15:03:30.10276[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:03:30.10277[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>      Mode diskusi diubah. Mari kita bahas topik: </text> 
-----------------------
06-12-2025 15:03:30.10278[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
06-12-2025 15:03:30.10278[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 15:03:30.10279[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 15:03:30.10280[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '      Mode diskusi diubah. Mari kita bahas topik: ' to the response array. tag name is text 
-----------------------
06-12-2025 15:03:30.10281[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 15:03:30.10282[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] =>       Mode diskusi diubah. Mari kita bahas topik: 
)

 
-----------------------
06-12-2025 15:03:30.10283[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:03:30.10284[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '   Mode diskusi diubah. Mari kita bahas topik: ' 
-----------------------
06-12-2025 15:03:30.10285[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Mode diskusi diubah. Mari kita bahas topik: ' to the response array. tag name is template. 
-----------------------
06-12-2025 15:03:30.10286[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:03:30.10289[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 1. element XML = <star/> 
-----------------------
06-12-2025 15:03:30.10290[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
06-12-2025 15:03:30.10291[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
06-12-2025 15:03:30.10292[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
06-12-2025 15:03:30.10292[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 1. element = <star/> 
-----------------------
06-12-2025 15:03:30.10293[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => Bahas musik
    [lookingfor] => BAHAS MUSIK
    [category_id] => 1392
    [pattern] => BAHAS *
    [thatpattern] => 
    [template] => <think><set name="topic"><star/></set></think>
      Mode diskusi diubah. Mari kita bahas topik: <star/>. Silakan ajukan pertanyaan Anda.
    [html_template] => 
    [topic] => 
    [score] => 254
    [aiml_id] => 1392
    [stars] => Array
        (
            [1] => musik
        )

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

    [topic_stars] => Array
        (
        )

)
 
-----------------------
06-12-2025 15:03:30.10294[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
06-12-2025 15:03:30.10294[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'musik' to the response array. 
-----------------------
06-12-2025 15:03:30.10295[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = musik 
-----------------------
06-12-2025 15:03:30.10295[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.10296[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
06-12-2025 15:03:30.10296[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 15:03:30.10297[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
06-12-2025 15:03:30.10297[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'musik' to the response array. tag name is star 
-----------------------
06-12-2025 15:03:30.10298[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.10298[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
06-12-2025 15:03:30.10299[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 15:03:30.10299[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
06-12-2025 15:03:30.10300[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'musik' to the response array. tag name is template. 
-----------------------
06-12-2025 15:03:30.10301[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:03:30.10302[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>. Silakan ajukan pertanyaan Anda.</text> 
-----------------------
06-12-2025 15:03:30.10302[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 15:03:30.10303[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 15:03:30.10303[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 15:03:30.10304[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '. Silakan ajukan pertanyaan Anda.' to the response array. tag name is text 
-----------------------
06-12-2025 15:03:30.10304[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:03:30.10305[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => . Silakan ajukan pertanyaan Anda.
)

 
-----------------------
06-12-2025 15:03:30.10305[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 15:03:30.10306[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '. Silakan ajukan pertanyaan Anda.' 
-----------------------
06-12-2025 15:03:30.10306[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '. Silakan ajukan pertanyaan Anda.' to the response array. tag name is template. 
-----------------------
06-12-2025 15:03:30.10307[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 15:03:30.10308[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
    [1] => Mode diskusi diubah. Mari kita bahas topik: 
    [2] => musik
    [3] => . Silakan ajukan pertanyaan Anda.
)

 
-----------------------
06-12-2025 15:03:30.10308[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 15:03:30.10310[4][4] - Elapsed time: 0.011 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 15:03:30.10311[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda. 
-----------------------
06-12-2025 15:03:30.10313[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
06-12-2025 15:03:30.10314[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
06-12-2025 15:03:30.10315[2][4] - Elapsed time: 0.010 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_raw] array 
-----------------------
06-12-2025 15:03:30.10316[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
06-12-2025 15:03:30.10320[2][4] - Elapsed time: 0.038 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 15:03:30.10321[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mode diskusi diubah.' 
-----------------------
06-12-2025 15:03:30.10322[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mode diskusi diubah.' 
-----------------------
06-12-2025 15:03:30.10323[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH' 
-----------------------
06-12-2025 15:03:30.10323[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH' 
-----------------------
06-12-2025 15:03:30.10324[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mari kita bahas topik: musik.' 
-----------------------
06-12-2025 15:03:30.10324[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mari kita bahas topik: musik.' 
-----------------------
06-12-2025 15:03:30.10325[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MARI KITA BAHAS TOPIK MUSIK' 
-----------------------
06-12-2025 15:03:30.10326[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MARI KITA BAHAS TOPIK MUSIK' 
-----------------------
06-12-2025 15:03:30.10326[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Silakan ajukan pertanyaan Anda.' 
-----------------------
06-12-2025 15:03:30.10327[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Silakan ajukan pertanyaan Anda.' 
-----------------------
06-12-2025 15:03:30.10327[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:03:30.10328[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:03:30.10329[2][4] - Elapsed time: 0.012 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 [parsed_template] array 
-----------------------
06-12-2025 15:03:30.10330[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
06-12-2025 15:03:30.10331[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<think><set name="topic"><star/></set></think>
      Mode diskusi diubah. Mari kita bahas topik: <star/>. Silakan ajukan pertanyaan Anda.' to the front of the [template] array 
-----------------------
06-12-2025 15:03:30.10331[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
06-12-2025 15:03:30.10332[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
06-12-2025 15:03:30.10334[3][4] - Elapsed time: 0.019 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 ,
      'Bahas musik',
      'Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.',
      165,
      'esp32_user',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
06-12-2025 15:03:30.10907[4][4] - Elapsed time: 5.725 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
06-12-2025 15:03:30.10926[3][4] - Elapsed time: 0.192 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 15:03:30.10950[2][4] - Elapsed time: 0.240 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
06-12-2025 15:03:30.10951[4][4] - Elapsed time: 0.014 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
06-12-2025 15:03:30.10952[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
06-12-2025 15:03:30.10955[4][4] - Elapsed time: 0.029 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"esp32_user","usersay":"Bahas musik","botsay":"Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.","botData":{"convo_id":"esp32_user","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"165","totallines":1,"rawSay":"Bahas musik","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":"1392","bot_id":"1","pattern":"BAHAS *","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<think><set name=\"topic\"><star\/><\/set><\/think>\n      Mode diskusi diubah. Mari kita bahas topik: <star\/>. Silakan ajukan pertanyaan Anda.","score":254,"current_that":"maaf saya masih belajar bisakah anda bertanya dengan kalimat yang berbeda","aiml_id":"1392","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: bahas (2 points), star word match (1 points)"}}} 
-----------------------
06-12-2025 15:03:30.10982[2][4] - Elapsed time: 0.268 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
06-12-2025 15:03:30.10987[0][4] - Elapsed time: 0.053 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 23.695 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Bahas musik
    [conversation] => Array
        (
            [convo_id] => esp32_user
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 165
            [totallines] => 1
            [rawSay] => Bahas musik
            [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] => 1392
                    [bot_id] => 1
                    [pattern] => BAHAS *
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => <think><set name="topic"><star/></set></think>
      Mode diskusi diubah. Mari kita bahas topik: <star/>. Silakan ajukan pertanyaan Anda.
                    [score] => 254
                    [current_that] => maaf saya masih belajar bisakah anda bertanya dengan kalimat yang berbeda
                    [aiml_id] => 1392
                    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: bahas (2 points), star word match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Bahas musik
            [lookingfor] => BAHAS MUSIK
            [category_id] => 1392
            [pattern] => BAHAS *
            [thatpattern] => 
            [template] => <think><set name="topic"><star/></set></think>
      Mode diskusi diubah. Mari kita bahas topik: <star/>. Silakan ajukan pertanyaan Anda.
            [html_template] => 
            [topic] => 
            [score] => 254
            [aiml_id] => 1392
            [stars] => Array
                (
                    [1] => musik
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
        )

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

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

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

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

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

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

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

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

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

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

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

        )

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

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

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

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

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

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

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

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

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

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

            [12] => 
        )

    [input] => Array
        (
            [1] => Bahas musik
            [2] => BAHAS
            [3] => HALO
            [4] => BAHAS YEGAR
            [5] => NAMA SAYA ABIL
            [6] => HALO
            [7] => NAMA SAYA DELLU
            [8] => HALO
            [9] => HALO
            [10] => HALO
        )

    [time_start] => 1765008210.0861
    [user_say] => Array
        (
            [1] => BAHAS MUSIK
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

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

    [parsed_template] => Array
        (
            [1] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <think><set name="topic"><star/></set></think> Mode diskusi diubah. Mari kita bahas topik: <star/>. Silakan ajukan pertanyaan Anda.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"esp32_user","usersay":"Bahas musik","botsay":"Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.","botData":{"convo_id":"esp32_user","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"165","totallines":1,"rawSay":"Bahas musik","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":"1392","bot_id":"1","pattern":"BAHAS *","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<think><set name=\"topic\"><star\/><\/set><\/think>\n      Mode diskusi diubah. Mari kita bahas topik: <star\/>. Silakan ajukan pertanyaan Anda.","score":254,"current_that":"maaf saya masih belajar bisakah anda bertanya dengan kalimat yang berbeda","aiml_id":"1392","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct word match: bahas (2 points), star word match (1 points)"}}}
)

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