01-11-2025 15:31:25.51200[0][4] - Elapsed time: 0.752 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:31:25.51222[4][4] - Elapsed time: 0.219 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
01-11-2025 15:31:25.51237[4][4] - Elapsed time: 0.153 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
01-11-2025 15:31:25.51246[4][4] - Elapsed time: 0.087 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
01-11-2025 15:31:25.51275[4][4] - Elapsed time: 0.294 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
01-11-2025 15:31:25.51276[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
01-11-2025 15:31:25.51287[1][4] - Elapsed time: 0.107 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:31:25.51315[0][4] - Elapsed time: 0.283 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = fdfdcd4cf5b2dad1b5f5ae0e2b9eb652 
-----------------------
01-11-2025 15:31:25.51317[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'siapa namaku'. 
-----------------------
01-11-2025 15:31:25.51318[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
01-11-2025 15:31:25.51319[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
01-11-2025 15:31:25.51319[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:31:25.51339[4][4] - Elapsed time: 0.196 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
01-11-2025 15:31:25.51340[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:31:25.51341[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:31:25.51363[2][4] - Elapsed time: 0.220 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
01-11-2025 15:31:25.51364[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:31:25.51383[3][4] - Elapsed time: 0.196 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:31:25.51403[2][4] - Elapsed time: 0.198 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
01-11-2025 15:31:25.51405[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on siapa. 
-----------------------
01-11-2025 15:31:25.51406[2][4] - Elapsed time: 0.009 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
01-11-2025 15:31:25.51436[2][4] - Elapsed time: 0.305 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
01-11-2025 15:31:25.51438[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on namaku. 
-----------------------
01-11-2025 15:31:25.51439[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
01-11-2025 15:31:25.51441[4][4] - Elapsed time: 0.015 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:31:25.51442[2][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: SIAPA NAMAKU
Convo id: fdfdcd4cf5b2dad1b5f5ae0e2b9eb652
Bot id: 1
Format: json 
-----------------------
01-11-2025 15:31:25.51442[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
01-11-2025 15:31:25.51444[2][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
01-11-2025 15:31:25.51445[3][4] - Elapsed time: 0.010 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:31:25.51469[1][4] - Elapsed time: 0.238 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => ganti topik
    [1] => ok ganti topik
    [2] => siapa namaku
    [3] => aku suka musik jazz
    [4] => aku mau ngobrolin musik
    [5] => aku suka musik jazz
    [6] => kamu suka musik
    [7] => ganti topik
    [8] => kamu suka musik
    [9] => musik
)
 
-----------------------
01-11-2025 15:31:25.51470[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
01-11-2025 15:31:25.51470[1][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Oke, udahan dulu ya ngobrolin musiknya. Mau bahas apa kita sekarang?
    [1] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [2] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [3] => Oh, kamu suka jazz ya! Keren. Siapa artis jazz favoritmu?
    [4] => Asyik! Musik emang seru. Kita mulai dari mana? Mau bahas genre atau artis favoritmu?
    [5] => Hmm, bisa diulangi dengan kalimat lain?
    [6] => Hmm, bisa diulangi dengan kalimat lain?
    [7] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
    [8] => Aku masih belajar nih. Coba tanya yang lain.
    [9] => Aku masih belajar nih. Coba tanya yang lain.
)
 
-----------------------
01-11-2025 15:31:25.51472[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:31:25.51473[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku masih belajar nih
    [1] =>  Coba tanya yang lain
    [2] => 
)

 
-----------------------
01-11-2025 15:31:25.51473[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:31:25.51474[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku masih belajar nih Coba tanya yang lain ' 
-----------------------
01-11-2025 15:31:25.51475[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku masih belajar nih Coba tanya yang lain ' 
-----------------------
01-11-2025 15:31:25.51476[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku masih belajar nih Coba tanya yang lain ' 
-----------------------
01-11-2025 15:31:25.51477[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51477[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51478[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' to the front of the [that] array 
-----------------------
01-11-2025 15:31:25.51479[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
01-11-2025 15:31:25.51480[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51481[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51482[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51482[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51483[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:31:25.51484[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku masih belajar nih
    [1] =>  Coba tanya yang lain
    [2] => 
)

 
-----------------------
01-11-2025 15:31:25.51484[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:31:25.51485[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku masih belajar nih Coba tanya yang lain ' 
-----------------------
01-11-2025 15:31:25.51486[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku masih belajar nih Coba tanya yang lain ' 
-----------------------
01-11-2025 15:31:25.51486[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku masih belajar nih Coba tanya yang lain ' 
-----------------------
01-11-2025 15:31:25.51487[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51487[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51488[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' to the front of the [that] array 
-----------------------
01-11-2025 15:31:25.51489[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51489[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51490[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51491[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:25.51491[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:31:25.51492[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Kita bahkan belum mulai topik hehe
    [1] =>  Mau bahas apa
    [2] => 
)

 
-----------------------
01-11-2025 15:31:25.51493[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:31:25.51493[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Kita bahkan belum mulai topik hehe Mau bahas apa ' 
-----------------------
01-11-2025 15:31:25.51494[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Kita bahkan belum mulai topik hehe Mau bahas apa ' 
-----------------------
01-11-2025 15:31:25.51494[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita bahkan belum mulai topik hehe Mau bahas apa ' 
-----------------------
01-11-2025 15:31:25.51495[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:31:25.51496[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:31:25.51496[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' to the front of the [that] array 
-----------------------
01-11-2025 15:31:25.51497[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:31:25.51497[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:31:25.51498[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:31:25.51499[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:31:25.51499[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:31:25.51500[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:31:25.51500[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:31:25.51501[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:31:25.51501[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:31:25.51502[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:31:25.51503[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:31:25.51503[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:31:25.51504[2][4] - Elapsed time: 0.005 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:31:25.51504[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:31:25.51505[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:31:25.51506[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:31:25.51506[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:31:25.51507[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:31:25.51507[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Hmm
    [1] =>  bisa diulangi dengan kalimat lain
    [2] => 
)

 
-----------------------
01-11-2025 15:31:25.51508[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:31:25.51508[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:31:25.51509[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:31:25.51509[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:31:25.51510[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:31:25.51511[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:31:25.51511[2][4] - Elapsed time: 0.005 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:31:25.51512[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:31:25.51513[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:31:25.51513[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:31:25.51514[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:31:25.51514[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:31:25.51515[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:31:25.51516[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:31:25.51516[4][4] - Elapsed time: 0.006 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:31:25.51517[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:31:25.51517[4][4] - Elapsed time: 0.006 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:31:25.51518[4][4] - Elapsed time: 0.008 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:31:25.51519[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:31:25.51519[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:31:25.51520[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:31:25.51520[4][4] - Elapsed time: 0.006 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:31:25.51521[4][4] - Elapsed time: 0.008 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:31:25.51522[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:31:25.51522[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:31:25.51523[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:31:25.51523[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:31:25.51524[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:31:25.51525[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:31:25.51525[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:31:25.51526[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:31:25.51526[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:31:25.51527[2][4] - Elapsed time: 0.006 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:31:25.51528[4][4] - Elapsed time: 0.008 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:31:25.51528[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:31:25.51529[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:31:25.51529[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:31:25.51530[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:31:25.51531[2][4] - Elapsed time: 0.005 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:31:25.51531[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:31:25.51532[4][4] - Elapsed time: 0.007 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:31:25.51532[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:31:25.51533[4][4] - Elapsed time: 0.007 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:31:25.51534[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:31:25.51534[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:31:25.51535[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' to the front of the [that] array 
-----------------------
01-11-2025 15:31:25.51536[4][4] - Elapsed time: 0.011 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:31:25.51536[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:31:25.51537[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:31:25.51538[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:31:25.51538[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:31:25.51539[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:31:25.51539[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:31:25.51540[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:31:25.51540[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:31:25.51541[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:31:25.51542[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:31:25.51542[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:31:25.51544[2][4] - Elapsed time: 0.012 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:31:25.51545[4][4] - Elapsed time: 0.010 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:31:25.51545[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:31:25.51546[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:31:25.51546[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:31:25.51547[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:31:25.51548[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:31:25.51548[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:31:25.51549[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:31:25.51549[4][4] - Elapsed time: 0.006 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:31:25.51550[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:31:25.51551[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:31:25.51551[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:31:25.51552[2][4] - Elapsed time: 0.004 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:31:25.51553[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:31:25.51553[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:31:25.51554[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:31:25.51554[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:31:25.51555[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
01-11-2025 15:31:25.51556[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:31:25.51557[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
01-11-2025 15:31:25.51557[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:31:25.51558[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
01-11-2025 15:31:25.51558[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'musik' 
-----------------------
01-11-2025 15:31:25.51559[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'musik' 
-----------------------
01-11-2025 15:31:25.51559[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MUSIK' 
-----------------------
01-11-2025 15:31:25.51560[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MUSIK' 
-----------------------
01-11-2025 15:31:25.51560[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MUSIK' to the front of the [input] array 
-----------------------
01-11-2025 15:31:25.51561[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
01-11-2025 15:31:25.51562[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:31:25.51563[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:31:25.51563[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:31:25.51564[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'kamu suka musik' 
-----------------------
01-11-2025 15:31:25.51564[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:31:25.51565[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka musik' 
-----------------------
01-11-2025 15:31:25.51565[4][4] - Elapsed time: 0.006 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:31:25.51566[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:31:25.51566[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:31:25.51567[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:31:25.51568[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
01-11-2025 15:31:25.51568[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:31:25.51569[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik' 
-----------------------
01-11-2025 15:31:25.51569[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
01-11-2025 15:31:25.51570[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
01-11-2025 15:31:25.51571[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:31:25.51571[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:31:25.51572[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:31:25.51572[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:31:25.51573[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => kamu suka musik
)

 
-----------------------
01-11-2025 15:31:25.51573[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:31:25.51574[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:31:25.51574[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:31:25.51575[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka musik' 
-----------------------
01-11-2025 15:31:25.51575[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:31:25.51576[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:31:25.51576[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:31:25.51577[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:31:25.51578[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:31:25.51578[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:31:25.51579[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:31:25.51579[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'aku suka musik jazz' 
-----------------------
01-11-2025 15:31:25.51580[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik jazz' 
-----------------------
01-11-2025 15:31:25.51581[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:31:25.51581[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:31:25.51582[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:31:25.51582[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:31:25.51583[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku mau ngobrolin musik
)

 
-----------------------
01-11-2025 15:31:25.51583[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:31:25.51584[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku mau ngobrolin musik' 
-----------------------
01-11-2025 15:31:25.51584[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:31:25.51585[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku mau ngobrolin musik' 
-----------------------
01-11-2025 15:31:25.51586[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MAU NGOBROLIN MUSIK' 
-----------------------
01-11-2025 15:31:25.51586[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MAU NGOBROLIN MUSIK' 
-----------------------
01-11-2025 15:31:25.51586[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:31:25.51587[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:31:25.51588[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:31:25.51588[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:31:25.51589[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:31:25.51589[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:31:25.51590[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik jazz' 
-----------------------
01-11-2025 15:31:25.51590[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:31:25.51591[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:31:25.51591[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU SUKA MUSIK JAZZ' to the front of the [input] array 
-----------------------
01-11-2025 15:31:25.51592[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:31:25.51593[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa namaku
)

 
-----------------------
01-11-2025 15:31:25.51593[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:31:25.51594[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
01-11-2025 15:31:25.51594[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
01-11-2025 15:31:25.51595[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
01-11-2025 15:31:25.51595[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:31:25.51596[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:31:25.51596[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:31:25.51597[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:31:25.51597[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:31:25.51598[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:31:25.51599[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ok ganti topik' 
-----------------------
01-11-2025 15:31:25.51599[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:31:25.51600[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ok ganti topik' 
-----------------------
01-11-2025 15:31:25.51600[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:31:25.51601[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:31:25.51601[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:31:25.51602[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:31:25.51602[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
01-11-2025 15:31:25.51603[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:31:25.51603[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'ganti topik' 
-----------------------
01-11-2025 15:31:25.51604[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
01-11-2025 15:31:25.51604[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
01-11-2025 15:31:25.51605[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:31:25.51606[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:31:25.51606[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:31:25.51631[2][4] - Elapsed time: 0.249 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
01-11-2025 15:31:25.51632[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:31:25.51652[4][4] - Elapsed time: 0.201 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
01-11-2025 15:31:25.51654[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
01-11-2025 15:31:25.51654[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
01-11-2025 15:31:25.51655[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = SIAPA NAMAKU: raw say = siapa namaku 
-----------------------
01-11-2025 15:31:25.51655[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
01-11-2025 15:31:25.51656[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMAKU' to the front of the [user_say] array 
-----------------------
01-11-2025 15:31:25.51657[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
01-11-2025 15:31:25.51658[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = siapa namaku, RAW say = siapa namaku 
-----------------------
01-11-2025 15:31:25.51658[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'siapa namaku' to the front of the [input] array 
-----------------------
01-11-2025 15:31:25.51659[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
01-11-2025 15:31:25.51660[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:31:25.51661[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:31:25.51661[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:31:25.51681[4][4] - Elapsed time: 0.198 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
01-11-2025 15:31:25.51683[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 (
        'SIAPA NAMAKU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
01-11-2025 15:31:25.51704[2][4] - Elapsed time: 0.211 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
01-11-2025 15:31:25.51705[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:31:25.51705[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:31:25.51724[4][4] - Elapsed time: 0.187 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
01-11-2025 15:31:25.51726[3][4] - Elapsed time: 0.016 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'SIAPA NAMAKU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
01-11-2025 15:31:25.51758[3][4] - Elapsed time: 0.324 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
01-11-2025 15:31:25.51759[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (6) potential AIML matches 
-----------------------
01-11-2025 15:31:25.51780[1][4] - Elapsed time: 0.205 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = OKE UDAHAN DULU YA NGOBROLIN MUSIKNYA MAU BAHAS APA KITA SEKARANG 
-----------------------
01-11-2025 15:31:25.51781[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 6 rows to unset bad matches 
-----------------------
01-11-2025 15:31:25.51781[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:31:25.51796[4][4] - Elapsed time: 0.147 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
01-11-2025 15:31:25.51797[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
01-11-2025 15:31:25.51818[4][4] - Elapsed time: 0.215 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 333
            [bot_id] => 1
            [pattern] => SIAPA NAMAKU
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <condition name="namaku" value="unknown">
            <li>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</li>
        </condition>
        <condition>
            <li>Nama kamu <get name="namaku"/>, kan? Aku ingat!</li>
        </condition>
            [score] => 262
            [current_that] => oke udahan dulu ya ngobrolin musiknya mau bahas apa kita sekarang
            [aiml_id] => 333
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: namaku (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] => oke udahan dulu ya ngobrolin musiknya mau bahas apa kita sekarang
            [aiml_id] => 366
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
01-11-2025 15:31:25.51820[2][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 333
            [bot_id] => 1
            [pattern] => SIAPA NAMAKU
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <condition name="namaku" value="unknown">
            <li>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</li>
        </condition>
        <condition>
            <li>Nama kamu <get name="namaku"/>, kan? Aku ingat!</li>
        </condition>
            [score] => 262
            [current_that] => oke udahan dulu ya ngobrolin musiknya mau bahas apa kita sekarang
            [aiml_id] => 333
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: namaku (2 points)
        )

)

 
-----------------------
01-11-2025 15:31:25.51835[4][4] - Elapsed time: 0.144 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 333
    [bot_id] => 1
    [pattern] => SIAPA NAMAKU
    [thatpattern] => 
    [topic] => 
    [filename] => bot.aiml
    [template] => <condition name="namaku" value="unknown">
            <li>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</li>
        </condition>
        <condition>
            <li>Nama kamu <get name="namaku"/>, kan? Aku ingat!</li>
        </condition>
    [score] => 262
    [current_that] => oke udahan dulu ya ngobrolin musiknya mau bahas apa kita sekarang
    [aiml_id] => 333
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: namaku (2 points)
)
 
-----------------------
01-11-2025 15:31:25.51835[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
01-11-2025 15:31:25.51837[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:333 (SIAPA NAMAKU) 
-----------------------
01-11-2025 15:31:25.51837[3][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
01-11-2025 15:31:25.51838[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:31:25.51839[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
01-11-2025 15:31:25.51839[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
01-11-2025 15:31:25.51840[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 333
    [category_id] => 333
    [html_template] => 
    [lookingfor] => SIAPA NAMAKU
    [pattern] => SIAPA NAMAKU
    [score] => 262
    [stars] => Array
        (
        )

    [template] => <condition name="namaku" value="unknown">
            <li>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</li>
        </condition>
        <condition>
            <li>Nama kamu <get name="namaku"/>, kan? Aku ingat!</li>
        </condition>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => siapa namaku
)
 
-----------------------
01-11-2025 15:31:25.51841[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
01-11-2025 15:31:25.51842[2][4] - Elapsed time: 0.008 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:31:25.51844[4][4] - Elapsed time: 0.022 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><condition name="namaku" value="unknown"><li><text>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</text></li></condition><condition><li><text>Nama kamu </text><get name="namaku"/><text>, kan? Aku ingat!</text></li></condition></template> 
-----------------------
01-11-2025 15:31:25.51849[2][4] - Elapsed time: 0.047 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:31:25.51852[4][4] - Elapsed time: 0.032 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><condition name="namaku" value="unknown"><li><text>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</text></li></condition><condition><li><text>Nama kamu </text><get name="namaku"/><text>, kan? Aku ingat!</text></li></condition></template>
 
-----------------------
01-11-2025 15:31:25.51853[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:31:25.51854[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:31:25.51855[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element condition at level 1. element XML = <condition name="namaku" value="unknown"><li><text>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</text></li></condition> 
-----------------------
01-11-2025 15:31:25.51856[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_condition_tag does exist. Processing now. 
-----------------------
01-11-2025 15:31:25.51856[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element condition to the parse_condition_tag function 
-----------------------
01-11-2025 15:31:25.51857[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][809]
Parsing a CONDITION tag. 
-----------------------
01-11-2025 15:31:25.51858[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][818]
Element attributes:Array
(
    [name] => namaku
    [value] => unknown
)
 
-----------------------
01-11-2025 15:31:25.51859[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][820]
Element attribute count = 2 
-----------------------
01-11-2025 15:31:25.51859[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][898]
Parsing a CONDITION tag with 2 attributes. 
-----------------------
01-11-2025 15:31:25.51860[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'unknown' 
-----------------------
01-11-2025 15:31:25.51861[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'UNKNOWN' 
-----------------------
01-11-2025 15:31:25.51862[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'dannu' 
-----------------------
01-11-2025 15:31:25.51863[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'DANNU' 
-----------------------
01-11-2025 15:31:25.51863[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:31:25.51864[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
01-11-2025 15:31:25.51864[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:31:25.51865[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
01-11-2025 15:31:25.51865[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is condition 
-----------------------
01-11-2025 15:31:25.51866[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:31:25.51867[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
01-11-2025 15:31:25.51867[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:31:25.51868[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
01-11-2025 15:31:25.51868[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
01-11-2025 15:31:25.51869[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:31:25.51870[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element condition at level 1. element XML = <condition><li><text>Nama kamu </text><get name="namaku"/><text>, kan? Aku ingat!</text></li></condition> 
-----------------------
01-11-2025 15:31:25.51871[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_condition_tag does exist. Processing now. 
-----------------------
01-11-2025 15:31:25.51871[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element condition to the parse_condition_tag function 
-----------------------
01-11-2025 15:31:25.51872[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][809]
Parsing a CONDITION tag. 
-----------------------
01-11-2025 15:31:25.51872[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][818]
Element attributes:Array
(
)
 
-----------------------
01-11-2025 15:31:25.51873[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][820]
Element attribute count = 0 
-----------------------
01-11-2025 15:31:25.51884[4][4] - Elapsed time: 0.109 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][826]
Parsing a CONDITION tag with no attributes. XML = <?xml version="1.0"?>
<condition>
  <li>
    <text>Nama kamu </text>
    <get name="namaku"/>
    <text>, kan? Aku ingat!</text>
  </li>
</condition>
 
-----------------------
01-11-2025 15:31:25.51887[2][4] - Elapsed time: 0.034 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][835]
choices = Array
(
)
 
-----------------------
01-11-2025 15:31:25.51888[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][890]
Bare condition tag: pick =  
-----------------------
01-11-2025 15:31:25.51889[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:31:25.51890[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>Nama kamu </text> 
-----------------------
01-11-2025 15:31:25.51891[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
01-11-2025 15:31:25.51892[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:31:25.51892[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
01-11-2025 15:31:25.51893[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Nama kamu ' to the response array. tag name is text 
-----------------------
01-11-2025 15:31:25.51894[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:31:25.51894[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 2. element XML = <get name="namaku"/> 
-----------------------
01-11-2025 15:31:25.51895[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
01-11-2025 15:31:25.51896[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
01-11-2025 15:31:25.51897[2][4] - Elapsed time: 0.008 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:31:25.51897[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:31:25.51898[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:31:25.51899[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:31:25.51900[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:31:25.51900[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>, kan? Aku ingat!</text> 
-----------------------
01-11-2025 15:31:25.51901[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
01-11-2025 15:31:25.51902[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:31:25.51902[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
01-11-2025 15:31:25.51903[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding ', kan? Aku ingat!' to the response array. tag name is text 
-----------------------
01-11-2025 15:31:25.51903[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parse_condition_tag][1023]
Response = Array
(
    [0] => Array
        (
            [0] => Nama kamu 
        )

    [1] => Array
        (
            [0] => dannu
        )

    [2] => Array
        (
            [0] => , kan? Aku ingat!
        )

)
 
-----------------------
01-11-2025 15:31:25.51904[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:31:25.51905[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => Nama kamu 
        )

    [1] => Array
        (
            [0] => dannu
        )

    [2] => Array
        (
            [0] => , kan? Aku ingat!
        )

)

 
-----------------------
01-11-2025 15:31:25.51905[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:31:25.51906[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:31:25.51906[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama kamu 
)

 
-----------------------
01-11-2025 15:31:25.51907[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:31:25.51907[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:31:25.51908[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
01-11-2025 15:31:25.51909[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:31:25.51909[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:31:25.51910[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => , kan? Aku ingat!
)

 
-----------------------
01-11-2025 15:31:25.51910[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:31:25.51911[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:31:25.51912[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Nama kamu dannu , kan? Aku ingat!' to the response array. tag name is condition 
-----------------------
01-11-2025 15:31:25.51912[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:31:25.51913[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama kamu dannu , kan? Aku ingat!
)

 
-----------------------
01-11-2025 15:31:25.51913[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:31:25.51914[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:31:25.51914[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Nama kamu dannu , kan? Aku ingat!' to the response array. tag name is template. 
-----------------------
01-11-2025 15:31:25.51915[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:31:25.51916[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
    [1] => Nama kamu dannu , kan? Aku ingat!
)

 
-----------------------
01-11-2025 15:31:25.51916[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:31:25.51917[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:31:25.51918[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Nama kamu dannu, kan? Aku ingat! 
-----------------------
01-11-2025 15:31:25.51919[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
01-11-2025 15:31:25.51919[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:31:25.51920[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_raw] array 
-----------------------
01-11-2025 15:31:25.51921[4][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
01-11-2025 15:31:25.51923[2][4] - Elapsed time: 0.020 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:31:25.51924[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama kamu dannu, kan?' 
-----------------------
01-11-2025 15:31:25.51924[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama kamu dannu, kan?' 
-----------------------
01-11-2025 15:31:25.51925[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA KAMU DANNU KAN' 
-----------------------
01-11-2025 15:31:25.51926[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA KAMU DANNU KAN' 
-----------------------
01-11-2025 15:31:25.51926[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku ingat!' 
-----------------------
01-11-2025 15:31:25.51927[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku ingat!' 
-----------------------
01-11-2025 15:31:25.51928[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU INGAT' 
-----------------------
01-11-2025 15:31:25.51928[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU INGAT' 
-----------------------
01-11-2025 15:31:25.51929[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nama kamu dannu, kan? Aku ingat!' to the front of the [parsed_template] array 
-----------------------
01-11-2025 15:31:25.51930[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
01-11-2025 15:31:25.51931[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<condition name="namaku" value="unknown">
            <li>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</li>
        </condition>
        <condition>
            <li>Nama kamu <get name="namaku"/>, kan? Aku ingat!</li>
        </condition>' to the front of the [template] array 
-----------------------
01-11-2025 15:31:25.51932[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
01-11-2025 15:31:25.51933[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
01-11-2025 15:31:25.51934[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 ,
      'siapa namaku',
      'Nama kamu dannu, kan? Aku ingat!',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
01-11-2025 15:31:25.52172[4][4] - Elapsed time: 2.377 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
01-11-2025 15:31:25.52194[3][4] - Elapsed time: 0.225 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:31:25.52220[2][4] - Elapsed time: 0.261 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
01-11-2025 15:31:25.52222[4][4] - Elapsed time: 0.020 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
01-11-2025 15:31:25.52224[2][4] - Elapsed time: 0.013 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
01-11-2025 15:31:25.52226[4][4] - Elapsed time: 0.028 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"siapa namaku","botsay":"Nama kamu dannu, kan? Aku ingat!","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":"siapa namaku","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":"333","bot_id":"1","pattern":"SIAPA NAMAKU","thatpattern":"","topic":"","filename":"bot.aiml","template":"<condition name=\"namaku\" value=\"unknown\">\n            <li>Kamu belum memberitahuku namamu. Coba ketik \"Namaku (nama kamu)\".<\/li>\n        <\/condition>\n        <condition>\n            <li>Nama kamu <get name=\"namaku\"\/>, kan? Aku ingat!<\/li>\n        <\/condition>","score":262,"current_that":"oke udahan dulu ya ngobrolin musiknya mau bahas apa kita sekarang","aiml_id":"333","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: namaku (2 points)"}}} 
-----------------------
01-11-2025 15:31:25.52251[2][4] - Elapsed time: 0.245 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
01-11-2025 15:31:25.52254[0][4] - Elapsed time: 0.032 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 11.277 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => siapa namaku
    [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] => siapa namaku
            [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] => 333
                    [bot_id] => 1
                    [pattern] => SIAPA NAMAKU
                    [thatpattern] => 
                    [topic] => 
                    [filename] => bot.aiml
                    [template] => <condition name="namaku" value="unknown">
            <li>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</li>
        </condition>
        <condition>
            <li>Nama kamu <get name="namaku"/>, kan? Aku ingat!</li>
        </condition>
                    [score] => 262
                    [current_that] => oke udahan dulu ya ngobrolin musiknya mau bahas apa kita sekarang
                    [aiml_id] => 333
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: namaku (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => siapa namaku
            [lookingfor] => SIAPA NAMAKU
            [category_id] => 333
            [pattern] => SIAPA NAMAKU
            [thatpattern] => 
            [template] => <condition name="namaku" value="unknown">
            <li>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</li>
        </condition>
        <condition>
            <li>Nama kamu <get name="namaku"/>, kan? Aku ingat!</li>
        </condition>
            [html_template] => 
            [topic] => 
            [score] => 262
            [aiml_id] => 333
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Nama kamu dannu, kan? Aku ingat!
        )

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

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

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

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

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

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

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

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

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

            [9] => Array
                (
                    [0] => Aku masih belajar nih
                    [1] =>  Coba tanya yang lain
                    [2] => 
                )

            [10] => Array
                (
                    [0] => Aku masih belajar nih
                    [1] =>  Coba tanya yang lain
                    [2] => 
                )

        )

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

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

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

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

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

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

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

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

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

            [10] => Array
                (
                    [1] => AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => siapa namaku
            [2] => GANTI TOPIK
            [3] => OK GANTI TOPIK
            [4] => SIAPA NAMAKU
            [5] => AKU SUKA MUSIK JAZZ
            [6] => AKU MAU NGOBROLIN MUSIK
            [7] => AKU SUKA MUSIK JAZZ
            [8] => KAMU SUKA MUSIK
            [9] => GANTI TOPIK
            [10] => KAMU SUKA MUSIK
        )

    [time_start] => 1761985885.5112
    [user_say] => Array
        (
            [1] => SIAPA NAMAKU
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

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

    [parsed_template] => Array
        (
            [1] => Nama kamu dannu, kan? Aku ingat!
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <condition name="namaku" value="unknown"> <li>Kamu belum memberitahuku namamu. Coba ketik "Namaku (nama kamu)".</li> </condition> <condition> <li>Nama kamu <get name="namaku"/>, kan? Aku ingat!</li> </condition>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"siapa namaku","botsay":"Nama kamu dannu, kan? Aku ingat!","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":"siapa namaku","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":"333","bot_id":"1","pattern":"SIAPA NAMAKU","thatpattern":"","topic":"","filename":"bot.aiml","template":"<condition name=\"namaku\" value=\"unknown\">\n            <li>Kamu belum memberitahuku namamu. Coba ketik \"Namaku (nama kamu)\".<\/li>\n        <\/condition>\n        <condition>\n            <li>Nama kamu <get name=\"namaku\"\/>, kan? Aku ingat!<\/li>\n        <\/condition>","score":262,"current_that":"oke udahan dulu ya ngobrolin musiknya mau bahas apa kita sekarang","aiml_id":"333","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: namaku (2 points)"}}}
)

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