01-11-2025 15:35:50.84707[0][4] - Elapsed time: 7.922 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:35:50.85622[4][4] - Elapsed time: 9.148 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
01-11-2025 15:35:50.85921[4][4] - Elapsed time: 2.986 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
01-11-2025 15:35:50.85970[4][4] - Elapsed time: 0.494 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
01-11-2025 15:35:50.86194[4][4] - Elapsed time: 2.239 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
01-11-2025 15:35:50.86196[4][4] - Elapsed time: 0.016 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
01-11-2025 15:35:50.86207[1][4] - Elapsed time: 0.115 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:35:50.86237[0][4] - Elapsed time: 0.297 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 65ad6a38d4ce532f6392d075141ebc54 
-----------------------
01-11-2025 15:35:50.86238[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'terima kasih'. 
-----------------------
01-11-2025 15:35:50.86240[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
01-11-2025 15:35:50.86240[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
01-11-2025 15:35:50.86241[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:35:50.86286[4][4] - Elapsed time: 0.444 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
01-11-2025 15:35:50.86287[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:35:50.86287[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:35:50.86325[2][4] - Elapsed time: 0.376 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
01-11-2025 15:35:50.86326[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:35:50.86363[3][4] - Elapsed time: 0.367 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:35:50.86397[2][4] - Elapsed time: 0.344 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
01-11-2025 15:35:50.86403[2][4] - Elapsed time: 0.056 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on terima. 
-----------------------
01-11-2025 15:35:50.86404[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
01-11-2025 15:35:50.86447[2][4] - Elapsed time: 0.426 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
01-11-2025 15:35:50.86448[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kasih. 
-----------------------
01-11-2025 15:35:50.86450[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'terima kasih' 
-----------------------
01-11-2025 15:35:50.86463[4][4] - Elapsed time: 0.127 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TERIMA KASIH' 
-----------------------
01-11-2025 15:35:50.86464[2][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: TERIMA KASIH
Convo id: 65ad6a38d4ce532f6392d075141ebc54
Bot id: 1
Format: json 
-----------------------
01-11-2025 15:35:50.86465[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
01-11-2025 15:35:50.86465[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
01-11-2025 15:35:50.86466[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:35:50.86507[1][4] - Elapsed time: 0.402 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => hai
    [1] => halo
    [2] => siapa namaku
    [3] => ganti topik
    [4] => ok ganti topik
    [5] => siapa namaku
    [6] => aku suka musik jazz
    [7] => aku mau ngobrolin musik
    [8] => aku suka musik jazz
    [9] => kamu suka musik
)
 
-----------------------
01-11-2025 15:35:50.86507[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
01-11-2025 15:35:50.86508[1][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Halo! Senang bisa ngobrol sama kamu.
    [1] => Halo, dannu ! Ada yang bisa aku bantu?
    [2] => Nama kamu dannu, kan? Aku ingat!
    [3] => Oke, udahan dulu ya ngobrolin musiknya. Mau bahas apa kita sekarang?
    [4] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [5] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [6] => Oh, kamu suka jazz ya! Keren. Siapa artis jazz favoritmu?
    [7] => Asyik! Musik emang seru. Kita mulai dari mana? Mau bahas genre atau artis favoritmu?
    [8] => Hmm, bisa diulangi dengan kalimat lain?
    [9] => Hmm, bisa diulangi dengan kalimat lain?
)
 
-----------------------
01-11-2025 15:35:50.86510[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:35:50.86511[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa diulangi dengan kalimat lain
    [2] => 
)

 
-----------------------
01-11-2025 15:35:50.86511[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:35:50.86512[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:35:50.86512[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:35:50.86513[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:35:50.86514[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86515[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86515[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' to the front of the [that] array 
-----------------------
01-11-2025 15:35:50.86518[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
01-11-2025 15:35:50.86525[4][4] - Elapsed time: 0.070 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86526[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86527[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86527[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86528[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:35:50.86529[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa diulangi dengan kalimat lain
    [2] => 
)

 
-----------------------
01-11-2025 15:35:50.86529[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:35:50.86530[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:35:50.86531[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:35:50.86531[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:35:50.86532[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86532[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86533[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' to the front of the [that] array 
-----------------------
01-11-2025 15:35:50.86534[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86534[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86535[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86536[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:35:50.86536[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:35:50.86537[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:35:50.86538[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:35:50.86538[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:35:50.86539[4][4] - Elapsed time: 0.005 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:35:50.86539[4][4] - Elapsed time: 0.005 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:35:50.86540[4][4] - Elapsed time: 0.010 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:35:50.86541[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:35:50.86541[2][4] - Elapsed time: 0.005 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:35:50.86542[4][4] - Elapsed time: 0.009 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:35:50.86543[4][4] - Elapsed time: 0.013 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:35:50.86544[4][4] - Elapsed time: 0.010 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:35:50.86545[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:35:50.86546[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:35:50.86546[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:35:50.86547[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:35:50.86547[4][4] - Elapsed time: 0.006 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:35:50.86548[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:35:50.86548[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:35:50.86549[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:35:50.86550[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:35:50.86550[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:35:50.86551[4][4] - Elapsed time: 0.009 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:35:50.86552[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:35:50.86552[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:35:50.86553[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:35:50.86554[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:35:50.86554[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:35:50.86555[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:35:50.86555[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:35:50.86556[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:35:50.86556[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:35:50.86557[4][4] - Elapsed time: 0.009 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:35:50.86558[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:35:50.86558[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:35:50.86559[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:35:50.86560[4][4] - Elapsed time: 0.006 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:35:50.86560[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:35:50.86561[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:35:50.86561[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:35:50.86562[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:35:50.86563[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:35:50.86563[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:35:50.86564[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:35:50.86564[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:35:50.86565[4][4] - Elapsed time: 0.009 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:35:50.86565[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:35:50.86566[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:35:50.86567[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:35:50.86567[4][4] - Elapsed time: 0.006 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:35:50.86568[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:35:50.86569[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:35:50.86569[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:35:50.86570[2][4] - Elapsed time: 0.005 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:35:50.86571[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:35:50.86571[4][4] - Elapsed time: 0.006 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:35:50.86572[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:35:50.86572[4][4] - Elapsed time: 0.005 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:35:50.86573[4][4] - Elapsed time: 0.009 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:35:50.86573[4][4] - Elapsed time: 0.004 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:35:50.86574[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:35:50.86575[4][4] - Elapsed time: 0.009 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:35:50.86575[4][4] - Elapsed time: 0.005 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:35:50.86576[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:35:50.86577[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:35:50.86577[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:35:50.86578[2][4] - Elapsed time: 0.006 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:35:50.86578[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:35:50.86579[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:35:50.86579[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:35:50.86580[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:35:50.86581[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:35:50.86581[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:35:50.86582[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:35:50.86582[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'NAMA KAMU DANNU KAN AKU INGAT' 
-----------------------
01-11-2025 15:35:50.86583[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:35:50.86584[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:35:50.86584[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:35:50.86585[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:35:50.86585[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:35:50.86586[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:35:50.86587[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:35:50.86587[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:35:50.86588[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:35:50.86588[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO DANNU ADA YANG BISA AKU BANTU' 
-----------------------
01-11-2025 15:35:50.86589[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:35:50.86589[2][4] - Elapsed time: 0.004 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:35:50.86590[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:35:50.86591[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:35:50.86591[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:35:50.86592[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:35:50.86593[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:35:50.86593[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:35:50.86594[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:35:50.86594[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Senang bisa ngobrol sama kamu ' 
-----------------------
01-11-2025 15:35:50.86595[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:35:50.86595[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:35:50.86596[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:35:50.86596[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:35:50.86597[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:35:50.86598[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SENANG BISA NGOBROL SAMA KAMU' 
-----------------------
01-11-2025 15:35:50.86598[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:35:50.86599[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:35:50.86599[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:35:50.86600[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
01-11-2025 15:35:50.86601[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:35:50.86601[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => kamu suka musik
)

 
-----------------------
01-11-2025 15:35:50.86602[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:35:50.86603[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kamu suka musik' 
-----------------------
01-11-2025 15:35:50.86603[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'kamu suka musik' 
-----------------------
01-11-2025 15:35:50.86604[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka musik' 
-----------------------
01-11-2025 15:35:50.86604[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:35:50.86605[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:35:50.86605[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KAMU SUKA MUSIK' to the front of the [input] array 
-----------------------
01-11-2025 15:35:50.86606[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
01-11-2025 15:35:50.86607[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:35:50.86607[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:35:50.86608[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:35:50.86608[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:35:50.86609[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:35:50.86609[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik jazz' 
-----------------------
01-11-2025 15:35:50.86610[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:35:50.86611[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:35:50.86611[2][4] - Elapsed time: 0.005 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:35:50.86612[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:35:50.86612[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:35:50.86613[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:35:50.86613[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:35:50.86614[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:35:50.86614[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku mau ngobrolin musik' 
-----------------------
01-11-2025 15:35:50.86615[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MAU NGOBROLIN MUSIK' 
-----------------------
01-11-2025 15:35:50.86615[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MAU NGOBROLIN MUSIK' 
-----------------------
01-11-2025 15:35:50.86616[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:35:50.86617[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:35:50.86617[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:35:50.86618[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:35:50.86618[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:35:50.86619[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:35:50.86619[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik jazz' 
-----------------------
01-11-2025 15:35:50.86620[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:35:50.86620[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:35:50.86621[2][4] - Elapsed time: 0.005 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:35:50.86621[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:35:50.86622[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
01-11-2025 15:35:50.86622[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:35:50.86623[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
01-11-2025 15:35:50.86623[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
01-11-2025 15:35:50.86624[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
01-11-2025 15:35:50.86625[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:35:50.86625[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:35:50.86626[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:35:50.86626[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:35:50.86627[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:35:50.86627[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:35:50.86628[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:35:50.86628[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:35:50.86629[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ok ganti topik' 
-----------------------
01-11-2025 15:35:50.86629[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:35:50.86630[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:35:50.86630[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:35:50.86631[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:35:50.86632[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
01-11-2025 15:35:50.86632[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:35:50.86633[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik' 
-----------------------
01-11-2025 15:35:50.86633[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
01-11-2025 15:35:50.86634[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
01-11-2025 15:35:50.86634[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:35:50.86635[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:35:50.86635[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:35:50.86636[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:35:50.86636[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
01-11-2025 15:35:50.86637[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:35:50.86637[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
01-11-2025 15:35:50.86638[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
01-11-2025 15:35:50.86638[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
01-11-2025 15:35:50.86639[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:35:50.86639[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:35:50.86640[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:35:50.86641[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:35:50.86641[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => halo
)

 
-----------------------
01-11-2025 15:35:50.86642[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:35:50.86642[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'halo' 
-----------------------
01-11-2025 15:35:50.86643[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'halo' 
-----------------------
01-11-2025 15:35:50.86644[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'halo' 
-----------------------
01-11-2025 15:35:50.86645[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO' 
-----------------------
01-11-2025 15:35:50.86645[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO' 
-----------------------
01-11-2025 15:35:50.86646[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:35:50.86647[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:35:50.86647[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hai
)

 
-----------------------
01-11-2025 15:35:50.86648[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:35:50.86648[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hai' 
-----------------------
01-11-2025 15:35:50.86649[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hai' 
-----------------------
01-11-2025 15:35:50.86649[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hai' 
-----------------------
01-11-2025 15:35:50.86650[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
01-11-2025 15:35:50.86650[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI' 
-----------------------
01-11-2025 15:35:50.86651[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:35:50.86676[2][4] - Elapsed time: 0.255 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
01-11-2025 15:35:50.86677[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:35:50.86697[4][4] - Elapsed time: 0.197 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
01-11-2025 15:35:50.86698[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
01-11-2025 15:35:50.86699[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
01-11-2025 15:35:50.86700[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][235]
Say = TERIMA KASIH: raw say = terima kasih 
-----------------------
01-11-2025 15:35:50.86700[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
01-11-2025 15:35:50.86701[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'TERIMA KASIH' to the front of the [user_say] array 
-----------------------
01-11-2025 15:35:50.86701[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
01-11-2025 15:35:50.86702[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = terima kasih, RAW say = terima kasih 
-----------------------
01-11-2025 15:35:50.86703[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'terima kasih' to the front of the [input] array 
-----------------------
01-11-2025 15:35:50.86704[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
01-11-2025 15:35:50.86705[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'TERIMA KASIH' 
-----------------------
01-11-2025 15:35:50.86705[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TERIMA KASIH' 
-----------------------
01-11-2025 15:35:50.86706[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:35:50.86725[4][4] - Elapsed time: 0.195 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
01-11-2025 15:35:50.86727[3][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = 'd691a9f1d78e60289ed8ed3fa176672d'
    AND (
        'TERIMA KASIH' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO SENANG BISA NGOBROL SAMA KAMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
01-11-2025 15:35:50.86765[2][4] - Elapsed time: 0.378 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
01-11-2025 15:35:50.86766[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
01-11-2025 15:35:50.86767[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
01-11-2025 15:35:50.86786[4][4] - Elapsed time: 0.193 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
01-11-2025 15:35:50.86787[3][4] - Elapsed time: 0.014 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 (
        'TERIMA KASIH' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'HALO SENANG BISA NGOBROL SAMA KAMU' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
01-11-2025 15:35:50.86835[3][4] - Elapsed time: 0.474 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
01-11-2025 15:35:50.86836[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (5) potential AIML matches 
-----------------------
01-11-2025 15:35:50.86857[1][4] - Elapsed time: 0.216 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = HALO SENANG BISA NGOBROL SAMA KAMU 
-----------------------
01-11-2025 15:35:50.86858[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 5 rows to unset bad matches 
-----------------------
01-11-2025 15:35:50.86859[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'TERIMA KASIH' 
-----------------------
01-11-2025 15:35:50.86876[4][4] - Elapsed time: 0.171 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
01-11-2025 15:35:50.86877[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
01-11-2025 15:35:50.86898[4][4] - Elapsed time: 0.213 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 344
            [bot_id] => 1
            [pattern] => TERIMA KASIH
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Sama-sama!</li>
            <li>Dengan senang hati, <get name="namaku"/>.</li>
            <li>Siap!</li>
        </random>
            [score] => 262
            [current_that] => halo senang bisa ngobrol sama kamu
            [aiml_id] => 344
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: terima (2 points), direct word match: kasih (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] => halo senang bisa ngobrol sama kamu
            [aiml_id] => 366
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

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

Array
(
    [0] => Array
        (
            [id] => 344
            [bot_id] => 1
            [pattern] => TERIMA KASIH
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Sama-sama!</li>
            <li>Dengan senang hati, <get name="namaku"/>.</li>
            <li>Siap!</li>
        </random>
            [score] => 262
            [current_that] => halo senang bisa ngobrol sama kamu
            [aiml_id] => 344
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: terima (2 points), direct word match: kasih (2 points)
        )

)

 
-----------------------
01-11-2025 15:35:50.86919[4][4] - Elapsed time: 0.187 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 344
    [bot_id] => 1
    [pattern] => TERIMA KASIH
    [thatpattern] => 
    [topic] => 
    [filename] => bot.aiml
    [template] => <random>
            <li>Sama-sama!</li>
            <li>Dengan senang hati, <get name="namaku"/>.</li>
            <li>Siap!</li>
        </random>
    [score] => 262
    [current_that] => halo senang bisa ngobrol sama kamu
    [aiml_id] => 344
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: terima (2 points), direct word match: kasih (2 points)
)
 
-----------------------
01-11-2025 15:35:50.86919[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
01-11-2025 15:35:50.86921[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:344 (TERIMA KASIH) 
-----------------------
01-11-2025 15:35:50.86922[3][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
01-11-2025 15:35:50.86923[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'TERIMA KASIH' 
-----------------------
01-11-2025 15:35:50.86924[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
01-11-2025 15:35:50.86924[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
01-11-2025 15:35:50.86925[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 344
    [category_id] => 344
    [html_template] => 
    [lookingfor] => TERIMA KASIH
    [pattern] => TERIMA KASIH
    [score] => 262
    [stars] => Array
        (
        )

    [template] => <random>
            <li>Sama-sama!</li>
            <li>Dengan senang hati, <get name="namaku"/>.</li>
            <li>Siap!</li>
        </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => terima kasih
)
 
-----------------------
01-11-2025 15:35:50.86926[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:35:50.86927[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:35:50.86932[4][4] - Elapsed time: 0.052 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Sama-sama!</text></li><li><text>Dengan senang hati, </text><get name="namaku"/><text>.</text></li><li><text>Siap!</text></li></random></template> 
-----------------------
01-11-2025 15:35:50.86946[2][4] - Elapsed time: 0.139 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:35:50.86951[4][4] - Elapsed time: 0.053 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Sama-sama!</text></li><li><text>Dengan senang hati, </text><get name="namaku"/><text>.</text></li><li><text>Siap!</text></li></random></template>
 
-----------------------
01-11-2025 15:35:50.86952[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:35:50.86953[2][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:35:50.86955[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Sama-sama!</text></li><li><text>Dengan senang hati, </text><get name="namaku"/><text>.</text></li><li><text>Siap!</text></li></random> 
-----------------------
01-11-2025 15:35:50.86956[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
01-11-2025 15:35:50.86957[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
01-11-2025 15:35:50.86957[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
01-11-2025 15:35:50.86962[4][4] - Elapsed time: 0.051 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Sama-sama!
        )

    [1] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Dengan senang hati, 
                    [1] => .
                )

            [get] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [name] => namaku
                        )

                )

        )

    [2] => SimpleXMLElement Object
        (
            [text] => Siap!
        )

)
 
-----------------------
01-11-2025 15:35:50.86963[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #1 from random tag.
 
-----------------------
01-11-2025 15:35:50.86964[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:35:50.86965[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Dengan senang hati, </text><get name="namaku"/><text>.</text></li> 
-----------------------
01-11-2025 15:35:50.86965[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
01-11-2025 15:35:50.86966[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:35:50.86967[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Dengan senang hati, </text> 
-----------------------
01-11-2025 15:35:50.86967[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
01-11-2025 15:35:50.86968[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
01-11-2025 15:35:50.86969[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
01-11-2025 15:35:50.86969[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Dengan senang hati, ' to the response array. tag name is text 
-----------------------
01-11-2025 15:35:50.86970[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:35:50.86970[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Dengan senang hati, 
)

 
-----------------------
01-11-2025 15:35:50.86971[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:35:50.86971[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Dengan senang hati, ' 
-----------------------
01-11-2025 15:35:50.86972[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Dengan senang hati, ' to the response array. tag name is li. 
-----------------------
01-11-2025 15:35:50.86973[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:35:50.86974[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 3. element XML = <get name="namaku"/> 
-----------------------
01-11-2025 15:35:50.86974[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
01-11-2025 15:35:50.86975[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
01-11-2025 15:35:50.86976[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => dannu
    [topic] => 
    [musikfavorit] => jazz
)
 
-----------------------
01-11-2025 15:35:50.86976[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][520]
Parsing a GET tag. Oh, and getting a sandwich while I'm at it. 
-----------------------
01-11-2025 15:35:50.86977[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => 182.8.195.90
    [name] => Seeker
    [namaku] => dannu
    [topic] => 
    [musikfavorit] => jazz
)
 
-----------------------
01-11-2025 15:35:50.86978[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is get 
-----------------------
01-11-2025 15:35:50.86978[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:35:50.86979[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
01-11-2025 15:35:50.86979[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:35:50.86980[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
01-11-2025 15:35:50.86980[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'dannu' to the response array. tag name is li. 
-----------------------
01-11-2025 15:35:50.86981[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:35:50.86982[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>.</text> 
-----------------------
01-11-2025 15:35:50.86982[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:35:50.86983[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:35:50.86983[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
01-11-2025 15:35:50.86984[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '.' to the response array. tag name is text 
-----------------------
01-11-2025 15:35:50.86984[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:35:50.86985[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => .
)

 
-----------------------
01-11-2025 15:35:50.86985[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:35:50.86986[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '.' 
-----------------------
01-11-2025 15:35:50.86987[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '.' to the response array. tag name is li. 
-----------------------
01-11-2025 15:35:50.86987[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:35:50.86988[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Dengan senang hati, 
    [1] => dannu
    [2] => .
)

 
-----------------------
01-11-2025 15:35:50.86988[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:35:50.86989[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Dengan senang hati, dannu .' 
-----------------------
01-11-2025 15:35:50.86989[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Dengan senang hati, dannu .' for output. 
-----------------------
01-11-2025 15:35:50.86990[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Dengan senang hati, dannu .' to the response array. tag name is random 
-----------------------
01-11-2025 15:35:50.86990[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:35:50.86991[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Dengan senang hati, dannu .
)

 
-----------------------
01-11-2025 15:35:50.86992[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:35:50.86992[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:35:50.86993[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Dengan senang hati, dannu .' to the response array. tag name is template. 
-----------------------
01-11-2025 15:35:50.86994[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:35:50.86994[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Dengan senang hati, dannu .
)

 
-----------------------
01-11-2025 15:35:50.86995[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:35:50.86995[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:35:50.86996[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: Dengan senang hati, dannu. 
-----------------------
01-11-2025 15:35:50.86997[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
01-11-2025 15:35:50.86997[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
01-11-2025 15:35:50.86998[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_raw] array 
-----------------------
01-11-2025 15:35:50.86999[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
01-11-2025 15:35:50.87000[2][4] - Elapsed time: 0.019 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:35:50.87002[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Dengan senang hati, dannu.' 
-----------------------
01-11-2025 15:35:50.87002[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Dengan senang hati, dannu.' 
-----------------------
01-11-2025 15:35:50.87003[4][4] - Elapsed time: 0.012 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:35:50.87004[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'DENGAN SENANG HATI DANNU' 
-----------------------
01-11-2025 15:35:50.87005[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Dengan senang hati, dannu.' to the front of the [parsed_template] array 
-----------------------
01-11-2025 15:35:50.87006[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
01-11-2025 15:35:50.87006[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
            <li>Sama-sama!</li>
            <li>Dengan senang hati, <get name="namaku"/>.</li>
            <li>Siap!</li>
        </random>' to the front of the [template] array 
-----------------------
01-11-2025 15:35:50.87007[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
01-11-2025 15:35:50.87008[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
01-11-2025 15:35:50.87009[3][4] - Elapsed time: 0.012 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 ,
      'terima kasih',
      'Dengan senang hati, dannu.',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
01-11-2025 15:35:50.87211[4][4] - Elapsed time: 2.016 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
01-11-2025 15:35:50.87228[3][4] - Elapsed time: 0.166 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:35:50.87249[2][4] - Elapsed time: 0.212 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
01-11-2025 15:35:50.87250[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
01-11-2025 15:35:50.87250[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
01-11-2025 15:35:50.87253[4][4] - Elapsed time: 0.027 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"terima kasih","botsay":"Dengan senang hati, dannu.","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":"terima kasih","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":"344","bot_id":"1","pattern":"TERIMA KASIH","thatpattern":"","topic":"","filename":"bot.aiml","template":"<random>\n            <li>Sama-sama!<\/li>\n            <li>Dengan senang hati, <get name=\"namaku\"\/>.<\/li>\n            <li>Siap!<\/li>\n        <\/random>","score":262,"current_that":"halo senang bisa ngobrol sama kamu","aiml_id":"344","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: terima (2 points), direct word match: kasih (2 points)"}}} 
-----------------------
01-11-2025 15:35:50.87290[2][4] - Elapsed time: 0.365 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
01-11-2025 15:35:50.87292[0][4] - Elapsed time: 0.029 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 33.753 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => terima kasih
    [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] => terima kasih
            [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] => 344
                    [bot_id] => 1
                    [pattern] => TERIMA KASIH
                    [thatpattern] => 
                    [topic] => 
                    [filename] => bot.aiml
                    [template] => <random>
            <li>Sama-sama!</li>
            <li>Dengan senang hati, <get name="namaku"/>.</li>
            <li>Siap!</li>
        </random>
                    [score] => 262
                    [current_that] => halo senang bisa ngobrol sama kamu
                    [aiml_id] => 344
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: terima (2 points), direct word match: kasih (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => terima kasih
            [lookingfor] => TERIMA KASIH
            [category_id] => 344
            [pattern] => TERIMA KASIH
            [thatpattern] => 
            [template] => <random>
            <li>Sama-sama!</li>
            <li>Dengan senang hati, <get name="namaku"/>.</li>
            <li>Siap!</li>
        </random>
            [html_template] => 
            [topic] => 
            [score] => 262
            [aiml_id] => 344
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Dengan senang hati, dannu.
        )

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

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

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

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

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

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

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

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

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

            [9] => Array
                (
                    [0] => Hmm, bisa diulangi dengan kalimat lain?
                )

            [10] => Array
                (
                    [0] => Hmm, bisa diulangi dengan kalimat lain?
                )

        )

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

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

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

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

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

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

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

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

            [9] => Array
                (
                    [1] => ASYIK MUSIK EMANG SERU KITA MULAI DARI MANA MAU BAHAS GENRE ATAU ARTIS FAVORITMU
                )

            [10] => Array
                (
                    [1] => HMM BISA DIULANGI DENGAN KALIMAT LAIN
                )

            [12] => 
        )

    [input] => Array
        (
            [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
            [10] => AKU SUKA MUSIK JAZZ
        )

    [time_start] => 1761986150.8392
    [user_say] => Array
        (
            [1] => TERIMA KASIH
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

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

    [parsed_template] => Array
        (
            [1] => Dengan senang hati, dannu.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Sama-sama!</li> <li>Dengan senang hati, <get name="namaku"/>.</li> <li>Siap!</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"terima kasih","botsay":"Dengan senang hati, dannu.","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":"terima kasih","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":"344","bot_id":"1","pattern":"TERIMA KASIH","thatpattern":"","topic":"","filename":"bot.aiml","template":"<random>\n            <li>Sama-sama!<\/li>\n            <li>Dengan senang hati, <get name=\"namaku\"\/>.<\/li>\n            <li>Siap!<\/li>\n        <\/random>","score":262,"current_that":"halo senang bisa ngobrol sama kamu","aiml_id":"344","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: terima (2 points), direct word match: kasih (2 points)"}}}
)

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