06-12-2025 15:08:52.43518[0][4] - Elapsed time: 5.030 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:08:52.43544[4][4] - Elapsed time: 0.253 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
06-12-2025 15:08:52.43563[4][4] - Elapsed time: 0.194 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
06-12-2025 15:08:52.43572[4][4] - Elapsed time: 0.091 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
06-12-2025 15:08:52.43611[4][4] - Elapsed time: 0.387 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
06-12-2025 15:08:52.43612[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
06-12-2025 15:08:52.43627[1][4] - Elapsed time: 0.145 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:08:52.43658[0][4] - Elapsed time: 0.310 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 5fab40797cfd7d6abf892d90b5e6b7c0 
-----------------------
06-12-2025 15:08:52.43659[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Bahas musik'. 
-----------------------
06-12-2025 15:08:52.43661[4][4] - Elapsed time: 0.023 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
06-12-2025 15:08:52.43662[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
06-12-2025 15:08:52.43663[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:08:52.43694[4][4] - Elapsed time: 0.313 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: esp32_user 
-----------------------
06-12-2025 15:08:52.43695[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
06-12-2025 15:08:52.43696[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
06-12-2025 15:08:52.43731[2][4] - Elapsed time: 0.353 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
06-12-2025 15:08:52.43732[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
06-12-2025 15:08:52.43767[3][4] - Elapsed time: 0.351 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:08:52.43815[2][4] - Elapsed time: 0.482 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
06-12-2025 15:08:52.43823[2][4] - Elapsed time: 0.078 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Bahas. 
-----------------------
06-12-2025 15:08:52.43825[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:08:52.43891[2][4] - Elapsed time: 0.663 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
06-12-2025 15:08:52.43895[2][4] - Elapsed time: 0.034 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on musik. 
-----------------------
06-12-2025 15:08:52.43898[4][4] - Elapsed time: 0.037 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas musik' 
-----------------------
06-12-2025 15:08:52.43925[4][4] - Elapsed time: 0.265 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS MUSIK' 
-----------------------
06-12-2025 15:08:52.43927[2][4] - Elapsed time: 0.021 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: BAHAS MUSIK
Convo id: 5fab40797cfd7d6abf892d90b5e6b7c0
Bot id: 1
Format:  
-----------------------
06-12-2025 15:08:52.43928[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
06-12-2025 15:08:52.43930[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
06-12-2025 15:08:52.43931[3][4] - Elapsed time: 0.018 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:08:52.43982[1][4] - Elapsed time: 0.505 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Rekomendasikan lagu
    [1] => Bahas musik
    [2] => Bahas
    [3] => Halo
    [4] => Bahas yegar
    [5] => Nama saya Abil
    [6] => Halo
    [7] => Nama saya Dellu
    [8] => Halo
    [9] => Halo
)
 
-----------------------
06-12-2025 15:08:52.43984[4][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
06-12-2025 15:08:52.43986[1][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Hmm, saya belum mengerti maksud Anda. Bisa dijelaskan lebih detail?
    [1] => Mode diskusi diubah. Mari kita bahas topik: musik. Silakan ajukan pertanyaan Anda.
    [2] => Maaf, saya masih belajar. Bisakah Anda bertanya dengan kalimat yang berbeda?
    [3] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
    [4] => Mode diskusi diubah. Mari kita bahas topik: yegar. Silakan ajukan pertanyaan Anda.
    [5] => Abil Senang berkenalan dengan Anda, Abil. Saya akan mengingat nama Anda.
    [6] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
    [7] => Dellu Senang berkenalan dengan Anda, Dellu. Saya akan mengingat nama Anda.
    [8] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
    [9] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
)
 
-----------------------
06-12-2025 15:08:52.43990[2][4] - Elapsed time: 0.043 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:08:52.43991[2][4] - Elapsed time: 0.015 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:08:52.43993[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:08:52.43994[4][4] - Elapsed time: 0.014 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:08:52.43995[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:08:52.43996[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:08:52.43998[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:08:52.43999[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:08:52.44000[2][4] - Elapsed time: 0.011 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:08:52.44005[4][4] - Elapsed time: 0.047 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
06-12-2025 15:08:52.44017[4][4] - Elapsed time: 0.117 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:08:52.44018[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:08:52.44020[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:08:52.44021[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:08:52.44023[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:08:52.44024[2][4] - Elapsed time: 0.012 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:08:52.44025[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:08:52.44026[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:08:52.44027[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:08:52.44028[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:08:52.44030[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:08:52.44031[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:08:52.44032[2][4] - Elapsed time: 0.009 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:08:52.44034[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:08:52.44035[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:08:52.44037[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:08:52.44038[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:08:52.44039[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:08:52.44040[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:08:52.44041[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:08:52.44042[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:08:52.44043[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:08:52.44044[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:08:52.44046[4][4] - Elapsed time: 0.017 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:08:52.44047[4][4] - Elapsed time: 0.010 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:08:52.44048[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:08:52.44050[4][4] - Elapsed time: 0.019 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:08:52.44051[4][4] - Elapsed time: 0.011 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:08:52.44053[4][4] - Elapsed time: 0.016 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:08:52.44054[4][4] - Elapsed time: 0.010 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:08:52.44055[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:08:52.44057[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:08:52.44057[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:08:52.44059[4][4] - Elapsed time: 0.012 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:08:52.44059[4][4] - Elapsed time: 0.009 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:08:52.44060[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:08:52.44062[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:08:52.44063[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:08:52.44064[2][4] - Elapsed time: 0.009 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:08:52.44066[4][4] - Elapsed time: 0.019 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:08:52.44067[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:08:52.44068[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:08:52.44069[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:08:52.44071[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:08:52.44072[2][4] - Elapsed time: 0.011 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:08:52.44073[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:08:52.44074[4][4] - Elapsed time: 0.011 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:08:52.44075[4][4] - Elapsed time: 0.010 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:08:52.44076[4][4] - Elapsed time: 0.010 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:08:52.44078[4][4] - Elapsed time: 0.016 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:08:52.44079[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:08:52.44079[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:08:52.44081[4][4] - Elapsed time: 0.019 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:08:52.44082[4][4] - Elapsed time: 0.011 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:08:52.44084[4][4] - Elapsed time: 0.017 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:08:52.44086[4][4] - Elapsed time: 0.015 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:08:52.44088[2][4] - Elapsed time: 0.025 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:08:52.44089[2][4] - Elapsed time: 0.012 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:08:52.44091[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:08:52.44092[4][4] - Elapsed time: 0.013 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:08:52.44093[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mode diskusi diubah Mari kita bahas topik: yegar Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 15:08:52.44095[4][4] - Elapsed time: 0.019 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:08:52.44097[4][4] - Elapsed time: 0.019 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:08:52.44098[4][4] - Elapsed time: 0.010 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:08:52.44099[2][4] - Elapsed time: 0.010 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:08:52.44101[4][4] - Elapsed time: 0.018 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:08:52.44102[4][4] - Elapsed time: 0.011 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:08:52.44104[4][4] - Elapsed time: 0.016 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:08:52.44104[4][4] - Elapsed time: 0.009 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:08:52.44106[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:08:52.44107[2][4] - Elapsed time: 0.011 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:08:52.44108[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:08:52.44109[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:08:52.44110[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:08:52.44111[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:08:52.44113[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:08:52.44114[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:08:52.44115[2][4] - Elapsed time: 0.010 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:08:52.44116[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:08:52.44117[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:08:52.44119[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:08:52.44120[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:08:52.44121[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:08:52.44123[2][4] - Elapsed time: 0.012 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:08:52.44123[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:08:52.44125[4][4] - Elapsed time: 0.012 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:08:52.44126[4][4] - Elapsed time: 0.016 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:08:52.44128[4][4] - Elapsed time: 0.019 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:08:52.44130[4][4] - Elapsed time: 0.018 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:08:52.44131[4][4] - Elapsed time: 0.009 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:08:52.44132[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:08:52.44134[4][4] - Elapsed time: 0.019 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:08:52.44135[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:08:52.44138[4][4] - Elapsed time: 0.036 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:08:52.44139[4][4] - Elapsed time: 0.011 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:08:52.44141[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:08:52.44142[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: musik
    [2] =>  Silakan ajukan pertanyaan Anda
    [3] => 
)

 
-----------------------
06-12-2025 15:08:52.44143[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:08:52.44144[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:08:52.44145[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mode diskusi diubah Mari kita bahas topik: musik Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 15:08:52.44146[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mode diskusi diubah Mari kita bahas topik: musik Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 15:08:52.44147[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:08:52.44148[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:08:52.44149[2][4] - Elapsed time: 0.008 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:08:52.44151[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:08:52.44152[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:08:52.44153[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:08:52.44154[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK MUSIK SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:08:52.44156[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:08:52.44157[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  saya belum mengerti maksud Anda
    [2] =>  Bisa dijelaskan lebih detail
    [3] => 
)

 
-----------------------
06-12-2025 15:08:52.44158[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:08:52.44159[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 15:08:52.44160[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 15:08:52.44161[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm saya belum mengerti maksud Anda Bisa dijelaskan lebih detail ' 
-----------------------
06-12-2025 15:08:52.44162[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 15:08:52.44163[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 15:08:52.44164[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' to the front of the [that] array 
-----------------------
06-12-2025 15:08:52.44166[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 15:08:52.44167[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 15:08:52.44168[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 15:08:52.44169[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' 
-----------------------
06-12-2025 15:08:52.44172[4][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
06-12-2025 15:08:52.44173[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:08:52.44174[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:08:52.44175[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:08:52.44176[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:08:52.44177[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:08:52.44178[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:08:52.44180[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:08:52.44181[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:08:52.44182[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:08:52.44183[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
06-12-2025 15:08:52.44184[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:08:52.44185[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:08:52.44186[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:08:52.44188[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:08:52.44189[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:08:52.44190[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:08:52.44191[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:08:52.44192[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:08:52.44193[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:08:52.44195[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:08:52.44196[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Dellu
)

 
-----------------------
06-12-2025 15:08:52.44197[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:08:52.44198[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Dellu' 
-----------------------
06-12-2025 15:08:52.44199[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Dellu' 
-----------------------
06-12-2025 15:08:52.44200[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Dellu' 
-----------------------
06-12-2025 15:08:52.44202[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DELLU' 
-----------------------
06-12-2025 15:08:52.44204[4][4] - Elapsed time: 0.026 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA DELLU' 
-----------------------
06-12-2025 15:08:52.44205[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:08:52.44207[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:08:52.44208[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:08:52.44209[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:08:52.44210[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:08:52.44211[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:08:52.44212[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:08:52.44213[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:08:52.44214[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:08:52.44215[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:08:52.44216[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:08:52.44217[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Abil
)

 
-----------------------
06-12-2025 15:08:52.44218[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:08:52.44219[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Abil' 
-----------------------
06-12-2025 15:08:52.44220[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Abil' 
-----------------------
06-12-2025 15:08:52.44221[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Abil' 
-----------------------
06-12-2025 15:08:52.44223[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA ABIL' 
-----------------------
06-12-2025 15:08:52.44224[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA ABIL' 
-----------------------
06-12-2025 15:08:52.44225[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA ABIL' to the front of the [input] array 
-----------------------
06-12-2025 15:08:52.44226[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:08:52.44227[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bahas yegar
)

 
-----------------------
06-12-2025 15:08:52.44228[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:08:52.44229[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bahas yegar' 
-----------------------
06-12-2025 15:08:52.44230[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bahas yegar' 
-----------------------
06-12-2025 15:08:52.44231[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas yegar' 
-----------------------
06-12-2025 15:08:52.44232[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS YEGAR' 
-----------------------
06-12-2025 15:08:52.44233[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAHAS YEGAR' 
-----------------------
06-12-2025 15:08:52.44234[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS YEGAR' to the front of the [input] array 
-----------------------
06-12-2025 15:08:52.44236[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:08:52.44237[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:08:52.44238[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:08:52.44239[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:08:52.44240[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:08:52.44241[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:08:52.44243[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:08:52.44244[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:08:52.44245[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:08:52.44248[2][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:08:52.44249[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bahas
)

 
-----------------------
06-12-2025 15:08:52.44250[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:08:52.44250[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bahas' 
-----------------------
06-12-2025 15:08:52.44251[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bahas' 
-----------------------
06-12-2025 15:08:52.44252[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas' 
-----------------------
06-12-2025 15:08:52.44254[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS' 
-----------------------
06-12-2025 15:08:52.44255[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAHAS' 
-----------------------
06-12-2025 15:08:52.44256[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS' to the front of the [input] array 
-----------------------
06-12-2025 15:08:52.44257[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:08:52.44258[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bahas musik
)

 
-----------------------
06-12-2025 15:08:52.44259[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:08:52.44260[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bahas musik' 
-----------------------
06-12-2025 15:08:52.44261[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bahas musik' 
-----------------------
06-12-2025 15:08:52.44262[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas musik' 
-----------------------
06-12-2025 15:08:52.44264[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS MUSIK' 
-----------------------
06-12-2025 15:08:52.44265[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAHAS MUSIK' 
-----------------------
06-12-2025 15:08:52.44266[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS MUSIK' to the front of the [input] array 
-----------------------
06-12-2025 15:08:52.44267[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:08:52.44268[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Rekomendasikan lagu
)

 
-----------------------
06-12-2025 15:08:52.44269[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:08:52.44270[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Rekomendasikan lagu' 
-----------------------
06-12-2025 15:08:52.44271[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Rekomendasikan lagu' 
-----------------------
06-12-2025 15:08:52.44272[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Rekomendasikan lagu' 
-----------------------
06-12-2025 15:08:52.44273[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'REKOMENDASIKAN LAGU' 
-----------------------
06-12-2025 15:08:52.44274[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'REKOMENDASIKAN LAGU' 
-----------------------
06-12-2025 15:08:52.44277[2][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'REKOMENDASIKAN LAGU' to the front of the [input] array 
-----------------------
06-12-2025 15:08:52.44344[2][4] - Elapsed time: 0.668 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
06-12-2025 15:08:52.44346[3][4] - Elapsed time: 0.025 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:08:52.44378[4][4] - Elapsed time: 0.317 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
06-12-2025 15:08:52.44380[0][4] - Elapsed time: 0.022 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
06-12-2025 15:08:52.44381[0][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
06-12-2025 15:08:52.44382[0][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][235]
Say = BAHAS MUSIK: raw say = Bahas musik 
-----------------------
06-12-2025 15:08:52.44384[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
06-12-2025 15:08:52.44385[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS MUSIK' to the front of the [user_say] array 
-----------------------
06-12-2025 15:08:52.44386[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
06-12-2025 15:08:52.44389[0][4] - Elapsed time: 0.030 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Bahas musik, RAW say = Bahas musik 
-----------------------
06-12-2025 15:08:52.44390[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Bahas musik' to the front of the [input] array 
-----------------------
06-12-2025 15:08:52.44392[4][4] - Elapsed time: 0.016 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
06-12-2025 15:08:52.44393[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'BAHAS MUSIK' 
-----------------------
06-12-2025 15:08:52.44395[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS MUSIK' 
-----------------------
06-12-2025 15:08:52.44396[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
06-12-2025 15:08:52.44441[4][4] - Elapsed time: 0.453 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
06-12-2025 15:08:52.44444[3][4] - Elapsed time: 0.032 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 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 15:08:52.44478[2][4] - Elapsed time: 0.338 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
06-12-2025 15:08:52.44480[4][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
06-12-2025 15:08:52.44481[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
06-12-2025 15:08:52.44525[4][4] - Elapsed time: 0.436 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'MUSIK' 
-----------------------
06-12-2025 15:08:52.44527[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 'HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'MUSIK' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 15:08:52.44581[3][4] - Elapsed time: 0.540 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
06-12-2025 15:08:52.44583[2][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (6) potential AIML matches 
-----------------------
06-12-2025 15:08:52.44630[1][4] - Elapsed time: 0.472 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HMM SAYA BELUM MENGERTI MAKSUD ANDA BISA DIJELASKAN LEBIH DETAIL 
-----------------------
06-12-2025 15:08:52.44632[4][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 6 rows to unset bad matches 
-----------------------
06-12-2025 15:08:52.44634[4][4] - Elapsed time: 0.011 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:08:52.44670[4][4] - Elapsed time: 0.369 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
06-12-2025 15:08:52.44672[4][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 15:08:52.44724[4][4] - Elapsed time: 0.515 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] => hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail
            [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] => hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail
            [aiml_id] => 1385
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
06-12-2025 15:08:52.44727[2][4] - Elapsed time: 0.029 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] => hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail
            [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:08:52.44774[4][4] - Elapsed time: 0.475 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] => hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail
    [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:08:52.44776[2][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
06-12-2025 15:08:52.44779[4][4] - Elapsed time: 0.026 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1392 (BAHAS *) 
-----------------------
06-12-2025 15:08:52.44780[3][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
06-12-2025 15:08:52.44781[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'BAHAS *' 
-----------------------
06-12-2025 15:08:52.44782[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
06-12-2025 15:08:52.44783[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~BAHAS (.+)$~siuU: Searching Bahas musik for a match. 
-----------------------
06-12-2025 15:08:52.44790[2][4] - Elapsed time: 0.068 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => Bahas musik
        )

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

)
 
-----------------------
06-12-2025 15:08:52.44791[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'musik' to the stars stack. 
-----------------------
06-12-2025 15:08:52.44793[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => musik
)
 
-----------------------
06-12-2025 15:08:52.44794[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 15:08:52.44795[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 15:08:52.44796[2][4] - Elapsed time: 0.017 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:08:52.44797[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
06-12-2025 15:08:52.44798[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
06-12-2025 15:08:52.44803[4][4] - Elapsed time: 0.055 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:08:52.44821[2][4] - Elapsed time: 0.177 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:08:52.44828[4][4] - Elapsed time: 0.074 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:08:52.44830[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
06-12-2025 15:08:52.44833[2][4] - Elapsed time: 0.030 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:08:52.44836[4][4] - Elapsed time: 0.029 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:08:52.44837[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:08:52.44838[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
06-12-2025 15:08:52.44839[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
06-12-2025 15:08:52.44840[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
06-12-2025 15:08:52.44842[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:08:52.44843[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:08:52.44845[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
06-12-2025 15:08:52.44845[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
06-12-2025 15:08:52.44846[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
06-12-2025 15:08:52.44847[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
06-12-2025 15:08:52.44848[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:08:52.44850[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 3. element XML = <star/> 
-----------------------
06-12-2025 15:08:52.44851[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
06-12-2025 15:08:52.44852[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:08:52.44853[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
06-12-2025 15:08:52.44854[4][4] - Elapsed time: 0.012 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:08:52.44856[4][4] - Elapsed time: 0.016 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:08:52.44857[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
06-12-2025 15:08:52.44858[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'musik' to the response array. 
-----------------------
06-12-2025 15:08:52.44859[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = musik 
-----------------------
06-12-2025 15:08:52.44860[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:08:52.44861[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
06-12-2025 15:08:52.44862[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:08:52.44863[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
06-12-2025 15:08:52.44864[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'musik' to the response array. tag name is star 
-----------------------
06-12-2025 15:08:52.44865[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:08:52.44866[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => musik
        )

)

 
-----------------------
06-12-2025 15:08:52.44867[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:08:52.44868[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:08:52.44869[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
06-12-2025 15:08:52.44870[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:08:52.44871[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
06-12-2025 15:08:52.44873[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'topic' to the client properties array. Value is 'musik' 
-----------------------
06-12-2025 15:08:52.44874[2][4] - Elapsed time: 0.011 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:08:52.44923[2][4] - Elapsed time: 0.493 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][586]
updating data in the DB 
-----------------------
06-12-2025 15:08:52.45100[4][4] - Elapsed time: 1.766 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'musik' to the response array. tag name is set 
-----------------------
06-12-2025 15:08:52.45102[2][4] - Elapsed time: 0.023 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:08:52.45104[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => musik
        )

)

 
-----------------------
06-12-2025 15:08:52.45105[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:08:52.45106[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:08:52.45107[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
06-12-2025 15:08:52.45107[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:08:52.45109[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
06-12-2025 15:08:52.45110[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
06-12-2025 15:08:52.45111[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:08:52.45112[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
06-12-2025 15:08:52.45112[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:08:52.45113[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
06-12-2025 15:08:52.45115[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
06-12-2025 15:08:52.45116[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:08:52.45118[4][4] - Elapsed time: 0.021 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:08:52.45119[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
06-12-2025 15:08:52.45120[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
06-12-2025 15:08:52.45121[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 15:08:52.45123[4][4] - Elapsed time: 0.012 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:08:52.45124[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:08:52.45125[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:08:52.45126[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:08:52.45127[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '   Mode diskusi diubah. Mari kita bahas topik: ' 
-----------------------
06-12-2025 15:08:52.45128[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:08:52.45129[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:08:52.45130[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 1. element XML = <star/> 
-----------------------
06-12-2025 15:08:52.45132[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:08:52.45133[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:08:52.45134[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
06-12-2025 15:08:52.45135[4][4] - Elapsed time: 0.013 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:08:52.45136[4][4] - Elapsed time: 0.015 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:08:52.45138[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
06-12-2025 15:08:52.45139[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'musik' to the response array. 
-----------------------
06-12-2025 15:08:52.45140[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = musik 
-----------------------
06-12-2025 15:08:52.45141[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:08:52.45142[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
06-12-2025 15:08:52.45143[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:08:52.45144[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
06-12-2025 15:08:52.45145[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'musik' to the response array. tag name is star 
-----------------------
06-12-2025 15:08:52.45146[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:08:52.45147[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
06-12-2025 15:08:52.45148[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:08:52.45148[4][4] - Elapsed time: 0.009 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
06-12-2025 15:08:52.45149[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'musik' to the response array. tag name is template. 
-----------------------
06-12-2025 15:08:52.45151[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:08:52.45152[4][4] - Elapsed time: 0.018 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:08:52.45154[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
06-12-2025 15:08:52.45155[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
06-12-2025 15:08:52.45156[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 15:08:52.45157[4][4] - Elapsed time: 0.010 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:08:52.45158[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:08:52.45159[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => . Silakan ajukan pertanyaan Anda.
)

 
-----------------------
06-12-2025 15:08:52.45159[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:08:52.45161[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '. Silakan ajukan pertanyaan Anda.' 
-----------------------
06-12-2025 15:08:52.45162[4][4] - Elapsed time: 0.010 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:08:52.45163[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:08:52.45164[2][4] - Elapsed time: 0.010 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:08:52.45165[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:08:52.45166[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:08:52.45167[4][4] - Elapsed time: 0.013 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:08:52.45169[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
06-12-2025 15:08:52.45170[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
06-12-2025 15:08:52.45171[2][4] - Elapsed time: 0.011 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:08:52.45172[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
06-12-2025 15:08:52.45176[2][4] - Elapsed time: 0.040 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:08:52.45178[4][4] - Elapsed time: 0.022 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mode diskusi diubah.' 
-----------------------
06-12-2025 15:08:52.45180[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mode diskusi diubah.' 
-----------------------
06-12-2025 15:08:52.45181[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MODE DISKUSI DIUBAH' 
-----------------------
06-12-2025 15:08:52.45182[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MODE DISKUSI DIUBAH' 
-----------------------
06-12-2025 15:08:52.45183[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mari kita bahas topik: musik.' 
-----------------------
06-12-2025 15:08:52.45184[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mari kita bahas topik: musik.' 
-----------------------
06-12-2025 15:08:52.45186[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MARI KITA BAHAS TOPIK MUSIK' 
-----------------------
06-12-2025 15:08:52.45187[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MARI KITA BAHAS TOPIK MUSIK' 
-----------------------
06-12-2025 15:08:52.45189[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Silakan ajukan pertanyaan Anda.' 
-----------------------
06-12-2025 15:08:52.45190[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Silakan ajukan pertanyaan Anda.' 
-----------------------
06-12-2025 15:08:52.45191[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:08:52.45192[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SILAKAN AJUKAN PERTANYAAN ANDA' 
-----------------------
06-12-2025 15:08:52.45194[2][4] - Elapsed time: 0.018 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:08:52.45196[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
06-12-2025 15:08:52.45197[2][4] - Elapsed time: 0.017 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:08:52.45198[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
06-12-2025 15:08:52.45200[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
06-12-2025 15:08:52.45202[3][4] - Elapsed time: 0.020 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:08:52.46100[4][4] - Elapsed time: 8.978 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
06-12-2025 15:08:52.46126[3][4] - Elapsed time: 0.262 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:08:52.46158[2][4] - Elapsed time: 0.317 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
06-12-2025 15:08:52.46159[4][4] - Elapsed time: 0.011 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
06-12-2025 15:08:52.46160[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
06-12-2025 15:08:52.46163[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":"hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail","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:08:52.46195[2][4] - Elapsed time: 0.323 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
06-12-2025 15:08:52.46199[0][4] - Elapsed time: 0.037 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 31.807 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] => hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail
                    [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] => Hmm, saya belum mengerti maksud Anda
                    [1] =>  Bisa dijelaskan lebih detail?
                )

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

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

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

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

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

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

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

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

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

        )

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

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

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

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

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

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

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

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

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

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

            [12] => 
        )

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

    [time_start] => 1765008532.4302
    [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":"hmm saya belum mengerti maksud anda bisa dijelaskan lebih detail","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: 31.807 Milliseconds. Goodbye.