06-12-2025 15:02:40.71142[0][4] - Elapsed time: 4.879 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:02:40.71167[4][4] - Elapsed time: 0.253 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
06-12-2025 15:02:40.71186[4][4] - Elapsed time: 0.193 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
06-12-2025 15:02:40.71197[4][4] - Elapsed time: 0.106 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
06-12-2025 15:02:40.71235[4][4] - Elapsed time: 0.381 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
06-12-2025 15:02:40.71236[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
06-12-2025 15:02:40.71250[1][4] - Elapsed time: 0.139 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:02:40.71280[0][4] - Elapsed time: 0.298 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = c4e9dcef9180d2ee447d1d5baa5f6553 
-----------------------
06-12-2025 15:02:40.71281[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Halo'. 
-----------------------
06-12-2025 15:02:40.71283[4][4] - Elapsed time: 0.023 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
06-12-2025 15:02:40.71284[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
06-12-2025 15:02:40.71285[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:02:40.71322[4][4] - Elapsed time: 0.368 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: esp32_user 
-----------------------
06-12-2025 15:02:40.71323[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:02:40.71323[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:02:40.71358[2][4] - Elapsed time: 0.344 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
06-12-2025 15:02:40.71359[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:02:40.71394[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:02:40.71431[2][4] - Elapsed time: 0.369 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
06-12-2025 15:02:40.71440[2][4] - Elapsed time: 0.086 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Halo. 
-----------------------
06-12-2025 15:02:40.71442[2][4] - Elapsed time: 0.020 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
06-12-2025 15:02:40.71498[4][4] - Elapsed time: 0.566 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:02:40.71520[4][4] - Elapsed time: 0.215 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:02:40.71521[2][4] - Elapsed time: 0.017 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: HALO
Convo id: c4e9dcef9180d2ee447d1d5baa5f6553
Bot id: 1
Format:  
-----------------------
06-12-2025 15:02:40.71522[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
06-12-2025 15:02:40.71523[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
06-12-2025 15:02:40.71525[3][4] - Elapsed time: 0.014 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:02:40.71561[1][4] - Elapsed time: 0.365 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Bahas yegar
    [1] => Nama saya Abil
    [2] => Halo
    [3] => Nama saya Dellu
    [4] => Halo
    [5] => Halo
    [6] => Halo
    [7] => Halo
    [8] => Halo
    [9] => Halo
)
 
-----------------------
06-12-2025 15:02:40.71563[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
06-12-2025 15:02:40.71564[1][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Mode diskusi diubah. Mari kita bahas topik: yegar. Silakan ajukan pertanyaan Anda.
    [1] => Abil Senang berkenalan dengan Anda, Abil. Saya akan mengingat nama Anda.
    [2] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
    [3] => Dellu Senang berkenalan dengan Anda, Dellu. Saya akan mengingat nama Anda.
    [4] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
    [5] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
    [6] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
    [7] => Selamat datang! Saya di sini untuk membantu. Silakan tanyakan apa saja.
    [8] => Halo! Saya pedro salto, siap membantu Anda. Ada pertanyaan?
    [9] => Halo! Selamat datang. Ada yang bisa saya bantu hari ini?
)
 
-----------------------
06-12-2025 15:02:40.71567[2][4] - Elapsed time: 0.027 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:02:40.71568[2][4] - Elapsed time: 0.010 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:02:40.71569[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:02:40.71570[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:02:40.71571[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:02:40.71572[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:02:40.71573[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:02:40.71574[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71575[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' to the front of the [that] array 
-----------------------
06-12-2025 15:02:40.71579[4][4] - Elapsed time: 0.037 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
06-12-2025 15:02:40.71590[4][4] - Elapsed time: 0.107 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:02:40.71591[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71592[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71593[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71595[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:02:40.71596[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Saya pedro salto
    [2] =>  siap membantu Anda
    [3] =>  Ada pertanyaan
    [4] => 
)

 
-----------------------
06-12-2025 15:02:40.71596[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71597[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Saya pedro salto siap membantu Anda Ada pertanyaan ' 
-----------------------
06-12-2025 15:02:40.71598[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Saya pedro salto siap membantu Anda Ada pertanyaan ' 
-----------------------
06-12-2025 15:02:40.71599[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Saya pedro salto siap membantu Anda Ada pertanyaan ' 
-----------------------
06-12-2025 15:02:40.71600[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
06-12-2025 15:02:40.71601[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
06-12-2025 15:02:40.71602[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' to the front of the [that] array 
-----------------------
06-12-2025 15:02:40.71603[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
06-12-2025 15:02:40.71604[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
06-12-2025 15:02:40.71605[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
06-12-2025 15:02:40.71606[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
06-12-2025 15:02:40.71607[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:02:40.71608[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Selamat datang
    [1] =>  Saya di sini untuk membantu
    [2] =>  Silakan tanyakan apa saja
    [3] => 
)

 
-----------------------
06-12-2025 15:02:40.71609[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71610[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
06-12-2025 15:02:40.71611[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
06-12-2025 15:02:40.71612[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
06-12-2025 15:02:40.71613[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:02:40.71614[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:02:40.71615[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' to the front of the [that] array 
-----------------------
06-12-2025 15:02:40.71616[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:02:40.71617[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:02:40.71618[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:02:40.71619[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
06-12-2025 15:02:40.71620[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:02:40.71621[2][4] - Elapsed time: 0.010 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:02:40.71622[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71623[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:02:40.71623[4][4] - Elapsed time: 0.007 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:02:40.71624[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:02:40.71625[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71626[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:02:40.71627[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:02:40.71629[4][4] - Elapsed time: 0.013 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:02:40.71630[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71631[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71631[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71633[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:02:40.71633[2][4] - Elapsed time: 0.008 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:02:40.71634[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71635[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:02:40.71636[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:02:40.71637[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:02:40.71638[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71639[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71640[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' to the front of the [that] array 
-----------------------
06-12-2025 15:02:40.71641[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:02:40.71642[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71643[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71643[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71645[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:02:40.71646[2][4] - Elapsed time: 0.014 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:02:40.71647[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:02:40.71648[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:02:40.71649[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:02:40.71650[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bertemu dengan Anda Bagaimana kabar Anda ' 
-----------------------
06-12-2025 15:02:40.71652[4][4] - Elapsed time: 0.022 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:02:40.71653[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:02:40.71653[2][4] - Elapsed time: 0.008 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:02:40.71655[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:02:40.71656[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:02:40.71657[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:02:40.71658[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BERTEMU DENGAN ANDA BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:02:40.71659[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:02:40.71660[2][4] - Elapsed time: 0.008 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:02:40.71661[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:02:40.71662[4][4] - Elapsed time: 0.008 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:02:40.71662[4][4] - Elapsed time: 0.009 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:02:40.71663[4][4] - Elapsed time: 0.008 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:02:40.71665[4][4] - Elapsed time: 0.013 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:02:40.71665[4][4] - Elapsed time: 0.008 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:02:40.71666[2][4] - Elapsed time: 0.007 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:02:40.71668[4][4] - Elapsed time: 0.014 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:02:40.71668[4][4] - Elapsed time: 0.008 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:02:40.71670[4][4] - Elapsed time: 0.013 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:02:40.71670[4][4] - Elapsed time: 0.008 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:02:40.71671[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:02:40.71672[2][4] - Elapsed time: 0.009 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:02:40.71673[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71674[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:02:40.71675[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:02:40.71676[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Selamat datang Ada yang bisa saya bantu hari ini ' 
-----------------------
06-12-2025 15:02:40.71677[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71678[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71679[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:02:40.71681[4][4] - Elapsed time: 0.013 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:02:40.71681[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71683[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71683[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SELAMAT DATANG ADA YANG BISA SAYA BANTU HARI INI' 
-----------------------
06-12-2025 15:02:40.71686[2][4] - Elapsed time: 0.028 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:02:40.71687[2][4] - Elapsed time: 0.009 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:02:40.71689[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71690[4][4] - Elapsed time: 0.010 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:02:40.71690[4][4] - Elapsed time: 0.007 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:02:40.71691[4][4] - Elapsed time: 0.009 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:02:40.71692[4][4] - Elapsed time: 0.013 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:02:40.71693[4][4] - Elapsed time: 0.008 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:02:40.71694[2][4] - Elapsed time: 0.008 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:02:40.71695[4][4] - Elapsed time: 0.013 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:02:40.71696[4][4] - Elapsed time: 0.009 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:02:40.71697[4][4] - Elapsed time: 0.012 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:02:40.71698[4][4] - Elapsed time: 0.008 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:02:40.71699[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:02:40.71700[2][4] - Elapsed time: 0.008 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:02:40.71701[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71702[4][4] - Elapsed time: 0.010 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:02:40.71703[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mode diskusi diubah Mari kita bahas topik: yegar Silakan ajukan pertanyaan Anda ' 
-----------------------
06-12-2025 15:02:40.71704[4][4] - Elapsed time: 0.009 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:02:40.71705[4][4] - Elapsed time: 0.013 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:02:40.71706[4][4] - Elapsed time: 0.008 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:02:40.71707[2][4] - Elapsed time: 0.008 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:02:40.71708[4][4] - Elapsed time: 0.014 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:02:40.71709[4][4] - Elapsed time: 0.014 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:02:40.71711[4][4] - Elapsed time: 0.014 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:02:40.71711[4][4] - Elapsed time: 0.008 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:02:40.71713[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
06-12-2025 15:02:40.71714[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:02:40.71715[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:02:40.71716[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71717[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:02:40.71718[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:02:40.71719[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:02:40.71720[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:02:40.71721[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:02:40.71721[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:02:40.71722[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
06-12-2025 15:02:40.71724[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:02:40.71725[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:02:40.71725[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71726[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:02:40.71727[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:02:40.71728[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:02:40.71729[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:02:40.71729[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:02:40.71730[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:02:40.71731[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:02:40.71732[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:02:40.71733[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71734[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:02:40.71735[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:02:40.71736[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:02:40.71737[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:02:40.71738[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:02:40.71739[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:02:40.71742[2][4] - Elapsed time: 0.036 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:02:40.71743[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:02:40.71744[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71745[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:02:40.71746[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:02:40.71747[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:02:40.71748[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:02:40.71748[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:02:40.71749[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:02:40.71750[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:02:40.71751[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:02:40.71752[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71753[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:02:40.71754[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:02:40.71755[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:02:40.71755[4][4] - Elapsed time: 0.009 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:02:40.71756[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:02:40.71757[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:02:40.71758[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:02:40.71759[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:02:40.71760[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71761[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:02:40.71761[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:02:40.71762[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:02:40.71763[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:02:40.71764[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:02:40.71765[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:02:40.71766[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:02:40.71767[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Dellu
)

 
-----------------------
06-12-2025 15:02:40.71767[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71768[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Dellu' 
-----------------------
06-12-2025 15:02:40.71769[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Dellu' 
-----------------------
06-12-2025 15:02:40.71770[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Dellu' 
-----------------------
06-12-2025 15:02:40.71772[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA DELLU' 
-----------------------
06-12-2025 15:02:40.71772[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA DELLU' 
-----------------------
06-12-2025 15:02:40.71774[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA DELLU' to the front of the [input] array 
-----------------------
06-12-2025 15:02:40.71775[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:02:40.71776[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
)

 
-----------------------
06-12-2025 15:02:40.71776[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71777[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo' 
-----------------------
06-12-2025 15:02:40.71778[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo' 
-----------------------
06-12-2025 15:02:40.71779[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo' 
-----------------------
06-12-2025 15:02:40.71780[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:02:40.71780[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:02:40.71781[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
06-12-2025 15:02:40.71782[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:02:40.71783[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Abil
)

 
-----------------------
06-12-2025 15:02:40.71784[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71785[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:02:40.71786[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Abil' 
-----------------------
06-12-2025 15:02:40.71787[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Abil' 
-----------------------
06-12-2025 15:02:40.71789[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA ABIL' 
-----------------------
06-12-2025 15:02:40.71790[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA ABIL' 
-----------------------
06-12-2025 15:02:40.71791[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA ABIL' to the front of the [input] array 
-----------------------
06-12-2025 15:02:40.71792[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:02:40.71793[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Bahas yegar
)

 
-----------------------
06-12-2025 15:02:40.71794[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.71794[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Bahas yegar' 
-----------------------
06-12-2025 15:02:40.71795[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bahas yegar' 
-----------------------
06-12-2025 15:02:40.71796[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas yegar' 
-----------------------
06-12-2025 15:02:40.71797[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS YEGAR' 
-----------------------
06-12-2025 15:02:40.71798[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAHAS YEGAR' 
-----------------------
06-12-2025 15:02:40.71799[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS YEGAR' to the front of the [input] array 
-----------------------
06-12-2025 15:02:40.71860[2][4] - Elapsed time: 0.610 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
06-12-2025 15:02:40.71861[3][4] - Elapsed time: 0.018 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:02:40.71882[4][4] - Elapsed time: 0.208 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
06-12-2025 15:02:40.71884[0][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
06-12-2025 15:02:40.71885[0][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
06-12-2025 15:02:40.71886[0][4] - Elapsed time: 0.008 milliseconds
[conversation_start.php][Called outside of function][235]
Say = HALO: raw say = Halo 
-----------------------
06-12-2025 15:02:40.71887[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
06-12-2025 15:02:40.71889[2][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [user_say] array 
-----------------------
06-12-2025 15:02:40.71890[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
06-12-2025 15:02:40.71892[0][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Halo, RAW say = Halo 
-----------------------
06-12-2025 15:02:40.71893[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:02:40.71894[4][4] - Elapsed time: 0.013 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
06-12-2025 15:02:40.71895[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO' 
-----------------------
06-12-2025 15:02:40.71897[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:02:40.71898[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
06-12-2025 15:02:40.71924[4][4] - Elapsed time: 0.265 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
06-12-2025 15:02:40.71926[3][4] - Elapsed time: 0.025 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 (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK YEGAR SILAKAN AJUKAN PERTANYAAN ANDA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 15:02:40.71959[2][4] - Elapsed time: 0.328 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
06-12-2025 15:02:40.71961[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
06-12-2025 15:02:40.71962[4][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
06-12-2025 15:02:40.71989[4][4] - Elapsed time: 0.269 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'YEGAR' 
-----------------------
06-12-2025 15:02:40.71991[3][4] - Elapsed time: 0.025 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'HALO' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK YEGAR SILAKAN AJUKAN PERTANYAAN ANDA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'YEGAR' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
06-12-2025 15:02:40.72035[3][4] - Elapsed time: 0.441 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
06-12-2025 15:02:40.72037[2][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
06-12-2025 15:02:40.72068[1][4] - Elapsed time: 0.317 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = MODE DISKUSI DIUBAH MARI KITA BAHAS TOPIK YEGAR SILAKAN AJUKAN PERTANYAAN ANDA 
-----------------------
06-12-2025 15:02:40.72070[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
06-12-2025 15:02:40.72071[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'HALO' 
-----------------------
06-12-2025 15:02:40.72081[4][4] - Elapsed time: 0.105 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
06-12-2025 15:02:40.72082[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
06-12-2025 15:02:40.72113[4][4] - Elapsed time: 0.307 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1339
            [bot_id] => 1
            [pattern] => HALO
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
            [score] => 260
            [current_that] => mode diskusi diubah mari kita bahas topik yegar silakan ajukan pertanyaan anda
            [aiml_id] => 1339
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
        )

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

Array
(
    [0] => Array
        (
            [id] => 1339
            [bot_id] => 1
            [pattern] => HALO
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
            [score] => 260
            [current_that] => mode diskusi diubah mari kita bahas topik yegar silakan ajukan pertanyaan anda
            [aiml_id] => 1339
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
        )

)

 
-----------------------
06-12-2025 15:02:40.72159[4][4] - Elapsed time: 0.435 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1339
    [bot_id] => 1
    [pattern] => HALO
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
    [score] => 260
    [current_that] => mode diskusi diubah mari kita bahas topik yegar silakan ajukan pertanyaan anda
    [aiml_id] => 1339
    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
)
 
-----------------------
06-12-2025 15:02:40.72160[2][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
06-12-2025 15:02:40.72162[4][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1339 (HALO) 
-----------------------
06-12-2025 15:02:40.72164[3][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
06-12-2025 15:02:40.72165[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'HALO' 
-----------------------
06-12-2025 15:02:40.72165[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
06-12-2025 15:02:40.72166[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
06-12-2025 15:02:40.72168[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1339
    [category_id] => 1339
    [html_template] => 
    [lookingfor] => HALO
    [pattern] => HALO
    [score] => 260
    [stars] => Array
        (
        )

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

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

    [user_raw] => Halo
)
 
-----------------------
06-12-2025 15:02:40.72169[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
06-12-2025 15:02:40.72170[2][4] - Elapsed time: 0.011 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:02:40.72178[4][4] - Elapsed time: 0.080 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text></li><li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li><li><text>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</text></li><li><text>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</text></li></random></template> 
-----------------------
06-12-2025 15:02:40.72197[2][4] - Elapsed time: 0.190 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:02:40.72204[4][4] - Elapsed time: 0.068 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text></li><li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li><li><text>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</text></li><li><text>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</text></li></random></template>
 
-----------------------
06-12-2025 15:02:40.72205[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
06-12-2025 15:02:40.72208[2][4] - Elapsed time: 0.025 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:02:40.72211[4][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</text></li><li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li><li><text>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</text></li><li><text>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</text></li></random> 
-----------------------
06-12-2025 15:02:40.72212[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
06-12-2025 15:02:40.72213[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
06-12-2025 15:02:40.72214[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
06-12-2025 15:02:40.72221[4][4] - Elapsed time: 0.069 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?
        )

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

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

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

)
 
-----------------------
06-12-2025 15:02:40.72222[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #1 from random tag.
 
-----------------------
06-12-2025 15:02:40.72223[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:02:40.72224[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text></li> 
-----------------------
06-12-2025 15:02:40.72225[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
06-12-2025 15:02:40.72226[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
06-12-2025 15:02:40.72228[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</text> 
-----------------------
06-12-2025 15:02:40.72228[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
06-12-2025 15:02:40.72229[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
06-12-2025 15:02:40.72230[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
06-12-2025 15:02:40.72231[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?' to the response array. tag name is text 
-----------------------
06-12-2025 15:02:40.72232[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:02:40.72233[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?
)

 
-----------------------
06-12-2025 15:02:40.72234[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:02:40.72235[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo! Senang bertemu dengan Anda.    Bagaimana kabar Anda?' 
-----------------------
06-12-2025 15:02:40.72236[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo! Senang bertemu dengan Anda.    Bagaimana kabar Anda?' to the response array. tag name is li. 
-----------------------
06-12-2025 15:02:40.72237[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:02:40.72238[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Senang bertemu dengan Anda.    Bagaimana kabar Anda?
)

 
-----------------------
06-12-2025 15:02:40.72239[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.72239[4][4] - Elapsed time: 0.008 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo! Senang bertemu dengan Anda.  Bagaimana kabar Anda?' 
-----------------------
06-12-2025 15:02:40.72240[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Halo! Senang bertemu dengan Anda.  Bagaimana kabar Anda?' for output. 
-----------------------
06-12-2025 15:02:40.72241[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Halo! Senang bertemu dengan Anda.  Bagaimana kabar Anda?' to the response array. tag name is random 
-----------------------
06-12-2025 15:02:40.72242[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
06-12-2025 15:02:40.72243[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Senang bertemu dengan Anda.  Bagaimana kabar Anda?
)

 
-----------------------
06-12-2025 15:02:40.72244[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.72245[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' 
-----------------------
06-12-2025 15:02:40.72245[4][4] - Elapsed time: 0.009 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' to the response array. tag name is template. 
-----------------------
06-12-2025 15:02:40.72247[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:02:40.72248[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
)

 
-----------------------
06-12-2025 15:02:40.72248[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
06-12-2025 15:02:40.72249[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' 
-----------------------
06-12-2025 15:02:40.72250[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda? 
-----------------------
06-12-2025 15:02:40.72252[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
06-12-2025 15:02:40.72253[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
06-12-2025 15:02:40.72254[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' to the front of the [that_raw] array 
-----------------------
06-12-2025 15:02:40.72255[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
06-12-2025 15:02:40.72257[2][4] - Elapsed time: 0.027 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:02:40.72259[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo!' 
-----------------------
06-12-2025 15:02:40.72260[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo!' 
-----------------------
06-12-2025 15:02:40.72261[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
06-12-2025 15:02:40.72262[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
06-12-2025 15:02:40.72263[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Senang bertemu dengan Anda.' 
-----------------------
06-12-2025 15:02:40.72264[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Senang bertemu dengan Anda.' 
-----------------------
06-12-2025 15:02:40.72265[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG BERTEMU DENGAN ANDA' 
-----------------------
06-12-2025 15:02:40.72266[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG BERTEMU DENGAN ANDA' 
-----------------------
06-12-2025 15:02:40.72267[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Bagaimana kabar Anda?' 
-----------------------
06-12-2025 15:02:40.72267[4][4] - Elapsed time: 0.008 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bagaimana kabar Anda?' 
-----------------------
06-12-2025 15:02:40.72268[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:02:40.72269[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAGAIMANA KABAR ANDA' 
-----------------------
06-12-2025 15:02:40.72271[2][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?' to the front of the [parsed_template] array 
-----------------------
06-12-2025 15:02:40.72272[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
06-12-2025 15:02:40.72273[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>' to the front of the [template] array 
-----------------------
06-12-2025 15:02:40.72274[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
06-12-2025 15:02:40.72276[2][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
06-12-2025 15:02:40.72278[3][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'Halo',
      'Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?',
      165,
      'esp32_user',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
06-12-2025 15:02:40.73113[4][4] - Elapsed time: 8.354 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
06-12-2025 15:02:40.73141[3][4] - Elapsed time: 0.283 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:02:40.73175[2][4] - Elapsed time: 0.341 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
06-12-2025 15:02:40.73177[4][4] - Elapsed time: 0.016 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
06-12-2025 15:02:40.73178[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
06-12-2025 15:02:40.73182[4][4] - Elapsed time: 0.039 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"esp32_user","usersay":"Halo","botsay":"Halo! Senang bertemu dengan Anda. Bagaimana kabar 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":"Halo","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"1339","bot_id":"1","pattern":"HALO","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<random>\n        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?<\/li>\n        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?<\/li>\n        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?<\/li>\n        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.<\/li>\n      <\/random>","score":260,"current_that":"mode diskusi diubah mari kita bahas topik yegar silakan ajukan pertanyaan anda","aiml_id":"1339","track_score":"current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)"}}} 
-----------------------
06-12-2025 15:02:40.73226[2][4] - Elapsed time: 0.448 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
06-12-2025 15:02:40.73230[0][4] - Elapsed time: 0.040 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 25.737 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Halo
    [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] => Halo
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => imanueldannu910@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 1339
                    [bot_id] => 1
                    [pattern] => HALO
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => <random>
        <li>Halo! Selamat datang.        Ada yang bisa saya bantu hari ini?</li>
        <li>Halo! Senang bertemu dengan Anda.        Bagaimana kabar Anda?</li>
        <li>Halo! Saya pedro salto, siap membantu Anda.        Ada pertanyaan?</li>
        <li>Selamat datang! Saya di sini untuk membantu.        Silakan tanyakan apa saja.</li>
      </random>
                    [score] => 260
                    [current_that] => mode diskusi diubah mari kita bahas topik yegar silakan ajukan pertanyaan anda
                    [aiml_id] => 1339
                    [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: halo (2 points)
                )

        )

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

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
        )

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

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

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

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

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

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

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

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

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

            [9] => Array
                (
                    [0] => Halo! Saya pedro salto, siap membantu Anda
                    [1] =>  Ada pertanyaan?
                )

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

        )

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

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

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

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

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

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

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

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

            [9] => Array
                (
                    [1] => SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA
                )

            [10] => Array
                (
                    [1] => HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN
                )

            [12] => 
        )

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

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Bagaimana kabar Anda?
                    [3] => Senang bertemu dengan Anda.
                    [4] => Halo!
                )

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

    [parsed_template] => Array
        (
            [1] => Halo! Senang bertemu dengan Anda. Bagaimana kabar Anda?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

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

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