03-11-2025 00:02:14.26583[0][4] - Elapsed time: 8.517 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 
-----------------------
03-11-2025 00:02:14.27547[4][4] - Elapsed time: 9.644 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
03-11-2025 00:02:14.27851[4][4] - Elapsed time: 3.044 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
03-11-2025 00:02:14.27900[4][4] - Elapsed time: 0.490 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
03-11-2025 00:02:14.28130[4][4] - Elapsed time: 2.295 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
03-11-2025 00:02:14.28132[4][4] - Elapsed time: 0.016 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
03-11-2025 00:02:14.28147[1][4] - Elapsed time: 0.150 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 
-----------------------
03-11-2025 00:02:14.28173[0][4] - Elapsed time: 0.269 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 01274705be866296fb3d4a23bcf4fb8d 
-----------------------
03-11-2025 00:02:14.28175[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'Bahas basket'. 
-----------------------
03-11-2025 00:02:14.28177[4][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
03-11-2025 00:02:14.28178[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
03-11-2025 00:02:14.28179[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_riski`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
03-11-2025 00:02:14.28211[4][4] - Elapsed time: 0.319 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: fe0256208a21d68d5f91d5930b2305c4 
-----------------------
03-11-2025 00:02:14.28212[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
03-11-2025 00:02:14.28212[3][4] - Elapsed time: 0.009 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; 
-----------------------
03-11-2025 00:02:14.28241[2][4] - Elapsed time: 0.288 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
03-11-2025 00:02:14.28242[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
03-11-2025 00:02:14.28265[3][4] - Elapsed time: 0.231 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; 
-----------------------
03-11-2025 00:02:14.28291[2][4] - Elapsed time: 0.251 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
03-11-2025 00:02:14.28298[2][4] - Elapsed time: 0.071 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on Bahas. 
-----------------------
03-11-2025 00:02:14.28299[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
03-11-2025 00:02:14.28336[2][4] - Elapsed time: 0.376 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
03-11-2025 00:02:14.28338[2][4] - Elapsed time: 0.018 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on basket. 
-----------------------
03-11-2025 00:02:14.28340[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Bahas basket' 
-----------------------
03-11-2025 00:02:14.28353[4][4] - Elapsed time: 0.128 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS BASKET' 
-----------------------
03-11-2025 00:02:14.28354[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: BAHAS BASKET
Convo id: 01274705be866296fb3d4a23bcf4fb8d
Bot id: 1
Format: json 
-----------------------
03-11-2025 00:02:14.28355[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
03-11-2025 00:02:14.28355[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
03-11-2025 00:02:14.28356[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_riski`.`conversation_log` WHERE `user_id` = 1 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
03-11-2025 00:02:14.28388[1][4] - Elapsed time: 0.316 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => Apa kamu suka film
    [1] => apa kamu suka film
    [2] => butuh semangat
    [3] => butuh semangat
    [4] => AKU BOSEN
    [5] => GABUT
    [6] => aku lagi bosen
    [7] => aku bosen
    [8] => aku bosen aku lagi bosen banget lagi bosen parah
    [9] => nama aku riski
)
 
-----------------------
03-11-2025 00:02:14.28389[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
03-11-2025 00:02:14.28389[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [1] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [2] => Semangat ya! Kamu pasti bisa????
    [3] => Jangan menyerah, aku percaya kamu!
    [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 gak? Kadang aku suka bingung????
    [8] => Hmm, bisa ulangi lagi gak? Kadang aku suka bingung????
    [9] => Senang kenal kamu, riski ! Lagi ngapain nih?
)
 
-----------------------
03-11-2025 00:02:14.28391[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28392[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Senang kenal kamu
    [1] =>  riski 
    [2] =>  Lagi ngapain nih
    [3] => 
)

 
-----------------------
03-11-2025 00:02:14.28392[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28393[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Senang kenal kamu riski  Lagi ngapain nih ' 
-----------------------
03-11-2025 00:02:14.28393[4][4] - Elapsed time: 0.007 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Senang kenal kamu riski  Lagi ngapain nih ' 
-----------------------
03-11-2025 00:02:14.28394[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Senang kenal kamu riski  Lagi ngapain nih ' 
-----------------------
03-11-2025 00:02:14.28395[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:02:14.28396[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:02:14.28396[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' to the front of the [that] array 
-----------------------
03-11-2025 00:02:14.28399[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
03-11-2025 00:02:14.28406[4][4] - Elapsed time: 0.073 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:02:14.28407[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:02:14.28408[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:02:14.28408[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SENANG KENAL KAMU RISKI LAGI NGAPAIN NIH' 
-----------------------
03-11-2025 00:02:14.28409[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28410[2][4] - Elapsed time: 0.006 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] => 
)

 
-----------------------
03-11-2025 00:02:14.28411[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28411[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28412[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28412[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28413[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28414[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28414[2][4] - Elapsed time: 0.005 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 
-----------------------
03-11-2025 00:02:14.28415[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' 
-----------------------
03-11-2025 00:02:14.28415[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28416[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28417[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28418[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28418[2][4] - Elapsed time: 0.005 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] => 
)

 
-----------------------
03-11-2025 00:02:14.28419[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28419[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28420[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28420[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28421[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28421[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28422[2][4] - Elapsed time: 0.005 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 
-----------------------
03-11-2025 00:02:14.28423[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28423[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28424[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28425[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28425[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28426[2][4] - Elapsed time: 0.006 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] => 
)

 
-----------------------
03-11-2025 00:02:14.28426[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28427[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28427[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28428[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28429[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28430[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28430[2][4] - Elapsed time: 0.005 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 
-----------------------
03-11-2025 00:02:14.28431[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28432[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28432[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28433[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28433[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28434[2][4] - Elapsed time: 0.006 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] => 
)

 
-----------------------
03-11-2025 00:02:14.28434[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28435[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28435[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28436[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28437[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28437[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28438[2][4] - Elapsed time: 0.005 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 
-----------------------
03-11-2025 00:02:14.28438[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28439[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28440[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28440[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28441[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28441[2][4] - Elapsed time: 0.006 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] => 
)

 
-----------------------
03-11-2025 00:02:14.28442[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28442[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28443[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28443[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28444[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28445[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28445[2][4] - Elapsed time: 0.005 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 
-----------------------
03-11-2025 00:02:14.28446[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28446[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28447[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28448[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28448[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28449[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Jangan menyerah
    [1] =>  aku percaya kamu
    [2] => 
)

 
-----------------------
03-11-2025 00:02:14.28449[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28450[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:02:14.28450[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:02:14.28451[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Jangan menyerah aku percaya kamu ' 
-----------------------
03-11-2025 00:02:14.28451[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:02:14.28452[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:02:14.28452[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'JANGAN MENYERAH AKU PERCAYA KAMU' to the front of the [that] array 
-----------------------
03-11-2025 00:02:14.28453[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:02:14.28454[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:02:14.28454[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:02:14.28455[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JANGAN MENYERAH AKU PERCAYA KAMU' 
-----------------------
03-11-2025 00:02:14.28455[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28456[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Semangat ya
    [1] =>  Kamu pasti bisa
    [2] => 
    [3] => 
    [4] => 
    [5] => 
)

 
-----------------------
03-11-2025 00:02:14.28456[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28457[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:02:14.28458[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:02:14.28458[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Semangat ya Kamu pasti bisa  ' 
-----------------------
03-11-2025 00:02:14.28459[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:02:14.28459[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:02:14.28460[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SEMANGAT YA KAMU PASTI BISA' to the front of the [that] array 
-----------------------
03-11-2025 00:02:14.28461[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:02:14.28461[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:02:14.28462[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:02:14.28462[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEMANGAT YA KAMU PASTI BISA' 
-----------------------
03-11-2025 00:02:14.28463[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28464[2][4] - Elapsed time: 0.006 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] => 
)

 
-----------------------
03-11-2025 00:02:14.28464[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28465[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28465[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28466[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28466[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28467[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28467[2][4] - Elapsed time: 0.005 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 
-----------------------
03-11-2025 00:02:14.28468[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28469[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28469[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28470[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28470[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28471[2][4] - Elapsed time: 0.005 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] => 
)

 
-----------------------
03-11-2025 00:02:14.28471[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28472[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28472[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28473[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa ulangi lagi gak Kadang aku suka bingung  ' 
-----------------------
03-11-2025 00:02:14.28474[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28474[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28475[2][4] - Elapsed time: 0.004 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 
-----------------------
03-11-2025 00:02:14.28475[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28476[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28477[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28477[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' 
-----------------------
03-11-2025 00:02:14.28478[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
03-11-2025 00:02:14.28479[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28479[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => nama aku riski
)

 
-----------------------
03-11-2025 00:02:14.28480[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28480[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'nama aku riski' 
-----------------------
03-11-2025 00:02:14.28481[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'nama aku riski' 
-----------------------
03-11-2025 00:02:14.28481[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama aku riski' 
-----------------------
03-11-2025 00:02:14.28482[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA AKU RISKI' 
-----------------------
03-11-2025 00:02:14.28483[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA AKU RISKI' 
-----------------------
03-11-2025 00:02:14.28483[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA AKU RISKI' to the front of the [input] array 
-----------------------
03-11-2025 00:02:14.28484[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
03-11-2025 00:02:14.28485[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28485[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku bosen aku lagi bosen banget lagi bosen parah
)

 
-----------------------
03-11-2025 00:02:14.28485[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28486[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
03-11-2025 00:02:14.28486[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
03-11-2025 00:02:14.28487[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosen aku lagi bosen banget lagi bosen parah' 
-----------------------
03-11-2025 00:02:14.28488[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' 
-----------------------
03-11-2025 00:02:14.28488[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH' 
-----------------------
03-11-2025 00:02:14.28489[2][4] - Elapsed time: 0.005 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 
-----------------------
03-11-2025 00:02:14.28489[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28490[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku bosen
)

 
-----------------------
03-11-2025 00:02:14.28490[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28491[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku bosen' 
-----------------------
03-11-2025 00:02:14.28492[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku bosen' 
-----------------------
03-11-2025 00:02:14.28492[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku bosen' 
-----------------------
03-11-2025 00:02:14.28493[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:02:14.28493[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN' 
-----------------------
03-11-2025 00:02:14.28494[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:02:14.28494[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28495[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku lagi bosen
)

 
-----------------------
03-11-2025 00:02:14.28495[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28496[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku lagi bosen' 
-----------------------
03-11-2025 00:02:14.28496[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku lagi bosen' 
-----------------------
03-11-2025 00:02:14.28497[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku lagi bosen' 
-----------------------
03-11-2025 00:02:14.28498[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU LAGI BOSEN' 
-----------------------
03-11-2025 00:02:14.28498[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU LAGI BOSEN' 
-----------------------
03-11-2025 00:02:14.28498[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU LAGI BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:02:14.28499[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28500[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => GABUT
)

 
-----------------------
03-11-2025 00:02:14.28500[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28501[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'GABUT' 
-----------------------
03-11-2025 00:02:14.28501[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'GABUT' 
-----------------------
03-11-2025 00:02:14.28502[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'GABUT' 
-----------------------
03-11-2025 00:02:14.28502[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GABUT' 
-----------------------
03-11-2025 00:02:14.28503[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GABUT' 
-----------------------
03-11-2025 00:02:14.28503[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GABUT' to the front of the [input] array 
-----------------------
03-11-2025 00:02:14.28504[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28504[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU BOSEN
)

 
-----------------------
03-11-2025 00:02:14.28505[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28505[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU BOSEN' 
-----------------------
03-11-2025 00:02:14.28506[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU BOSEN' 
-----------------------
03-11-2025 00:02:14.28506[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:02:14.28507[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU BOSEN' 
-----------------------
03-11-2025 00:02:14.28507[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU BOSEN' 
-----------------------
03-11-2025 00:02:14.28508[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU BOSEN' to the front of the [input] array 
-----------------------
03-11-2025 00:02:14.28509[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28509[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => butuh semangat
)

 
-----------------------
03-11-2025 00:02:14.28510[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28510[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'butuh semangat' 
-----------------------
03-11-2025 00:02:14.28511[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'butuh semangat' 
-----------------------
03-11-2025 00:02:14.28511[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'butuh semangat' 
-----------------------
03-11-2025 00:02:14.28512[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:02:14.28512[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:02:14.28513[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BUTUH SEMANGAT' to the front of the [input] array 
-----------------------
03-11-2025 00:02:14.28513[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28514[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => butuh semangat
)

 
-----------------------
03-11-2025 00:02:14.28514[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28515[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'butuh semangat' 
-----------------------
03-11-2025 00:02:14.28515[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'butuh semangat' 
-----------------------
03-11-2025 00:02:14.28516[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'butuh semangat' 
-----------------------
03-11-2025 00:02:14.28516[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:02:14.28517[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BUTUH SEMANGAT' 
-----------------------
03-11-2025 00:02:14.28517[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BUTUH SEMANGAT' to the front of the [input] array 
-----------------------
03-11-2025 00:02:14.28518[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28519[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => apa kamu suka film
)

 
-----------------------
03-11-2025 00:02:14.28519[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28520[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'apa kamu suka film' 
-----------------------
03-11-2025 00:02:14.28520[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'apa kamu suka film' 
-----------------------
03-11-2025 00:02:14.28520[4][4] - Elapsed time: 0.005 milliseconds  
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa kamu suka film' 
-----------------------
03-11-2025 00:02:14.28521[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:02:14.28522[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:02:14.28522[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KAMU SUKA FILM' to the front of the [input] array 
-----------------------
03-11-2025 00:02:14.28523[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28523[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Apa kamu suka film
)

 
-----------------------
03-11-2025 00:02:14.28524[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28524[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Apa kamu suka film' 
-----------------------
03-11-2025 00:02:14.28525[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apa kamu suka film' 
-----------------------
03-11-2025 00:02:14.28525[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apa kamu suka film' 
-----------------------
03-11-2025 00:02:14.28526[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:02:14.28526[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APA KAMU SUKA FILM' 
-----------------------
03-11-2025 00:02:14.28527[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA KAMU SUKA FILM' to the front of the [input] array 
-----------------------
03-11-2025 00:02:14.28553[2][4] - Elapsed time: 0.263 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
03-11-2025 00:02:14.28555[3][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_riski`.`bots` WHERE bot_id = 1; 
-----------------------
03-11-2025 00:02:14.28583[4][4] - Elapsed time: 0.284 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
03-11-2025 00:02:14.28584[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
03-11-2025 00:02:14.28585[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
03-11-2025 00:02:14.28585[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = BAHAS BASKET: raw say = Bahas basket 
-----------------------
03-11-2025 00:02:14.28586[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
03-11-2025 00:02:14.28586[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAHAS BASKET' to the front of the [user_say] array 
-----------------------
03-11-2025 00:02:14.28587[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
03-11-2025 00:02:14.28588[0][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = Bahas basket, RAW say = Bahas basket 
-----------------------
03-11-2025 00:02:14.28589[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Bahas basket' to the front of the [input] array 
-----------------------
03-11-2025 00:02:14.28590[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
03-11-2025 00:02:14.28590[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'BAHAS BASKET' 
-----------------------
03-11-2025 00:02:14.28591[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAHAS BASKET' 
-----------------------
03-11-2025 00:02:14.28592[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
03-11-2025 00:02:14.28616[4][4] - Elapsed time: 0.243 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
03-11-2025 00:02:14.28618[3][4] - Elapsed time: 0.017 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 (
        'BAHAS BASKET' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
03-11-2025 00:02:14.28645[2][4] - Elapsed time: 0.273 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
03-11-2025 00:02:14.28646[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
03-11-2025 00:02:14.28646[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
03-11-2025 00:02:14.28670[4][4] - Elapsed time: 0.235 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
03-11-2025 00:02:14.28671[3][4] - Elapsed time: 0.015 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 (
        'BAHAS BASKET' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
03-11-2025 00:02:14.28708[3][4] - Elapsed time: 0.363 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
03-11-2025 00:02:14.28709[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
03-11-2025 00:02:14.28735[1][4] - Elapsed time: 0.260 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HMM BISA ULANGI LAGI GAK KADANG AKU SUKA BINGUNG 
-----------------------
03-11-2025 00:02:14.28736[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
03-11-2025 00:02:14.28736[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'BAHAS BASKET' 
-----------------------
03-11-2025 00:02:14.28745[4][4] - Elapsed time: 0.091 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
03-11-2025 00:02:14.28746[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
03-11-2025 00:02:14.28772[4][4] - Elapsed time: 0.260 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 652
            [bot_id] => 1
            [pattern] => BAHAS BASKET
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <think><set name="topic">basket</set></think>
    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?
            [score] => 262
            [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 652
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: bahas (2 points), direct word match: basket (2 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] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 657
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
03-11-2025 00:02:14.28775[2][4] - Elapsed time: 0.024 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 652
            [bot_id] => 1
            [pattern] => BAHAS BASKET
            [thatpattern] => 
            [topic] => 
            [filename] => chat_ai1.aiml
            [template] => <think><set name="topic">basket</set></think>
    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?
            [score] => 262
            [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
            [aiml_id] => 652
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: bahas (2 points), direct word match: basket (2 points)
        )

)

 
-----------------------
03-11-2025 00:02:14.28802[4][4] - Elapsed time: 0.269 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 652
    [bot_id] => 1
    [pattern] => BAHAS BASKET
    [thatpattern] => 
    [topic] => 
    [filename] => chat_ai1.aiml
    [template] => <think><set name="topic">basket</set></think>
    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?
    [score] => 262
    [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
    [aiml_id] => 652
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: bahas (2 points), direct word match: basket (2 points)
)
 
-----------------------
03-11-2025 00:02:14.28802[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
03-11-2025 00:02:14.28804[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:652 (BAHAS BASKET) 
-----------------------
03-11-2025 00:02:14.28804[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
03-11-2025 00:02:14.28805[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'BAHAS BASKET' 
-----------------------
03-11-2025 00:02:14.28806[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
03-11-2025 00:02:14.28806[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
03-11-2025 00:02:14.28807[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 652
    [category_id] => 652
    [html_template] => 
    [lookingfor] => BAHAS BASKET
    [pattern] => BAHAS BASKET
    [score] => 262
    [stars] => Array
        (
        )

    [template] => <think><set name="topic">basket</set></think>
    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => Bahas basket
)
 
-----------------------
03-11-2025 00:02:14.28808[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
03-11-2025 00:02:14.28809[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
03-11-2025 00:02:14.28815[4][4] - Elapsed time: 0.056 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><think><set name="topic"><text>basket</text></set></think><text>    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?</text></template> 
-----------------------
03-11-2025 00:02:14.28828[2][4] - Elapsed time: 0.132 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:02:14.28834[4][4] - Elapsed time: 0.062 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><think><set name="topic"><text>basket</text></set></think><text>    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?</text></template>
 
-----------------------
03-11-2025 00:02:14.28835[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
03-11-2025 00:02:14.28837[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:02:14.28838[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element think at level 1. element XML = <think><set name="topic"><text>basket</text></set></think> 
-----------------------
03-11-2025 00:02:14.28839[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
03-11-2025 00:02:14.28840[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
03-11-2025 00:02:14.28840[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
03-11-2025 00:02:14.28841[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
03-11-2025 00:02:14.28842[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:02:14.28843[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="topic"><text>basket</text></set> 
-----------------------
03-11-2025 00:02:14.28843[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
03-11-2025 00:02:14.28844[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
03-11-2025 00:02:14.28844[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
03-11-2025 00:02:14.28845[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
03-11-2025 00:02:14.28846[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:02:14.28846[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>basket</text> 
-----------------------
03-11-2025 00:02:14.28847[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
03-11-2025 00:02:14.28848[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
03-11-2025 00:02:14.28848[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
03-11-2025 00:02:14.28849[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'basket' to the response array. tag name is text 
-----------------------
03-11-2025 00:02:14.28849[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28850[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => basket
        )

)

 
-----------------------
03-11-2025 00:02:14.28851[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28851[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28852[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => basket
)

 
-----------------------
03-11-2025 00:02:14.28852[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28853[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'basket' 
-----------------------
03-11-2025 00:02:14.28854[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'topic' to the client properties array. Value is 'basket' 
-----------------------
03-11-2025 00:02:14.28855[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 114.10.16.60
    [name] => Seeker
    [username] => riski
    [user_name] => riski
    [topic] => basket
)
 
-----------------------
03-11-2025 00:02:14.28881[2][4] - Elapsed time: 0.268 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][582]
Inserting data into the DB 
-----------------------
03-11-2025 00:02:14.28911[4][4] - Elapsed time: 0.301 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'basket' to the response array. tag name is set 
-----------------------
03-11-2025 00:02:14.28913[2][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28915[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => basket
        )

)

 
-----------------------
03-11-2025 00:02:14.28916[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28917[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28918[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => basket
)

 
-----------------------
03-11-2025 00:02:14.28919[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28920[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'basket' 
-----------------------
03-11-2025 00:02:14.28921[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
03-11-2025 00:02:14.28922[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28923[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
03-11-2025 00:02:14.28924[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28925[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
03-11-2025 00:02:14.28926[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
03-11-2025 00:02:14.28928[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
03-11-2025 00:02:14.28930[4][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?</text> 
-----------------------
03-11-2025 00:02:14.28932[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
03-11-2025 00:02:14.28933[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
03-11-2025 00:02:14.28934[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
03-11-2025 00:02:14.28935[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?' to the response array. tag name is text 
-----------------------
03-11-2025 00:02:14.28936[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28937[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] =>     Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?
)

 
-----------------------
03-11-2025 00:02:14.28938[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28940[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '  Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?' 
-----------------------
03-11-2025 00:02:14.28941[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?' to the response array. tag name is template. 
-----------------------
03-11-2025 00:02:14.28942[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
03-11-2025 00:02:14.28943[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
    [1] => Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?
)

 
-----------------------
03-11-2025 00:02:14.28944[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
03-11-2025 00:02:14.28945[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning ' Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?' 
-----------------------
03-11-2025 00:02:14.28947[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Wah asik! Aku juga suka basket????. Tim favorit kamu siapa? 
-----------------------
03-11-2025 00:02:14.28948[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
03-11-2025 00:02:14.28949[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
03-11-2025 00:02:14.28950[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?' to the front of the [that_raw] array 
-----------------------
03-11-2025 00:02:14.28952[4][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
03-11-2025 00:02:14.28955[2][4] - Elapsed time: 0.033 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?' to the front of the [that] array 
-----------------------
03-11-2025 00:02:14.28957[4][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Wah asik!' 
-----------------------
03-11-2025 00:02:14.28958[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Wah asik!' 
-----------------------
03-11-2025 00:02:14.28960[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'WAH ASIK' 
-----------------------
03-11-2025 00:02:14.28961[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'WAH ASIK' 
-----------------------
03-11-2025 00:02:14.28962[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku juga suka basket????.' 
-----------------------
03-11-2025 00:02:14.28963[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku juga suka basket????.' 
-----------------------
03-11-2025 00:02:14.28964[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU JUGA SUKA BASKET' 
-----------------------
03-11-2025 00:02:14.28965[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU JUGA SUKA BASKET' 
-----------------------
03-11-2025 00:02:14.28966[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Tim favorit kamu siapa?' 
-----------------------
03-11-2025 00:02:14.28967[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tim favorit kamu siapa?' 
-----------------------
03-11-2025 00:02:14.28969[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:02:14.28970[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TIM FAVORIT KAMU SIAPA' 
-----------------------
03-11-2025 00:02:14.28972[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?' to the front of the [parsed_template] array 
-----------------------
03-11-2025 00:02:14.28973[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
03-11-2025 00:02:14.28975[2][4] - Elapsed time: 0.019 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<think><set name="topic">basket</set></think>
    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?' to the front of the [template] array 
-----------------------
03-11-2025 00:02:14.28976[4][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
03-11-2025 00:02:14.28979[2][4] - Elapsed time: 0.022 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
03-11-2025 00:02:14.28981[3][4] - Elapsed time: 0.021 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 ,
      'Bahas basket',
      'Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?',
      1,
      'fe0256208a21d68d5f91d5930b2305c4',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
03-11-2025 00:02:14.29228[4][4] - Elapsed time: 2.471 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
03-11-2025 00:02:14.29254[3][4] - Elapsed time: 0.258 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 
-----------------------
03-11-2025 00:02:14.29285[2][4] - Elapsed time: 0.313 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
03-11-2025 00:02:14.29287[4][4] - Elapsed time: 0.019 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
03-11-2025 00:02:14.29288[2][4] - Elapsed time: 0.013 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
03-11-2025 00:02:14.29293[4][4] - Elapsed time: 0.047 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"Bahas basket","botsay":"Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?","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":"Bahas basket","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":"652","bot_id":"1","pattern":"BAHAS BASKET","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"<think><set name=\"topic\">basket<\/set><\/think>\n    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?","score":262,"current_that":"hmm bisa ulangi lagi gak kadang aku suka bingung","aiml_id":"652","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: bahas (2 points), direct word match: basket (2 points)"}}} 
-----------------------
03-11-2025 00:02:14.29327[2][4] - Elapsed time: 0.340 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
03-11-2025 00:02:14.29332[0][4] - Elapsed time: 0.052 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 35.983 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => Bahas basket
    [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] => Bahas basket
            [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] => 652
                    [bot_id] => 1
                    [pattern] => BAHAS BASKET
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chat_ai1.aiml
                    [template] => <think><set name="topic">basket</set></think>
    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?
                    [score] => 262
                    [current_that] => hmm bisa ulangi lagi gak kadang aku suka bingung
                    [aiml_id] => 652
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: bahas (2 points), direct word match: basket (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => Bahas basket
            [lookingfor] => BAHAS BASKET
            [category_id] => 652
            [pattern] => BAHAS BASKET
            [thatpattern] => 
            [template] => <think><set name="topic">basket</set></think>
    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?
            [html_template] => 
            [topic] => 
            [score] => 262
            [aiml_id] => 652
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?
        )

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

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

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

            [3] => Array
                (
                    [0] => Semangat ya! Kamu pasti bisa????
                )

            [4] => Array
                (
                    [0] => Jangan menyerah, aku percaya kamu!
                )

            [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 gak? Kadang aku suka bingung????
                )

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

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

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => TIM FAVORIT KAMU SIAPA
                    [2] => AKU JUGA SUKA BASKET
                    [3] => WAH ASIK
                )

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

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

            [4] => Array
                (
                    [1] => SEMANGAT YA KAMU PASTI BISA
                )

            [5] => Array
                (
                    [1] => JANGAN MENYERAH AKU PERCAYA KAMU
                )

            [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 GAK KADANG AKU SUKA BINGUNG
                )

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

            [12] => 
        )

    [input] => Array
        (
            [1] => Bahas basket
            [2] => APA KAMU SUKA FILM
            [3] => APA KAMU SUKA FILM
            [4] => BUTUH SEMANGAT
            [5] => BUTUH SEMANGAT
            [6] => AKU BOSEN
            [7] => GABUT
            [8] => AKU LAGI BOSEN
            [9] => AKU BOSEN
            [10] => AKU BOSEN AKU LAGI BOSEN BANGET LAGI BOSEN PARAH
        )

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Tim favorit kamu siapa?
                    [3] => Aku juga suka basket????.
                    [4] => Wah asik!
                )

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

    [parsed_template] => Array
        (
            [1] => Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <think><set name="topic">basket</set></think> Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"fe0256208a21d68d5f91d5930b2305c4","usersay":"Bahas basket","botsay":"Wah asik! Aku juga suka basket????. Tim favorit kamu siapa?","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":"Bahas basket","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":"652","bot_id":"1","pattern":"BAHAS BASKET","thatpattern":"","topic":"","filename":"chat_ai1.aiml","template":"<think><set name=\"topic\">basket<\/set><\/think>\n    Wah asik! Aku juga suka basket ????. Tim favorit kamu siapa?","score":262,"current_that":"hmm bisa ulangi lagi gak kadang aku suka bingung","aiml_id":"652","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: bahas (2 points), direct word match: basket (2 points)"}}}
)

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