02-11-2025 23:52:49.84284[0][4] - Elapsed time: 4.934 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 
-----------------------
02-11-2025 23:52:49.84323[4][4] - Elapsed time: 0.392 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
02-11-2025 23:52:49.84352[4][4] - Elapsed time: 0.289 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
02-11-2025 23:52:49.84366[4][4] - Elapsed time: 0.144 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
02-11-2025 23:52:49.84424[4][4] - Elapsed time: 0.581 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
02-11-2025 23:52:49.84426[4][4] - Elapsed time: 0.019 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
02-11-2025 23:52:49.84447[1][4] - Elapsed time: 0.209 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/riski.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
02-11-2025 23:52:49.84487[0][4] - Elapsed time: 0.400 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 4a6b84f3956cf3b0118bf9f0260c7e36 
-----------------------
02-11-2025 23:52:49.84489[4][4] - Elapsed time: 0.019 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'aku bosen aku lagi bosen banget lagi bosen parah'. 
-----------------------
02-11-2025 23:52:49.84493[4][4] - Elapsed time: 0.037 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
02-11-2025 23:52:49.84494[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
02-11-2025 23:52:49.84496[3][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
02-11-2025 23:52:49.84521[4][4] - Elapsed time: 0.252 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
02-11-2025 23:52:49.84523[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
02-11-2025 23:52:49.84524[3][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
02-11-2025 23:52:49.84555[2][4] - Elapsed time: 0.304 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
02-11-2025 23:52:49.84557[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
02-11-2025 23:52:49.84579[3][4] - Elapsed time: 0.217 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_riski`.`client_properties` WHERE `user_id` = 1 AND `bot_id` = 1; 
-----------------------
02-11-2025 23:52:49.84601[2][4] - Elapsed time: 0.226 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
02-11-2025 23:52:49.84612[2][4] - Elapsed time: 0.109 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on aku. 
-----------------------
02-11-2025 23:52:49.84614[2][4] - Elapsed time: 0.021 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
02-11-2025 23:52:49.84666[2][4] - Elapsed time: 0.515 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:52:49.84669[2][4] - Elapsed time: 0.029 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on bosen. 
-----------------------
02-11-2025 23:52:49.84671[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:52:49.84674[2][4] - Elapsed time: 0.022 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on aku. 
-----------------------
02-11-2025 23:52:49.84676[2][4] - Elapsed time: 0.023 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:52:49.84678[2][4] - Elapsed time: 0.022 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on lagi. 
-----------------------
02-11-2025 23:52:49.84681[2][4] - Elapsed time: 0.027 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:52:49.84683[2][4] - Elapsed time: 0.021 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on bosen. 
-----------------------
02-11-2025 23:52:49.84685[2][4] - Elapsed time: 0.026 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:52:49.84687[2][4] - Elapsed time: 0.021 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on banget. 
-----------------------
02-11-2025 23:52:49.84690[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:52:49.84692[2][4] - Elapsed time: 0.020 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on lagi. 
-----------------------
02-11-2025 23:52:49.84695[2][4] - Elapsed time: 0.028 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:52:49.84697[2][4] - Elapsed time: 0.021 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on bosen. 
-----------------------
02-11-2025 23:52:49.84699[2][4] - Elapsed time: 0.025 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
02-11-2025 23:52:49.84701[2][4] - Elapsed time: 0.021 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on parah. 
-----------------------
02-11-2025 23:52:49.84704[4][4] - Elapsed time: 0.029 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
02-11-2025 23:52:49.84728[4][4] - Elapsed time: 0.236 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' 
-----------------------
02-11-2025 23:52:49.84731[2][4] - Elapsed time: 0.025 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH
Convo id: 4a6b84f3956cf3b0118bf9f0260c7e36
Bot id: 1
Format: json 
-----------------------
02-11-2025 23:52:49.84732[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
02-11-2025 23:52:49.84733[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
02-11-2025 23:52:49.84735[3][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_riski`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
02-11-2025 23:52:49.84763[1][4] - Elapsed time: 0.279 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => nama aku riski
    [1] => namaku riski
    [2] => halo
    [3] => AKU BOSAN
    [4] => AKU BOSEN
    [5] => GABUT
    [6] => gabut
    [7] => namaku riski
    [8] => halo
    [9] => aku bosan
)
 
-----------------------
02-11-2025 23:52:49.84765[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
02-11-2025 23:52:49.84766[1][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Senang kenal kamu, riski ! Lagi ngapain nih?
    [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [2] => Halo juga! Siapa namamu?
    [3] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [4] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [5] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [6] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [7] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
    [8] => Heyy! Lama gak ngobrol nih????
    [9] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
)
 
-----------------------
02-11-2025 23:52:49.84769[2][4] - Elapsed time: 0.034 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84771[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:52:49.84772[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84773[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84774[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84776[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84778[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84779[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84780[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.84784[4][4] - Elapsed time: 0.044 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
02-11-2025 23:52:49.84796[4][4] - Elapsed time: 0.117 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84797[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84799[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84800[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84802[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84803[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Heyy
    [1] =>  Lama gak ngobrol nih
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
02-11-2025 23:52:49.84804[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84806[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:52:49.84807[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:52:49.84808[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Heyy Lama gak ngobrol nih  ' 
-----------------------
02-11-2025 23:52:49.84810[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:49.84811[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:49.84812[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HEYY LAMA GAK NGOBROL NIH' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.84813[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:49.84815[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:49.84816[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:49.84817[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HEYY LAMA GAK NGOBROL NIH' 
-----------------------
02-11-2025 23:52:49.84819[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84820[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:52:49.84821[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84822[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84823[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84824[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84826[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84827[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84828[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.84830[4][4] - Elapsed time: 0.025 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84831[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84833[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84834[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84835[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84837[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:52:49.84838[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84839[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84840[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84841[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84842[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84843[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84844[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.84846[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84848[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84850[4][4] - Elapsed time: 0.020 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84852[4][4] - Elapsed time: 0.023 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84854[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84855[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:52:49.84856[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84857[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84858[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84859[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84861[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84862[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84863[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.84864[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84865[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84867[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84868[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84869[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84870[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:52:49.84872[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84873[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84874[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84875[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84876[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84877[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84878[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.84880[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84881[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84882[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84883[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84885[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84886[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:52:49.84887[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84888[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84890[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84891[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84893[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84894[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84895[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.84898[4][4] - Elapsed time: 0.033 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84899[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84901[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84902[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84903[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84904[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo juga
    [1] =>  Siapa namamu
    [2] => 
)

 
-----------------------
02-11-2025 23:52:49.84905[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84906[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo juga Siapa namamu ' 
-----------------------
02-11-2025 23:52:49.84907[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo juga Siapa namamu ' 
-----------------------
02-11-2025 23:52:49.84908[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo juga Siapa namamu ' 
-----------------------
02-11-2025 23:52:49.84910[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:49.84911[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:49.84912[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO JUGA SIAPA NAMAMU' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.84913[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:49.84914[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:49.84916[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:49.84917[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO JUGA SIAPA NAMAMU' 
-----------------------
02-11-2025 23:52:49.84918[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84919[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa ulangi lagi gak
    [2] =>  Kadang aku suka bingung
    [3] => 
    [4] => 
    [5] => 
    [6] => 
)

 
-----------------------
02-11-2025 23:52:49.84921[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84922[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84923[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84924[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
02-11-2025 23:52:49.84925[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84926[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84927[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.84930[4][4] - Elapsed time: 0.023 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84931[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84933[4][4] - Elapsed time: 0.020 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84934[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.84936[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84937[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Senang kenal kamu
    [1] =>  riski 
    [2] =>  Lagi ngapain nih
    [3] => 
)

 
-----------------------
02-11-2025 23:52:49.84938[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84939[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Senang kenal kamu riski  Lagi ngapain nih ' 
-----------------------
02-11-2025 23:52:49.84940[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Senang kenal kamu riski  Lagi ngapain nih ' 
-----------------------
02-11-2025 23:52:49.84941[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Senang kenal kamu riski  Lagi ngapain nih ' 
-----------------------
02-11-2025 23:52:49.84943[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
02-11-2025 23:52:49.84944[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
02-11-2025 23:52:49.84945[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.84946[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
02-11-2025 23:52:49.84947[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
02-11-2025 23:52:49.84949[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
02-11-2025 23:52:49.84950[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
02-11-2025 23:52:49.84952[4][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
02-11-2025 23:52:49.84954[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84955[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku bosan
)

 
-----------------------
02-11-2025 23:52:49.84956[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84957[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku bosan' 
-----------------------
02-11-2025 23:52:49.84958[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku bosan' 
-----------------------
02-11-2025 23:52:49.84959[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosan' 
-----------------------
02-11-2025 23:52:49.84960[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:49.84962[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:49.84963[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.84966[4][4] - Elapsed time: 0.031 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
02-11-2025 23:52:49.84968[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84969[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 23:52:49.84970[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84971[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 23:52:49.84972[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 23:52:49.84974[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 23:52:49.84975[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:52:49.84976[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:52:49.84977[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.84979[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84980[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
02-11-2025 23:52:49.84981[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84982[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
02-11-2025 23:52:49.84983[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
02-11-2025 23:52:49.84984[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
02-11-2025 23:52:49.84985[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:52:49.84986[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:52:49.84987[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.84989[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.84990[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => gabut
)

 
-----------------------
02-11-2025 23:52:49.84991[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.84992[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'gabut' 
-----------------------
02-11-2025 23:52:49.84993[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'gabut' 
-----------------------
02-11-2025 23:52:49.84994[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'gabut' 
-----------------------
02-11-2025 23:52:49.84995[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
02-11-2025 23:52:49.84996[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GABUT' 
-----------------------
02-11-2025 23:52:49.84997[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.84999[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85000[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => GABUT
)

 
-----------------------
02-11-2025 23:52:49.85001[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85003[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'GABUT' 
-----------------------
02-11-2025 23:52:49.85004[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'GABUT' 
-----------------------
02-11-2025 23:52:49.85005[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GABUT' 
-----------------------
02-11-2025 23:52:49.85006[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
02-11-2025 23:52:49.85007[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GABUT' 
-----------------------
02-11-2025 23:52:49.85008[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.85010[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85011[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSEN
)

 
-----------------------
02-11-2025 23:52:49.85012[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85013[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSEN' 
-----------------------
02-11-2025 23:52:49.85014[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSEN' 
-----------------------
02-11-2025 23:52:49.85015[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSEN' 
-----------------------
02-11-2025 23:52:49.85016[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN' 
-----------------------
02-11-2025 23:52:49.85017[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN' 
-----------------------
02-11-2025 23:52:49.85018[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.85020[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85021[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSAN
)

 
-----------------------
02-11-2025 23:52:49.85022[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85023[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:49.85024[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:49.85025[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:49.85026[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:49.85027[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSAN' 
-----------------------
02-11-2025 23:52:49.85028[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSAN' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.85031[2][4] - Elapsed time: 0.031 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85032[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
02-11-2025 23:52:49.85033[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85034[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
02-11-2025 23:52:49.85036[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
02-11-2025 23:52:49.85037[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
02-11-2025 23:52:49.85038[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
02-11-2025 23:52:49.85039[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
02-11-2025 23:52:49.85040[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.85043[2][4] - Elapsed time: 0.031 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85044[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => namaku riski
)

 
-----------------------
02-11-2025 23:52:49.85045[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85046[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'namaku riski' 
-----------------------
02-11-2025 23:52:49.85047[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'namaku riski' 
-----------------------
02-11-2025 23:52:49.85048[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'namaku riski' 
-----------------------
02-11-2025 23:52:49.85051[4][4] - Elapsed time: 0.031 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:52:49.85052[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMAKU RISKI' 
-----------------------
02-11-2025 23:52:49.85053[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMAKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.85055[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85056[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => nama aku riski
)

 
-----------------------
02-11-2025 23:52:49.85057[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85058[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'nama aku riski' 
-----------------------
02-11-2025 23:52:49.85059[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'nama aku riski' 
-----------------------
02-11-2025 23:52:49.85060[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama aku riski' 
-----------------------
02-11-2025 23:52:49.85062[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA AKU RISKI' 
-----------------------
02-11-2025 23:52:49.85063[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA AKU RISKI' 
-----------------------
02-11-2025 23:52:49.85064[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA AKU RISKI' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.85139[2][4] - Elapsed time: 0.749 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
02-11-2025 23:52:49.85140[3][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
02-11-2025 23:52:49.85163[4][4] - Elapsed time: 0.221 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
02-11-2025 23:52:49.85165[0][4] - Elapsed time: 0.021 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
02-11-2025 23:52:49.85166[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
02-11-2025 23:52:49.85167[0][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][235]
Say = AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH: raw say = aku bosen aku lagi bosen banget lagi bosen parah 
-----------------------
02-11-2025 23:52:49.85168[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
02-11-2025 23:52:49.85169[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' to the front of the [user_say] array 
-----------------------
02-11-2025 23:52:49.85171[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
02-11-2025 23:52:49.85173[0][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = aku bosen aku lagi bosen banget lagi bosen parah, RAW say = aku bosen aku lagi bosen banget lagi bosen parah 
-----------------------
02-11-2025 23:52:49.85174[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'aku bosen aku lagi bosen banget lagi bosen parah' to the front of the [input] array 
-----------------------
02-11-2025 23:52:49.85176[4][4] - Elapsed time: 0.017 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
02-11-2025 23:52:49.85177[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' 
-----------------------
02-11-2025 23:52:49.85179[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' 
-----------------------
02-11-2025 23:52:49.85180[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
02-11-2025 23:52:49.85201[4][4] - Elapsed time: 0.214 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
02-11-2025 23:52:49.85204[3][4] - Elapsed time: 0.030 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_riski`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'fe0256208a21d68d5f91d5930b2305c4'
    AND (
        'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:52:49.85227[2][4] - Elapsed time: 0.233 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
02-11-2025 23:52:49.85230[4][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
02-11-2025 23:52:49.85231[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
02-11-2025 23:52:49.85252[4][4] - Elapsed time: 0.205 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
02-11-2025 23:52:49.85254[3][4] - Elapsed time: 0.027 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_riski`.`aiml` WHERE
    bot_id = 1 AND (
        'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:52:49.85284[3][4] - Elapsed time: 0.294 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
02-11-2025 23:52:49.85285[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
02-11-2025 23:52:49.85307[1][4] - Elapsed time: 0.213 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH 
-----------------------
02-11-2025 23:52:49.85309[4][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
02-11-2025 23:52:49.85310[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' 
-----------------------
02-11-2025 23:52:49.85322[4][4] - Elapsed time: 0.127 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
02-11-2025 23:52:49.85324[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 23:52:49.85354[4][4] - Elapsed time: 0.297 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 649
            [bot_id] => 1
            [pattern] => AKU *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <srai><star/></srai>
            [score] => 254
            [current_that] => senang kenal kamu riski lagi ngapain nih
            [aiml_id] => 649
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: aku (2 points), star word match (1 points)
        )

    [1] => Array
        (
            [id] => 657
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [score] => 252
            [current_that] => senang kenal kamu riski lagi ngapain nih
            [aiml_id] => 657
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
02-11-2025 23:52:49.85356[2][4] - Elapsed time: 0.028 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 649
            [bot_id] => 1
            [pattern] => AKU *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <srai><star/></srai>
            [score] => 254
            [current_that] => senang kenal kamu riski lagi ngapain nih
            [aiml_id] => 649
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: aku (2 points), star word match (1 points)
        )

)

 
-----------------------
02-11-2025 23:52:49.85391[4][4] - Elapsed time: 0.347 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 649
    [bot_id] => 1
    [pattern] => AKU *
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai1.aiml
    [template] => <srai><star/></srai>
    [score] => 254
    [current_that] => senang kenal kamu riski lagi ngapain nih
    [aiml_id] => 649
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: aku (2 points), star word match (1 points)
)
 
-----------------------
02-11-2025 23:52:49.85392[2][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 23:52:49.85395[4][4] - Elapsed time: 0.025 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:649 (AKU *) 
-----------------------
02-11-2025 23:52:49.85396[3][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
02-11-2025 23:52:49.85398[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'AKU *' 
-----------------------
02-11-2025 23:52:49.85399[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
02-11-2025 23:52:49.85400[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~AKU (.+)$~siuU: Searching aku bosen aku lagi bosen banget lagi bosen parah for a match. 
-----------------------
02-11-2025 23:52:49.85406[2][4] - Elapsed time: 0.064 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => aku bosen aku lagi bosen banget lagi bosen parah
        )

    [1] => Array
        (
            [0] => bosen aku lagi bosen banget lagi bosen parah
        )

)
 
-----------------------
02-11-2025 23:52:49.85408[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'bosen aku lagi bosen banget lagi bosen parah' to the stars stack. 
-----------------------
02-11-2025 23:52:49.85409[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => bosen aku lagi bosen banget lagi bosen parah
)
 
-----------------------
02-11-2025 23:52:49.85410[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 23:52:49.85411[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 23:52:49.85413[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 649
    [category_id] => 649
    [html_template] => 
    [lookingfor] => AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH
    [pattern] => AKU *
    [score] => 254
    [stars] => Array
        (
            [1] => bosen aku lagi bosen banget lagi bosen parah
        )

    [template] => <srai><star/></srai>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => aku bosen aku lagi bosen banget lagi bosen parah
)
 
-----------------------
02-11-2025 23:52:49.85415[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
02-11-2025 23:52:49.85416[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
02-11-2025 23:52:49.85423[4][4] - Elapsed time: 0.074 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><srai><star/></srai></template> 
-----------------------
02-11-2025 23:52:49.85441[2][4] - Elapsed time: 0.178 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:49.85446[4][4] - Elapsed time: 0.048 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><srai><star/></srai></template>
 
-----------------------
02-11-2025 23:52:49.85448[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
02-11-2025 23:52:49.85450[2][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:49.85453[4][4] - Elapsed time: 0.024 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element srai at level 1. element XML = <srai><star/></srai> 
-----------------------
02-11-2025 23:52:49.85454[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_srai_tag does exist. Processing now. 
-----------------------
02-11-2025 23:52:49.85455[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element srai to the parse_srai_tag function 
-----------------------
02-11-2025 23:52:49.85456[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][763]
Parsing an SRAI tag. 
-----------------------
02-11-2025 23:52:49.85458[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the srai tag into text. 
-----------------------
02-11-2025 23:52:49.85459[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:49.85461[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 2. element XML = <star/> 
-----------------------
02-11-2025 23:52:49.85462[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
02-11-2025 23:52:49.85463[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
02-11-2025 23:52:49.85464[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
02-11-2025 23:52:49.85466[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 2. element = <star/> 
-----------------------
02-11-2025 23:52:49.85467[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => aku bosen aku lagi bosen banget lagi bosen parah
    [lookingfor] => AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH
    [category_id] => 649
    [pattern] => AKU *
    [thatpattern] => 
    [template] => <srai><star/></srai>
    [html_template] => 
    [topic] => 
    [score] => 254
    [aiml_id] => 649
    [stars] => Array
        (
            [1] => bosen aku lagi bosen banget lagi bosen parah
        )

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

    [topic_stars] => Array
        (
        )

)
 
-----------------------
02-11-2025 23:52:49.85468[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
02-11-2025 23:52:49.85470[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'bosen aku lagi bosen banget lagi bosen parah' to the response array. 
-----------------------
02-11-2025 23:52:49.85471[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = bosen aku lagi bosen banget lagi bosen parah 
-----------------------
02-11-2025 23:52:49.85472[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85473[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bosen aku lagi bosen banget lagi bosen parah
)

 
-----------------------
02-11-2025 23:52:49.85474[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85475[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
02-11-2025 23:52:49.85476[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'bosen aku lagi bosen banget lagi bosen parah' to the response array. tag name is star 
-----------------------
02-11-2025 23:52:49.85478[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85479[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => bosen aku lagi bosen banget lagi bosen parah
        )

)

 
-----------------------
02-11-2025 23:52:49.85480[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85481[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85482[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bosen aku lagi bosen banget lagi bosen parah
)

 
-----------------------
02-11-2025 23:52:49.85483[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85484[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
02-11-2025 23:52:49.85485[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][767]
SRAI parsed to bosen aku lagi bosen banget lagi bosen parah. 
-----------------------
02-11-2025 23:52:49.85487[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'AKU *' 
-----------------------
02-11-2025 23:52:49.85488[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
02-11-2025 23:52:49.85489[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~AKU (.+)$~siuU: Searching bosen aku lagi bosen banget lagi bosen parah for a match. 
-----------------------
02-11-2025 23:52:49.85490[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => aku lagi bosen banget lagi bosen parah
        )

    [1] => Array
        (
            [0] => lagi bosen banget lagi bosen parah
        )

)
 
-----------------------
02-11-2025 23:52:49.85491[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'lagi bosen banget lagi bosen parah' to the stars stack. 
-----------------------
02-11-2025 23:52:49.85492[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => lagi bosen banget lagi bosen parah
)
 
-----------------------
02-11-2025 23:52:49.85493[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 23:52:49.85495[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 23:52:49.85496[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 649
    [category_id] => 649
    [html_template] => 
    [lookingfor] => bosen aku lagi bosen banget lagi bosen parah
    [pattern] => AKU *
    [score] => 254
    [stars] => Array
        (
            [1] => lagi bosen banget lagi bosen parah
        )

    [template] => <srai><star/></srai>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => aku bosen aku lagi bosen banget lagi bosen parah
)
 
-----------------------
02-11-2025 23:52:49.85498[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][run_srai][410]
Running SRAI. Pattern = 'bosen aku lagi bosen banget lagi bosen parah'. 
-----------------------
02-11-2025 23:52:49.85499[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][run_srai][425]
Checking for entries in the srai_lookup table. 
-----------------------
02-11-2025 23:52:49.85500[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][run_srai][426]
azimov bot_id = 1 
-----------------------
02-11-2025 23:52:49.85501[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][run_srai][431]
lookup SQL = select `template_id` from `siew8359_riski`.`srai_lookup` where `pattern` like '%bosen aku lagi bosen banget lagi bosen parah%' and ( bot_id = 1 ); 
-----------------------
02-11-2025 23:52:49.85543[2][4] - Elapsed time: 0.417 milliseconds
[parse_aiml.php][run_srai][433]
Result = Array
(
)
 
-----------------------
02-11-2025 23:52:49.85544[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][run_srai][464]
No match found in lookup table. 
-----------------------
02-11-2025 23:52:49.85545[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][run_srai][466]
Nothing found in the SRAI lookup table. Looking for a direct pattern match for 'bosen aku lagi bosen banget lagi bosen parah'. 
-----------------------
02-11-2025 23:52:49.85547[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][run_srai][473]
lookup SQL = SELECT `id`, `pattern`, `thatpattern`, `topic` FROM `siew8359_riski`.`aiml` where `pattern` like '%bosen aku lagi bosen banget lagi bosen parah%' and  bot_id = 1  order by `id` asc; 
-----------------------
02-11-2025 23:52:49.85571[2][4] - Elapsed time: 0.241 milliseconds
[parse_aiml.php][run_srai][477]
Found 0 potential responses. 
-----------------------
02-11-2025 23:52:49.85573[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][run_srai][478]
Responses: Array
(
)
 
-----------------------
02-11-2025 23:52:49.85574[1][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][run_srai][506]
Error: FOUND NO AIML matches in DB 
-----------------------
02-11-2025 23:52:49.85594[1][4] - Elapsed time: 0.207 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH 
-----------------------
02-11-2025 23:52:49.85596[4][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
02-11-2025 23:52:49.85597[1][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][56]
Returning error as no results where found 
-----------------------
02-11-2025 23:52:49.85598[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 23:52:49.85618[1][4] - Elapsed time: 0.200 milliseconds
[find_aiml.php][score_matches][329]
Found an error trying to identify the chatbot. 
-----------------------
02-11-2025 23:52:49.85620[4][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
)
 
-----------------------
02-11-2025 23:52:49.85622[2][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
)

 
-----------------------
02-11-2025 23:52:49.85635[4][4] - Elapsed time: 0.133 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => -1
    [aiml_id] => -1
    [bot_id] => 1
    [pattern] => no results
    [thatpattern] => 
    [topic] => 
    [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
    [score] => 0
    [track_score] => No Match Found!
)
 
-----------------------
02-11-2025 23:52:49.85636[2][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 23:52:49.85638[3][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][run_srai][581]
Running SRAI 1 on bosen aku lagi bosen banget lagi bosen parah 
-----------------------
02-11-2025 23:52:49.85639[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][run_srai][582]
 
-----------------------
02-11-2025 23:52:49.85641[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][run_srai][586]
Incrementing srai iterations to 2 
-----------------------
02-11-2025 23:52:49.85642[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][load_blank_stack][85]
Loading blank stack 
-----------------------
02-11-2025 23:52:49.85643[4][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
02-11-2025 23:52:49.85664[4][4] - Elapsed time: 0.204 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
02-11-2025 23:52:49.85666[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_riski`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'fe0256208a21d68d5f91d5930b2305c4'
    AND (
        'BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:52:49.85686[2][4] - Elapsed time: 0.198 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
02-11-2025 23:52:49.85688[4][4] - Elapsed time: 0.021 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
02-11-2025 23:52:49.85689[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
02-11-2025 23:52:49.85709[4][4] - Elapsed time: 0.197 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
02-11-2025 23:52:49.85711[3][4] - Elapsed time: 0.023 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_riski`.`aiml` WHERE
    bot_id = 1 AND (
        'BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
02-11-2025 23:52:49.85737[3][4] - Elapsed time: 0.264 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
02-11-2025 23:52:49.85739[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (1) potential AIML matches 
-----------------------
02-11-2025 23:52:49.85761[4][4] - Elapsed time: 0.221 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 1 rows to unset bad matches 
-----------------------
02-11-2025 23:52:49.85763[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
02-11-2025 23:52:49.85765[4][4] - Elapsed time: 0.027 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
02-11-2025 23:52:49.85767[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
02-11-2025 23:52:49.85788[4][4] - Elapsed time: 0.212 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 657
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [score] => 252
            [current_that] => 
            [aiml_id] => 657
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
02-11-2025 23:52:49.85790[2][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 657
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
            [score] => 252
            [current_that] => 
            [aiml_id] => 657
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)

 
-----------------------
02-11-2025 23:52:49.85805[4][4] - Elapsed time: 0.153 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 657
    [bot_id] => 1
    [pattern] => *
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai1.aiml
    [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
    [score] => 252
    [current_that] => 
    [aiml_id] => 657
    [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
)
 
-----------------------
02-11-2025 23:52:49.85806[2][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
02-11-2025 23:52:49.85809[4][4] - Elapsed time: 0.027 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
02-11-2025 23:52:49.85811[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
02-11-2025 23:52:49.85834[2][4] - Elapsed time: 0.229 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
02-11-2025 23:52:49.85835[1][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'bosen aku lagi bosen banget lagi bosen parah' to the unknown_inputs table. 
-----------------------
02-11-2025 23:52:49.85836[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:657 (*) 
-----------------------
02-11-2025 23:52:49.85838[3][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in srai mode (normal or srai) 
-----------------------
02-11-2025 23:52:49.85839[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
02-11-2025 23:52:49.85840[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
02-11-2025 23:52:49.85841[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
02-11-2025 23:52:49.85842[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
02-11-2025 23:52:49.85843[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching bosen aku lagi bosen banget lagi bosen parah for a match. 
-----------------------
02-11-2025 23:52:49.85849[2][4] - Elapsed time: 0.053 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => bosen aku lagi bosen banget lagi bosen parah
        )

    [1] => Array
        (
            [0] => bosen aku lagi bosen banget lagi bosen parah
        )

)
 
-----------------------
02-11-2025 23:52:49.85850[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'bosen aku lagi bosen banget lagi bosen parah' to the stars stack. 
-----------------------
02-11-2025 23:52:49.85851[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => bosen aku lagi bosen banget lagi bosen parah
)
 
-----------------------
02-11-2025 23:52:49.85852[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
02-11-2025 23:52:49.85854[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
02-11-2025 23:52:49.85855[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 657
    [category_id] => 657
    [html_template] => 
    [lookingfor] => bosen aku lagi bosen banget lagi bosen parah
    [parsed_template] => 
    [pattern] => *
    [score] => 252
    [stars] => Array
        (
            [1] => bosen aku lagi bosen banget lagi bosen parah
        )

    [template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => bosen aku lagi bosen banget lagi bosen parah
)
 
-----------------------
02-11-2025 23:52:49.85857[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
02-11-2025 23:52:49.85858[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
02-11-2025 23:52:49.85859[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text></template> 
-----------------------
02-11-2025 23:52:49.85863[2][4] - Elapsed time: 0.038 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:49.85866[4][4] - Elapsed time: 0.028 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text></template>
 
-----------------------
02-11-2025 23:52:49.85867[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. 
-----------------------
02-11-2025 23:52:49.85869[2][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
02-11-2025 23:52:49.85871[4][4] - Elapsed time: 0.026 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????</text> 
-----------------------
02-11-2025 23:52:49.85873[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
02-11-2025 23:52:49.85874[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
02-11-2025 23:52:49.85875[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
02-11-2025 23:52:49.85876[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the response array. tag name is text 
-----------------------
02-11-2025 23:52:49.85877[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85878[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
)

 
-----------------------
02-11-2025 23:52:49.85879[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85880[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' 
-----------------------
02-11-2025 23:52:49.85881[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' to the response array. tag name is template. 
-----------------------
02-11-2025 23:52:49.85883[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85884[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????
)

 
-----------------------
02-11-2025 23:52:49.85885[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85886[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung ????' 
-----------------------
02-11-2025 23:52:49.85887[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? 
-----------------------
02-11-2025 23:52:49.85889[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][parse_matched_aiml][232]
srai - Not saving for next turn 
-----------------------
02-11-2025 23:52:49.85890[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][run_srai][621]
SRAI Found. Returning 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' 
-----------------------
02-11-2025 23:52:49.85891[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][run_srai][625]
Decrementing srai iterations to 1 
-----------------------
02-11-2025 23:52:49.85893[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][771]
Finished parsing SRAI tag 
-----------------------
02-11-2025 23:52:49.85894[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85895[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? 
 
-----------------------
02-11-2025 23:52:49.85896[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? ' to the response array. tag name is srai 
-----------------------
02-11-2025 23:52:49.85897[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85898[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? 
)

 
-----------------------
02-11-2025 23:52:49.85899[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85900[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? ' 
-----------------------
02-11-2025 23:52:49.85901[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? ' to the response array. tag name is template. 
-----------------------
02-11-2025 23:52:49.85903[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
02-11-2025 23:52:49.85904[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? 
)

 
-----------------------
02-11-2025 23:52:49.85905[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
02-11-2025 23:52:49.85906[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? ' 
-----------------------
02-11-2025 23:52:49.85907[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Hmm, bisa ulangi lagi gak? Kadang aku suka bingung???? 
-----------------------
02-11-2025 23:52:49.85909[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
02-11-2025 23:52:49.85910[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
02-11-2025 23:52:49.85911[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' to the front of the [that_raw] array 
-----------------------
02-11-2025 23:52:49.85912[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
02-11-2025 23:52:49.85915[2][4] - Elapsed time: 0.031 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' to the front of the [that] array 
-----------------------
02-11-2025 23:52:49.85917[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm, bisa ulangi lagi gak?' 
-----------------------
02-11-2025 23:52:49.85918[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm, bisa ulangi lagi gak?' 
-----------------------
02-11-2025 23:52:49.85920[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK' 
-----------------------
02-11-2025 23:52:49.85921[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK' 
-----------------------
02-11-2025 23:52:49.85922[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kadang aku suka bingung????' 
-----------------------
02-11-2025 23:52:49.85923[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kadang aku suka bingung????' 
-----------------------
02-11-2025 23:52:49.85925[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.85926[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KADANG AKU SUKA BINGUNG' 
-----------------------
02-11-2025 23:52:49.85928[2][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????' to the front of the [parsed_template] array 
-----------------------
02-11-2025 23:52:49.85930[4][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
02-11-2025 23:52:49.85932[2][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<srai><star/></srai>' to the front of the [template] array 
-----------------------
02-11-2025 23:52:49.85933[4][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
02-11-2025 23:52:49.85935[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
02-11-2025 23:52:49.85937[3][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_riski`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'aku bosen aku lagi bosen banget lagi bosen parah',
      'Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
02-11-2025 23:52:49.86096[4][4] - Elapsed time: 1.589 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
02-11-2025 23:52:49.86115[3][4] - Elapsed time: 0.191 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_riski`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
02-11-2025 23:52:49.86140[2][4] - Elapsed time: 0.252 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
02-11-2025 23:52:49.86142[4][4] - Elapsed time: 0.019 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
02-11-2025 23:52:49.86143[2][4] - Elapsed time: 0.013 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
02-11-2025 23:52:49.86147[4][4] - Elapsed time: 0.037 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"aku bosen aku lagi bosen banget lagi bosen parah","botsay":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"aku bosen aku lagi bosen banget lagi bosen parah","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":-1,"aiml_id":-1,"bot_id":"1","pattern":"no results","thatpattern":"","topic":"","template":"Wah pertanyaanmu unik banget, aku pelajari dulu ya !!","score":0,"track_score":"No Match Found!"}}} 
-----------------------
02-11-2025 23:52:49.86175[2][4] - Elapsed time: 0.276 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
02-11-2025 23:52:49.86179[0][4] - Elapsed time: 0.044 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 23.857 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => aku bosen aku lagi bosen banget lagi bosen parah
    [conversation] => Array
        (
            [convo_id] => fe0256208a21d68d5f91d5930b2305c4
            [bot_name] => Chat.ai
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 1
            [totallines] => 1
            [rawSay] => aku bosen aku lagi bosen banget lagi bosen parah
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => apriansyahrizky84@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => -1
                    [aiml_id] => -1
                    [bot_id] => 1
                    [pattern] => no results
                    [thatpattern] => 
                    [topic] => 
                    [template] => Wah pertanyaanmu unik banget, aku pelajari dulu ya !!
                    [score] => 0
                    [track_score] => No Match Found!
                )

        )

    [aiml] => Array
        (
            [user_raw] => aku bosen aku lagi bosen banget lagi bosen parah
            [lookingfor] => AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH
            [category_id] => 649
            [pattern] => AKU *
            [thatpattern] => 
            [template] => <srai><star/></srai>
            [html_template] => 
            [topic] => 
            [score] => 254
            [aiml_id] => 649
            [stars] => Array
                (
                    [1] => bosen aku lagi bosen banget lagi bosen parah
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
        )

    [client_properties] => Array
        (
            [ip_address] => 114.10.16.60
            [name] => Seeker
            [username] => riski
            [user_name] => riski
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Senang kenal kamu, riski ! Lagi ngapain nih?
                )

            [2] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [3] => Array
                (
                    [0] => Halo juga! Siapa namamu?
                )

            [4] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [5] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [6] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [7] => Array
                (
                    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
                )

            [8] => Array
                (
                    [0] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
                )

            [9] => Array
                (
                    [0] => Heyy! Lama gak ngobrol nih????
                )

            [10] => Array
                (
                    [0] => Hmm, bisa ulangi lagi? Kadang aku suka bingung????
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => KADANG AKU SUKA BINGUNG
                    [2] => HMM BISA ULANGI LAGI GAK
                )

            [2] => Array
                (
                    [1] => SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH
                )

            [3] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [4] => Array
                (
                    [1] => HALO JUGA SIAPA NAMAMU
                )

            [5] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [6] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [7] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [8] => Array
                (
                    [1] => HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG
                )

            [9] => Array
                (
                    [1] => HMM BISA ULANGI LAGI KADANG AKU SUKA BINGUNG
                )

            [10] => Array
                (
                    [1] => HEYY LAMA GAK NGOBROL NIH
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => aku bosen aku lagi bosen banget lagi bosen parah
            [2] => NAMA AKU RISKI
            [3] => NAMAKU RISKI
            [4] => HALO
            [5] => AKU BOSAN
            [6] => AKU BOSEN
            [7] => GABUT
            [8] => GABUT
            [9] => NAMAKU RISKI
            [10] => HALO
        )

    [time_start] => 1762102369.8379
    [user_say] => Array
        (
            [1] => AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Kadang aku suka bingung????
                    [3] => Hmm, bisa ulangi lagi gak?
                )

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

    [parsed_template] => Array
        (
            [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <srai><star/></srai>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"aku bosen aku lagi bosen banget lagi bosen parah","botsay":"Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????","botData":{"convo_id":"fe0256208a21d68d5f91d5930b2305c4","bot_name":"Chat.ai","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"1","totallines":1,"rawSay":"aku bosen aku lagi bosen banget lagi bosen parah","conversation_lines":"1","remember_up_to":"10","debugemail":"apriansyahrizky84@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":-1,"aiml_id":-1,"bot_id":"1","pattern":"no results","thatpattern":"","topic":"","template":"Wah pertanyaanmu unik banget, aku pelajari dulu ya !!","score":0,"track_score":"No Match Found!"}}}
)

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