01-11-2025 15:37:55.49943[0][4] - Elapsed time: 0.750 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 
-----------------------
01-11-2025 15:37:55.49974[4][4] - Elapsed time: 0.305 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
01-11-2025 15:37:55.49994[4][4] - Elapsed time: 0.202 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
01-11-2025 15:37:55.50003[4][4] - Elapsed time: 0.094 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
01-11-2025 15:37:55.50041[4][4] - Elapsed time: 0.373 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
01-11-2025 15:37:55.50042[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
01-11-2025 15:37:55.50054[1][4] - Elapsed time: 0.125 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in /home/siew8359/public_html/dannus.siega23.com/Program-O/chatbot/conversation_start.php on Line 118 
-----------------------
01-11-2025 15:37:55.50077[0][4] - Elapsed time: 0.222 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 7434b30d72a161ba82fc606c80927050 
-----------------------
01-11-2025 15:37:55.50078[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'aku mau tanya soal siega'. 
-----------------------
01-11-2025 15:37:55.50079[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
01-11-2025 15:37:55.50079[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
01-11-2025 15:37:55.50080[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
01-11-2025 15:37:55.50099[4][4] - Elapsed time: 0.191 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
01-11-2025 15:37:55.50101[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
01-11-2025 15:37:55.50101[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
01-11-2025 15:37:55.50122[2][4] - Elapsed time: 0.204 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
01-11-2025 15:37:55.50123[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
01-11-2025 15:37:55.50142[3][4] - Elapsed time: 0.188 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `siew8359_dannu`.`client_properties` WHERE `user_id` = 4 AND `bot_id` = 1; 
-----------------------
01-11-2025 15:37:55.50162[2][4] - Elapsed time: 0.201 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
01-11-2025 15:37:55.50163[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on aku. 
-----------------------
01-11-2025 15:37:55.50164[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
01-11-2025 15:37:55.50193[2][4] - Elapsed time: 0.286 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
01-11-2025 15:37:55.50194[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on mau. 
-----------------------
01-11-2025 15:37:55.50196[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
01-11-2025 15:37:55.50197[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on tanya. 
-----------------------
01-11-2025 15:37:55.50198[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
01-11-2025 15:37:55.50200[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on soal. 
-----------------------
01-11-2025 15:37:55.50201[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
01-11-2025 15:37:55.50202[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on siega. 
-----------------------
01-11-2025 15:37:55.50204[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku mau tanya soal siega' 
-----------------------
01-11-2025 15:37:55.50205[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
01-11-2025 15:37:55.50206[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: AKU MAU TANYA SOAL SIEGA
Convo id: 7434b30d72a161ba82fc606c80927050
Bot id: 1
Format: json 
-----------------------
01-11-2025 15:37:55.50207[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
01-11-2025 15:37:55.50208[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
01-11-2025 15:37:55.50208[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_dannu`.`conversation_log` WHERE `user_id` = 4 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
01-11-2025 15:37:55.50232[1][4] - Elapsed time: 0.239 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => ganti topik
    [1] => terima kasih
    [2] => hai
    [3] => halo
    [4] => siapa namaku
    [5] => ganti topik
    [6] => ok ganti topik
    [7] => siapa namaku
    [8] => aku suka musik jazz
    [9] => aku mau ngobrolin musik
)
 
-----------------------
01-11-2025 15:37:55.50233[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
01-11-2025 15:37:55.50234[1][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
    [1] => Dengan senang hati, dannu.
    [2] => Halo! Senang bisa ngobrol sama kamu.
    [3] => Halo, dannu ! Ada yang bisa aku bantu?
    [4] => Nama kamu dannu, kan? Aku ingat!
    [5] => Oke, udahan dulu ya ngobrolin musiknya. Mau bahas apa kita sekarang?
    [6] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [7] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [8] => Oh, kamu suka jazz ya! Keren. Siapa artis jazz favoritmu?
    [9] => Asyik! Musik emang seru. Kita mulai dari mana? Mau bahas genre atau artis favoritmu?
)
 
-----------------------
01-11-2025 15:37:55.50236[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50237[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Asyik
    [1] =>  Musik emang seru
    [2] =>  Kita mulai dari mana
    [3] =>  Mau bahas genre atau artis favoritmu
    [4] => 
)

 
-----------------------
01-11-2025 15:37:55.50237[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50238[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Asyik Musik emang seru Kita mulai dari mana Mau bahas genre atau artis favoritmu ' 
-----------------------
01-11-2025 15:37:55.50238[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Asyik Musik emang seru Kita mulai dari mana Mau bahas genre atau artis favoritmu ' 
-----------------------
01-11-2025 15:37:55.50239[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Asyik Musik emang seru Kita mulai dari mana Mau bahas genre atau artis favoritmu ' 
-----------------------
01-11-2025 15:37:55.50240[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50241[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50241[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50242[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
01-11-2025 15:37:55.50245[4][4] - Elapsed time: 0.030 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50246[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50247[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50247[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50248[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50249[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oh
    [1] =>  kamu suka jazz ya
    [2] =>  Keren
    [3] =>  Siapa artis jazz favoritmu
    [4] => 
)

 
-----------------------
01-11-2025 15:37:55.50249[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50250[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oh kamu suka jazz ya Keren Siapa artis jazz favoritmu ' 
-----------------------
01-11-2025 15:37:55.50251[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oh kamu suka jazz ya Keren Siapa artis jazz favoritmu ' 
-----------------------
01-11-2025 15:37:55.50251[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oh kamu suka jazz ya Keren Siapa artis jazz favoritmu ' 
-----------------------
01-11-2025 15:37:55.50252[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50252[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50253[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50254[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50254[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50255[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50256[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:37:55.50256[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50257[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  aku kurang paham
    [2] =>  Balik ke topik musik ya
    [3] =>  kamu suka Pop
    [4] =>  Rock
    [5] =>  atau Jazz
    [6] => 
)

 
-----------------------
01-11-2025 15:37:55.50258[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50258[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:55.50259[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:55.50259[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:55.50260[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50261[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50261[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50262[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50262[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50263[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50264[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50264[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50265[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  aku kurang paham
    [2] =>  Balik ke topik musik ya
    [3] =>  kamu suka Pop
    [4] =>  Rock
    [5] =>  atau Jazz
    [6] => 
)

 
-----------------------
01-11-2025 15:37:55.50265[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50266[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:55.50267[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:55.50267[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf aku kurang paham Balik ke topik musik ya kamu suka Pop Rock atau Jazz ' 
-----------------------
01-11-2025 15:37:55.50268[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50268[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50269[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50270[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50270[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50271[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50271[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:37:55.50272[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50273[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke
    [1] =>  udahan dulu ya ngobrolin musiknya
    [2] =>  Mau bahas apa kita sekarang
    [3] => 
)

 
-----------------------
01-11-2025 15:37:55.50273[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50274[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke udahan dulu ya ngobrolin musiknya Mau bahas apa kita sekarang ' 
-----------------------
01-11-2025 15:37:55.50274[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke udahan dulu ya ngobrolin musiknya Mau bahas apa kita sekarang ' 
-----------------------
01-11-2025 15:37:55.50275[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke udahan dulu ya ngobrolin musiknya Mau bahas apa kita sekarang ' 
-----------------------
01-11-2025 15:37:55.50275[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:55.50276[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:55.50276[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50277[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:55.50278[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:55.50279[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:55.50279[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' 
-----------------------
01-11-2025 15:37:55.50280[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50280[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama kamu dannu
    [1] =>  kan
    [2] =>  Aku ingat
    [3] => 
)

 
-----------------------
01-11-2025 15:37:55.50281[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50281[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama kamu dannu kan Aku ingat ' 
-----------------------
01-11-2025 15:37:55.50282[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama kamu dannu kan Aku ingat ' 
-----------------------
01-11-2025 15:37:55.50282[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama kamu dannu kan Aku ingat ' 
-----------------------
01-11-2025 15:37:55.50283[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:55.50284[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:55.50284[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA KAMU DANNU KAN AKU INGAT' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50285[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:55.50285[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:55.50286[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:55.50287[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:37:55.50287[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50288[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  dannu 
    [2] =>  Ada yang bisa aku bantu
    [3] => 
)

 
-----------------------
01-11-2025 15:37:55.50288[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50289[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo dannu  Ada yang bisa aku bantu ' 
-----------------------
01-11-2025 15:37:55.50289[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo dannu  Ada yang bisa aku bantu ' 
-----------------------
01-11-2025 15:37:55.50290[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo dannu  Ada yang bisa aku bantu ' 
-----------------------
01-11-2025 15:37:55.50290[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:55.50291[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:55.50291[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO DANNU ADA YANG BISA AKU BANTU' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50292[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:55.50293[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:55.50293[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:55.50294[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:37:55.50295[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50295[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Senang bisa ngobrol sama kamu
    [2] => 
)

 
-----------------------
01-11-2025 15:37:55.50296[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50296[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
01-11-2025 15:37:55.50297[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
01-11-2025 15:37:55.50297[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
01-11-2025 15:37:55.50298[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:55.50299[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:55.50299[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SENANG BISA NGOBROL SAMA KAMU' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50300[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:55.50300[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:55.50301[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:55.50302[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:37:55.50302[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50303[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Dengan senang hati
    [1] =>  dannu
    [2] => 
)

 
-----------------------
01-11-2025 15:37:55.50303[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50304[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Dengan senang hati dannu ' 
-----------------------
01-11-2025 15:37:55.50304[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Dengan senang hati dannu ' 
-----------------------
01-11-2025 15:37:55.50305[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Dengan senang hati dannu ' 
-----------------------
01-11-2025 15:37:55.50305[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:55.50306[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:55.50306[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'DENGAN SENANG HATI DANNU' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50307[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:55.50308[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:55.50308[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:55.50309[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:37:55.50309[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50310[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita bahkan belum mulai topik hehe
    [1] =>  Mau bahas apa
    [2] => 
)

 
-----------------------
01-11-2025 15:37:55.50310[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50311[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita bahkan belum mulai topik hehe Mau bahas apa ' 
-----------------------
01-11-2025 15:37:55.50312[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kita bahkan belum mulai topik hehe Mau bahas apa ' 
-----------------------
01-11-2025 15:37:55.50312[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita bahkan belum mulai topik hehe Mau bahas apa ' 
-----------------------
01-11-2025 15:37:55.50313[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:37:55.50313[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:37:55.50314[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50315[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:37:55.50315[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:37:55.50316[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:37:55.50316[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:37:55.50317[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
01-11-2025 15:37:55.50318[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50318[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku mau ngobrolin musik
)

 
-----------------------
01-11-2025 15:37:55.50319[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50319[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku mau ngobrolin musik' 
-----------------------
01-11-2025 15:37:55.50320[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku mau ngobrolin musik' 
-----------------------
01-11-2025 15:37:55.50320[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku mau ngobrolin musik' 
-----------------------
01-11-2025 15:37:55.50321[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MAU NGOBROLIN MUSIK' 
-----------------------
01-11-2025 15:37:55.50322[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MAU NGOBROLIN MUSIK' 
-----------------------
01-11-2025 15:37:55.50322[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MAU NGOBROLIN MUSIK' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50323[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
01-11-2025 15:37:55.50324[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50324[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku suka musik jazz
)

 
-----------------------
01-11-2025 15:37:55.50325[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50325[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku suka musik jazz' 
-----------------------
01-11-2025 15:37:55.50325[4][4] - Elapsed time: 0.005 milliseconds  
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku suka musik jazz' 
-----------------------
01-11-2025 15:37:55.50326[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik jazz' 
-----------------------
01-11-2025 15:37:55.50327[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:37:55.50327[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:37:55.50328[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA MUSIK JAZZ' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50328[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50329[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
01-11-2025 15:37:55.50329[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50330[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
01-11-2025 15:37:55.50330[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
01-11-2025 15:37:55.50331[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
01-11-2025 15:37:55.50332[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:37:55.50332[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:37:55.50333[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMAKU' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50333[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50334[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ok ganti topik
)

 
-----------------------
01-11-2025 15:37:55.50334[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50335[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ok ganti topik' 
-----------------------
01-11-2025 15:37:55.50335[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ok ganti topik' 
-----------------------
01-11-2025 15:37:55.50336[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ok ganti topik' 
-----------------------
01-11-2025 15:37:55.50336[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:37:55.50337[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:37:55.50337[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OK GANTI TOPIK' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50338[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50339[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
01-11-2025 15:37:55.50339[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50340[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik' 
-----------------------
01-11-2025 15:37:55.50340[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
01-11-2025 15:37:55.50341[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
01-11-2025 15:37:55.50341[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:55.50342[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:55.50342[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GANTI TOPIK' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50343[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50344[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
01-11-2025 15:37:55.50344[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50345[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
01-11-2025 15:37:55.50345[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
01-11-2025 15:37:55.50346[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
01-11-2025 15:37:55.50347[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:37:55.50347[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:37:55.50347[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMAKU' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50348[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50349[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
01-11-2025 15:37:55.50349[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50350[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
01-11-2025 15:37:55.50350[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
01-11-2025 15:37:55.50351[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
01-11-2025 15:37:55.50351[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
01-11-2025 15:37:55.50352[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
01-11-2025 15:37:55.50352[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50353[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50354[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hai
)

 
-----------------------
01-11-2025 15:37:55.50354[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50355[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hai' 
-----------------------
01-11-2025 15:37:55.50355[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hai' 
-----------------------
01-11-2025 15:37:55.50356[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hai' 
-----------------------
01-11-2025 15:37:55.50356[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
01-11-2025 15:37:55.50357[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI' 
-----------------------
01-11-2025 15:37:55.50357[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50358[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50358[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => terima kasih
)

 
-----------------------
01-11-2025 15:37:55.50359[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50359[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'terima kasih' 
-----------------------
01-11-2025 15:37:55.50360[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'terima kasih' 
-----------------------
01-11-2025 15:37:55.50360[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'terima kasih' 
-----------------------
01-11-2025 15:37:55.50361[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TERIMA KASIH' 
-----------------------
01-11-2025 15:37:55.50361[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TERIMA KASIH' 
-----------------------
01-11-2025 15:37:55.50362[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'TERIMA KASIH' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50362[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50363[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
01-11-2025 15:37:55.50363[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50364[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik' 
-----------------------
01-11-2025 15:37:55.50364[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
01-11-2025 15:37:55.50365[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
01-11-2025 15:37:55.50366[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:55.50366[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:37:55.50367[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'GANTI TOPIK' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50391[2][4] - Elapsed time: 0.244 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
01-11-2025 15:37:55.50392[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
01-11-2025 15:37:55.50411[4][4] - Elapsed time: 0.181 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
01-11-2025 15:37:55.50412[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
01-11-2025 15:37:55.50412[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
01-11-2025 15:37:55.50413[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = AKU MAU TANYA SOAL SIEGA: raw say = aku mau tanya soal siega 
-----------------------
01-11-2025 15:37:55.50413[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
01-11-2025 15:37:55.50414[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MAU TANYA SOAL SIEGA' to the front of the [user_say] array 
-----------------------
01-11-2025 15:37:55.50415[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
01-11-2025 15:37:55.50416[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = aku mau tanya soal siega, RAW say = aku mau tanya soal siega 
-----------------------
01-11-2025 15:37:55.50416[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'aku mau tanya soal siega' to the front of the [input] array 
-----------------------
01-11-2025 15:37:55.50417[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
01-11-2025 15:37:55.50418[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
01-11-2025 15:37:55.50419[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
01-11-2025 15:37:55.50419[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 
-----------------------
01-11-2025 15:37:55.50438[4][4] - Elapsed time: 0.183 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
01-11-2025 15:37:55.50439[3][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'd691a9f1d78e60289ed8ed3fa176672d'
    AND (
        'AKU MAU TANYA SOAL SIEGA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
01-11-2025 15:37:55.50460[2][4] - Elapsed time: 0.206 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
01-11-2025 15:37:55.50461[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
01-11-2025 15:37:55.50462[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
01-11-2025 15:37:55.50479[4][4] - Elapsed time: 0.175 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
01-11-2025 15:37:55.50481[3][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'AKU MAU TANYA SOAL SIEGA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
01-11-2025 15:37:55.50512[3][4] - Elapsed time: 0.313 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
01-11-2025 15:37:55.50513[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (5) potential AIML matches 
-----------------------
01-11-2025 15:37:55.50532[1][4] - Elapsed time: 0.188 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA 
-----------------------
01-11-2025 15:37:55.50533[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 5 rows to unset bad matches 
-----------------------
01-11-2025 15:37:55.50533[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
01-11-2025 15:37:55.50545[4][4] - Elapsed time: 0.120 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
01-11-2025 15:37:55.50546[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
01-11-2025 15:37:55.50567[4][4] - Elapsed time: 0.204 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 354
            [bot_id] => 1
            [pattern] => AKU MAU TANYA SOAL SIEGA
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [score] => 268
            [current_that] => kita bahkan belum mulai topik hehe mau bahas apa
            [aiml_id] => 354
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)
        )

    [1] => Array
        (
            [id] => 366
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
            [score] => 252
            [current_that] => kita bahkan belum mulai topik hehe mau bahas apa
            [aiml_id] => 366
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
01-11-2025 15:37:55.50568[2][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 354
            [bot_id] => 1
            [pattern] => AKU MAU TANYA SOAL SIEGA
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [score] => 268
            [current_that] => kita bahkan belum mulai topik hehe mau bahas apa
            [aiml_id] => 354
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)
        )

)

 
-----------------------
01-11-2025 15:37:55.50584[4][4] - Elapsed time: 0.156 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 354
    [bot_id] => 1
    [pattern] => AKU MAU TANYA SOAL SIEGA
    [thatpattern] => 
    [topic] => 
    [filename] => bot.aiml
    [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
    [score] => 268
    [current_that] => kita bahkan belum mulai topik hehe mau bahas apa
    [aiml_id] => 354
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)
)
 
-----------------------
01-11-2025 15:37:55.50584[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
01-11-2025 15:37:55.50586[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:354 (AKU MAU TANYA SOAL SIEGA) 
-----------------------
01-11-2025 15:37:55.50587[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
01-11-2025 15:37:55.50587[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
01-11-2025 15:37:55.50588[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
01-11-2025 15:37:55.50588[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
01-11-2025 15:37:55.50589[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 354
    [category_id] => 354
    [html_template] => 
    [lookingfor] => AKU MAU TANYA SOAL SIEGA
    [pattern] => AKU MAU TANYA SOAL SIEGA
    [score] => 268
    [stars] => Array
        (
        )

    [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => aku mau tanya soal siega
)
 
-----------------------
01-11-2025 15:37:55.50590[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
01-11-2025 15:37:55.50591[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... 
-----------------------
01-11-2025 15:37:55.50592[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><think><set name="topic"><text>SIEGA</text></set></think><text>        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?</text></template> 
-----------------------
01-11-2025 15:37:55.50596[2][4] - Elapsed time: 0.043 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:37:55.50599[4][4] - Elapsed time: 0.027 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>SIEGA</text></set></think><text>        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?</text></template>
 
-----------------------
01-11-2025 15:37:55.50600[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. 
-----------------------
01-11-2025 15:37:55.50601[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:37:55.50602[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element think at level 1. element XML = <think><set name="topic"><text>SIEGA</text></set></think> 
-----------------------
01-11-2025 15:37:55.50603[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
01-11-2025 15:37:55.50604[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
01-11-2025 15:37:55.50604[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
01-11-2025 15:37:55.50605[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
01-11-2025 15:37:55.50605[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:37:55.50606[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="topic"><text>SIEGA</text></set> 
-----------------------
01-11-2025 15:37:55.50607[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
01-11-2025 15:37:55.50607[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
01-11-2025 15:37:55.50608[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
01-11-2025 15:37:55.50608[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
01-11-2025 15:37:55.50609[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:37:55.50610[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>SIEGA</text> 
-----------------------
01-11-2025 15:37:55.50611[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
01-11-2025 15:37:55.50611[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
01-11-2025 15:37:55.50612[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
01-11-2025 15:37:55.50612[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'SIEGA' to the response array. tag name is text 
-----------------------
01-11-2025 15:37:55.50613[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50613[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => SIEGA
        )

)

 
-----------------------
01-11-2025 15:37:55.50614[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50615[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50615[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => SIEGA
)

 
-----------------------
01-11-2025 15:37:55.50616[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50616[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'SIEGA' 
-----------------------
01-11-2025 15:37:55.50617[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'topic' to the client properties array. Value is 'SIEGA' 
-----------------------
01-11-2025 15:37:55.50618[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => dannu
    [topic] => SIEGA
    [musikfavorit] => jazz
)
 
-----------------------
01-11-2025 15:37:55.50636[2][4] - Elapsed time: 0.184 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][586]
updating data in the DB 
-----------------------
01-11-2025 15:37:55.50661[4][4] - Elapsed time: 0.243 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'SIEGA' to the response array. tag name is set 
-----------------------
01-11-2025 15:37:55.50662[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50662[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => SIEGA
        )

)

 
-----------------------
01-11-2025 15:37:55.50663[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50663[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50664[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => SIEGA
)

 
-----------------------
01-11-2025 15:37:55.50664[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50665[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'SIEGA' 
-----------------------
01-11-2025 15:37:55.50665[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
01-11-2025 15:37:55.50666[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50667[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
01-11-2025 15:37:55.50668[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50668[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
01-11-2025 15:37:55.50669[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
01-11-2025 15:37:55.50670[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:37:55.50671[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?</text> 
-----------------------
01-11-2025 15:37:55.50671[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
01-11-2025 15:37:55.50672[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
01-11-2025 15:37:55.50672[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
01-11-2025 15:37:55.50673[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the response array. tag name is text 
-----------------------
01-11-2025 15:37:55.50674[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50674[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] =>         Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
)

 
-----------------------
01-11-2025 15:37:55.50675[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50675[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '    Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' 
-----------------------
01-11-2025 15:37:55.50676[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the response array. tag name is template. 
-----------------------
01-11-2025 15:37:55.50676[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:37:55.50677[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
    [1] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
)

 
-----------------------
01-11-2025 15:37:55.50677[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:37:55.50678[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning ' Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' 
-----------------------
01-11-2025 15:37:55.50679[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu? 
-----------------------
01-11-2025 15:37:55.50679[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
01-11-2025 15:37:55.50680[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
01-11-2025 15:37:55.50680[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [that_raw] array 
-----------------------
01-11-2025 15:37:55.50681[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
01-11-2025 15:37:55.50683[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [that] array 
-----------------------
01-11-2025 15:37:55.50684[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke, siap!' 
-----------------------
01-11-2025 15:37:55.50685[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke, siap!' 
-----------------------
01-11-2025 15:37:55.50686[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE SIAP' 
-----------------------
01-11-2025 15:37:55.50686[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE SIAP' 
-----------------------
01-11-2025 15:37:55.50687[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku tahu beberapa hal soal SIEGA Unika Soegijapranata.' 
-----------------------
01-11-2025 15:37:55.50688[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku tahu beberapa hal soal SIEGA Unika Soegijapranata.' 
-----------------------
01-11-2025 15:37:55.50688[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA' 
-----------------------
01-11-2025 15:37:55.50689[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA' 
-----------------------
01-11-2025 15:37:55.50689[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mau tanya apa dulu?' 
-----------------------
01-11-2025 15:37:55.50690[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mau tanya apa dulu?' 
-----------------------
01-11-2025 15:37:55.50690[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAU TANYA APA DULU' 
-----------------------
01-11-2025 15:37:55.50691[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAU TANYA APA DULU' 
-----------------------
01-11-2025 15:37:55.50692[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [parsed_template] array 
-----------------------
01-11-2025 15:37:55.50693[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
01-11-2025 15:37:55.50694[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [template] array 
-----------------------
01-11-2025 15:37:55.50694[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
01-11-2025 15:37:55.50695[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
01-11-2025 15:37:55.50696[3][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'aku mau tanya soal siega',
      'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
01-11-2025 15:37:55.50886[4][4] - Elapsed time: 1.892 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
01-11-2025 15:37:55.50902[3][4] - Elapsed time: 0.160 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `siew8359_dannu`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
01-11-2025 15:37:55.50922[2][4] - Elapsed time: 0.199 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
01-11-2025 15:37:55.50922[4][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
01-11-2025 15:37:55.50923[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
01-11-2025 15:37:55.50924[4][4] - Elapsed time: 0.015 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"aku mau tanya soal siega","botsay":"Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?","botData":{"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"4","totallines":1,"rawSay":"aku mau tanya soal siega","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"354","bot_id":"1","pattern":"AKU MAU TANYA SOAL SIEGA","thatpattern":"","topic":"","filename":"bot.aiml","template":"<think><set name=\"topic\">SIEGA<\/set><\/think>\n        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?","score":268,"current_that":"kita bahkan belum mulai topik hehe mau bahas apa","aiml_id":"354","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)"}}} 
-----------------------
01-11-2025 15:37:55.50942[2][4] - Elapsed time: 0.180 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
01-11-2025 15:37:55.50945[0][4] - Elapsed time: 0.023 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 10.755 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => aku mau tanya soal siega
    [conversation] => Array
        (
            [convo_id] => d691a9f1d78e60289ed8ed3fa176672d
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 4
            [totallines] => 1
            [rawSay] => aku mau tanya soal siega
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => imanueldannu910@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 354
                    [bot_id] => 1
                    [pattern] => AKU MAU TANYA SOAL SIEGA
                    [thatpattern] => 
                    [topic] => 
                    [filename] => bot.aiml
                    [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
                    [score] => 268
                    [current_that] => kita bahkan belum mulai topik hehe mau bahas apa
                    [aiml_id] => 354
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => aku mau tanya soal siega
            [lookingfor] => AKU MAU TANYA SOAL SIEGA
            [category_id] => 354
            [pattern] => AKU MAU TANYA SOAL SIEGA
            [thatpattern] => 
            [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [html_template] => 
            [topic] => 
            [score] => 268
            [aiml_id] => 354
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
        )

    [client_properties] => Array
        (
            [ip_address] => 182.8.195.90
            [name] => Seeker
            [namaku] => dannu
            [topic] => SIEGA
            [musikfavorit] => jazz
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Kita bahkan belum mulai topik hehe
                    [1] =>  Mau bahas apa?
                )

            [2] => Array
                (
                    [0] => Dengan senang hati, dannu
                    [1] => 
                )

            [3] => Array
                (
                    [0] => Halo! Senang bisa ngobrol sama kamu
                    [1] => 
                )

            [4] => Array
                (
                    [0] => Halo, dannu ! Ada yang bisa aku bantu?
                )

            [5] => Array
                (
                    [0] => Nama kamu dannu, kan? Aku ingat!
                )

            [6] => Array
                (
                    [0] => Oke, udahan dulu ya ngobrolin musiknya
                    [1] =>  Mau bahas apa kita sekarang?
                )

            [7] => Array
                (
                    [0] => Maaf, aku kurang paham
                    [1] =>  Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
                )

            [8] => Array
                (
                    [0] => Maaf, aku kurang paham
                    [1] =>  Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
                )

            [9] => Array
                (
                    [0] => Oh, kamu suka jazz ya! Keren
                    [1] =>  Siapa artis jazz favoritmu?
                )

            [10] => Array
                (
                    [0] => Asyik! Musik emang seru
                    [1] =>  Kita mulai dari mana? Mau bahas genre atau artis favoritmu?
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => MAU TANYA APA DULU
                    [2] => AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA
                    [3] => OKE SIAP
                )

            [2] => Array
                (
                    [1] => KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA
                )

            [3] => Array
                (
                    [1] => DENGAN SENANG HATI DANNU
                )

            [4] => Array
                (
                    [1] => HALO SENANG BISA NGOBROL SAMA KAMU
                )

            [5] => Array
                (
                    [1] => HALO DANNU ADA YANG BISA AKU BANTU
                )

            [6] => Array
                (
                    [1] => NAMA KAMU DANNU KAN AKU INGAT
                )

            [7] => Array
                (
                    [1] => OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG
                )

            [8] => Array
                (
                    [1] => MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ
                )

            [9] => Array
                (
                    [1] => MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ
                )

            [10] => Array
                (
                    [1] => OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => aku mau tanya soal siega
            [2] => GANTI TOPIK
            [3] => TERIMA KASIH
            [4] => HAI
            [5] => HALO
            [6] => SIAPA NAMAKU
            [7] => GANTI TOPIK
            [8] => OK GANTI TOPIK
            [9] => SIAPA NAMAKU
            [10] => AKU SUKA MUSIK JAZZ
        )

    [time_start] => 1761986275.4987
    [user_say] => Array
        (
            [1] => AKU MAU TANYA SOAL SIEGA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Mau tanya apa dulu?
                    [3] => Aku tahu beberapa hal soal SIEGA Unika Soegijapranata.
                    [4] => Oke, siap!
                )

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

    [parsed_template] => Array
        (
            [1] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <think><set name="topic">SIEGA</set></think> Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"aku mau tanya soal siega","botsay":"Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?","botData":{"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"4","totallines":1,"rawSay":"aku mau tanya soal siega","conversation_lines":"1","remember_up_to":"10","debugemail":"imanueldannu910@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"354","bot_id":"1","pattern":"AKU MAU TANYA SOAL SIEGA","thatpattern":"","topic":"","filename":"bot.aiml","template":"<think><set name=\"topic\">SIEGA<\/set><\/think>\n        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?","score":268,"current_that":"kita bahkan belum mulai topik hehe mau bahas apa","aiml_id":"354","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: aku (2 points), direct word match: mau (2 points), direct word match: tanya (2 points), direct word match: soal (2 points), direct word match: siega (2 points)"}}}
)

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