01-11-2025 15:31:16.98198[0][4] - Elapsed time: 4.590 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:16.98228[4][4] - Elapsed time: 0.297 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
01-11-2025 15:31:16.98253[4][4] - Elapsed time: 0.255 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
01-11-2025 15:31:16.98265[4][4] - Elapsed time: 0.116 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
01-11-2025 15:31:16.98310[4][4] - Elapsed time: 0.455 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
01-11-2025 15:31:16.98311[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
01-11-2025 15:31:16.98324[1][4] - Elapsed time: 0.123 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:16.98358[0][4] - Elapsed time: 0.347 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = c2e9d75fa61d0f8f404b30f6704b24cf 
-----------------------
01-11-2025 15:31:16.98360[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'oke ganti topik'. 
-----------------------
01-11-2025 15:31:16.98362[4][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
01-11-2025 15:31:16.98363[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
01-11-2025 15:31:16.98363[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:16.98394[4][4] - Elapsed time: 0.301 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: d691a9f1d78e60289ed8ed3fa176672d 
-----------------------
01-11-2025 15:31:16.98395[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
01-11-2025 15:31:16.98396[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:16.98429[2][4] - Elapsed time: 0.335 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
01-11-2025 15:31:16.98430[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
01-11-2025 15:31:16.98459[3][4] - Elapsed time: 0.289 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:16.98486[2][4] - Elapsed time: 0.272 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
01-11-2025 15:31:16.98491[2][4] - Elapsed time: 0.051 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on oke. 
-----------------------
01-11-2025 15:31:16.98493[2][4] - Elapsed time: 0.012 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
01-11-2025 15:31:16.98536[4][4] - Elapsed time: 0.432 milliseconds
[spell_checker.php][spell_check][84]
Misspelling found! Replaced oke with ok. 
-----------------------
01-11-2025 15:31:16.98537[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
01-11-2025 15:31:16.98538[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on ganti. 
-----------------------
01-11-2025 15:31:16.98540[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
01-11-2025 15:31:16.98541[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on topik. 
-----------------------
01-11-2025 15:31:16.98542[4][4] - Elapsed time: 0.016 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ok ganti topik' 
-----------------------
01-11-2025 15:31:16.98556[4][4] - Elapsed time: 0.133 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:31:16.98557[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: OK GANTI TOPIK
Convo id: c2e9d75fa61d0f8f404b30f6704b24cf
Bot id: 1
Format: json 
-----------------------
01-11-2025 15:31:16.98558[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
01-11-2025 15:31:16.98558[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
01-11-2025 15:31:16.98559[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 4 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
01-11-2025 15:31:16.98595[1][4] - Elapsed time: 0.360 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => siapa namaku
    [1] => aku suka musik jazz
    [2] => aku mau ngobrolin musik
    [3] => aku suka musik jazz
    [4] => kamu suka musik
    [5] => ganti topik
    [6] => kamu suka musik
    [7] => musik
    [8] => sudah cukup
    [9] => kamu suka musik
)
 
-----------------------
01-11-2025 15:31:16.98596[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
01-11-2025 15:31:16.98598[1][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
    [1] => Oh, kamu suka jazz ya! Keren. Siapa artis jazz favoritmu?
    [2] => Asyik! Musik emang seru. Kita mulai dari mana? Mau bahas genre atau artis favoritmu?
    [3] => Hmm, bisa diulangi dengan kalimat lain?
    [4] => Hmm, bisa diulangi dengan kalimat lain?
    [5] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
    [6] => Aku masih belajar nih. Coba tanya yang lain.
    [7] => Aku masih belajar nih. Coba tanya yang lain.
    [8] => Kita bahkan belum mulai topik hehe. Mau bahas apa?
    [9] => Maaf, dannu, aku nggak ngerti maksud kamu.
)
 
-----------------------
01-11-2025 15:31:16.98600[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:31:16.98600[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf
    [1] =>  dannu
    [2] =>  aku nggak ngerti maksud kamu
    [3] => 
)

 
-----------------------
01-11-2025 15:31:16.98601[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:16.98601[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Maaf dannu aku nggak ngerti maksud kamu ' 
-----------------------
01-11-2025 15:31:16.98602[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf dannu aku nggak ngerti maksud kamu ' 
-----------------------
01-11-2025 15:31:16.98603[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf dannu aku nggak ngerti maksud kamu ' 
-----------------------
01-11-2025 15:31:16.98604[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF DANNU AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
01-11-2025 15:31:16.98604[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF DANNU AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
01-11-2025 15:31:16.98605[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF DANNU AKU NGGAK NGERTI MAKSUD KAMU' to the front of the [that] array 
-----------------------
01-11-2025 15:31:16.98607[4][4] - Elapsed time: 0.026 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
01-11-2025 15:31:16.98614[4][4] - Elapsed time: 0.067 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF DANNU AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
01-11-2025 15:31:16.98615[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'MAAF DANNU AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
01-11-2025 15:31:16.98616[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF DANNU AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
01-11-2025 15:31:16.98617[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF DANNU AKU NGGAK NGERTI MAKSUD KAMU' 
-----------------------
01-11-2025 15:31:16.98618[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:16.98618[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:16.98619[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:16.98619[4][4] - Elapsed time: 0.007 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:16.98620[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:16.98621[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Kita bahkan belum mulai topik hehe Mau bahas apa ' 
-----------------------
01-11-2025 15:31:16.98621[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:16.98622[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:16.98622[2][4] - Elapsed time: 0.006 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:16.98623[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:16.98624[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:31:16.98624[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:31:16.98625[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:16.98626[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:16.98626[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:16.98627[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:16.98627[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:16.98628[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:16.98628[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:16.98629[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:16.98630[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:16.98630[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:16.98631[4][4] - Elapsed time: 0.008 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:16.98632[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:16.98632[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:16.98633[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:16.98633[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:16.98634[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:16.98635[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:16.98635[4][4] - Elapsed time: 0.005 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:16.98636[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:16.98636[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:16.98637[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:16.98638[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:16.98638[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:16.98639[4][4] - Elapsed time: 0.008 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:16.98640[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:16.98640[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MASIH BELAJAR NIH COBA TANYA YANG LAIN' 
-----------------------
01-11-2025 15:31:16.98641[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:16.98641[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:16.98642[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:16.98642[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:16.98644[4][4] - Elapsed time: 0.012 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:16.98644[4][4] - Elapsed time: 0.006 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:16.98645[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:16.98646[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:16.98646[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:16.98647[2][4] - Elapsed time: 0.009 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:16.98649[4][4] - Elapsed time: 0.016 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:16.98649[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:31:16.98650[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KITA BAHKAN BELUM MULAI TOPIK HEHE MAU BAHAS APA' 
-----------------------
01-11-2025 15:31:16.98650[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:16.98651[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:16.98652[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:16.98652[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:16.98653[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:16.98653[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:16.98654[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:31:16.98655[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:16.98655[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:16.98655[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:16.98657[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:31:16.98657[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:31:16.98658[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:16.98658[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:16.98659[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:16.98660[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:16.98660[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:16.98661[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:16.98661[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:16.98662[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Hmm bisa diulangi dengan kalimat lain ' 
-----------------------
01-11-2025 15:31:16.98662[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:16.98663[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:16.98663[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:16.98664[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:31:16.98665[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HMM BISA DIULANGI DENGAN KALIMAT LAIN' 
-----------------------
01-11-2025 15:31:16.98666[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:16.98666[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:16.98667[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:16.98667[2][4] - Elapsed time: 0.005 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:16.98669[4][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:31:16.98670[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Asyik Musik emang seru Kita mulai dari mana Mau bahas genre atau artis favoritmu ' 
-----------------------
01-11-2025 15:31:16.98670[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:16.98671[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:16.98672[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:16.98672[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:16.98673[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:16.98675[4][4] - Elapsed time: 0.023 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:16.98676[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:16.98676[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:16.98677[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:16.98678[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:16.98678[2][4] - Elapsed time: 0.005 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:16.98679[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:16.98679[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:16.98680[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:16.98680[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:16.98681[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:16.98681[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:16.98682[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' to the front of the [that] array 
-----------------------
01-11-2025 15:31:16.98683[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:16.98683[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:31:16.98684[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OH KAMU SUKA JAZZ YA KEREN SIAPA ARTIS JAZZ FAVORITMU' 
-----------------------
01-11-2025 15:31:16.98685[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:16.98685[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:16.98686[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:16.98686[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:16.98687[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:16.98687[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:16.98688[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:16.98689[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:16.98689[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:16.98690[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' to the front of the [that] array 
-----------------------
01-11-2025 15:31:16.98691[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:31:16.98691[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:16.98692[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:16.98692[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:16.98693[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
01-11-2025 15:31:16.98694[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:31:16.98695[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:16.98695[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:16.98696[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:16.98696[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:16.98697[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka musik' 
-----------------------
01-11-2025 15:31:16.98698[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:31:16.98698[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:31:16.98699[2][4] - Elapsed time: 0.006 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:16.98699[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
01-11-2025 15:31:16.98700[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:16.98701[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => sudah cukup
)

 
-----------------------
01-11-2025 15:31:16.98701[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:16.98702[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'sudah cukup' 
-----------------------
01-11-2025 15:31:16.98702[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'sudah cukup' 
-----------------------
01-11-2025 15:31:16.98703[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'sudah cukup' 
-----------------------
01-11-2025 15:31:16.98704[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SUDAH CUKUP' 
-----------------------
01-11-2025 15:31:16.98704[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SUDAH CUKUP' 
-----------------------
01-11-2025 15:31:16.98705[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SUDAH CUKUP' to the front of the [input] array 
-----------------------
01-11-2025 15:31:16.98705[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:16.98706[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => musik
)

 
-----------------------
01-11-2025 15:31:16.98708[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
01-11-2025 15:31:16.98708[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'musik' 
-----------------------
01-11-2025 15:31:16.98709[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'musik' 
-----------------------
01-11-2025 15:31:16.98709[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'musik' 
-----------------------
01-11-2025 15:31:16.98710[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MUSIK' 
-----------------------
01-11-2025 15:31:16.98711[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MUSIK' 
-----------------------
01-11-2025 15:31:16.98711[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'MUSIK' to the front of the [input] array 
-----------------------
01-11-2025 15:31:16.98712[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:16.98712[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:16.98713[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:16.98713[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:16.98714[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:16.98714[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka musik' 
-----------------------
01-11-2025 15:31:16.98715[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:31:16.98715[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:31:16.98716[2][4] - Elapsed time: 0.008 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:16.98717[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:16.98718[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ganti topik
)

 
-----------------------
01-11-2025 15:31:16.98718[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:16.98719[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:16.98719[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'ganti topik' 
-----------------------
01-11-2025 15:31:16.98720[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'ganti topik' 
-----------------------
01-11-2025 15:31:16.98721[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:31:16.98721[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'GANTI TOPIK' 
-----------------------
01-11-2025 15:31:16.98722[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:16.98722[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:16.98723[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:16.98723[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:16.98724[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:16.98724[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:16.98725[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kamu suka musik' 
-----------------------
01-11-2025 15:31:16.98726[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:31:16.98726[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'KAMU SUKA MUSIK' 
-----------------------
01-11-2025 15:31:16.98727[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:16.98727[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:16.98728[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku suka musik jazz
)

 
-----------------------
01-11-2025 15:31:16.98728[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:16.98729[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku suka musik jazz' 
-----------------------
01-11-2025 15:31:16.98729[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:16.98730[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'aku suka musik jazz' 
-----------------------
01-11-2025 15:31:16.98731[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:16.98731[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:16.98732[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:16.98733[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:16.98733[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku mau ngobrolin musik
)

 
-----------------------
01-11-2025 15:31:16.98734[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:16.98734[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku mau ngobrolin musik' 
-----------------------
01-11-2025 15:31:16.98735[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:16.98735[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:16.98736[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:16.98736[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:16.98737[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:16.98738[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:31:16.98739[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => aku suka musik jazz
)

 
-----------------------
01-11-2025 15:31:16.98739[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:16.98740[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'aku suka musik jazz' 
-----------------------
01-11-2025 15:31:16.98740[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:16.98741[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:16.98741[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU SUKA MUSIK JAZZ' 
-----------------------
01-11-2025 15:31:16.98742[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:16.98742[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:16.98743[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
01-11-2025 15:31:16.98744[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:16.98744[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:16.98746[4][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa namaku' 
-----------------------
01-11-2025 15:31:16.98747[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa namaku' 
-----------------------
01-11-2025 15:31:16.98747[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa namaku' 
-----------------------
01-11-2025 15:31:16.98748[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:31:16.98748[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMAKU' 
-----------------------
01-11-2025 15:31:16.98750[2][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMAKU' to the front of the [input] array 
-----------------------
01-11-2025 15:31:16.98800[2][4] - Elapsed time: 0.499 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
01-11-2025 15:31:16.98801[3][4] - Elapsed time: 0.013 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:16.98824[4][4] - Elapsed time: 0.229 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
01-11-2025 15:31:16.98825[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
01-11-2025 15:31:16.98826[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
01-11-2025 15:31:16.98826[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = OK GANTI TOPIK: raw say = ok ganti topik 
-----------------------
01-11-2025 15:31:16.98827[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
01-11-2025 15:31:16.98828[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OK GANTI TOPIK' to the front of the [user_say] array 
-----------------------
01-11-2025 15:31:16.98828[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
01-11-2025 15:31:16.98829[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = ok ganti topik, RAW say = ok ganti topik 
-----------------------
01-11-2025 15:31:16.98830[2][4] - Elapsed time: 0.006 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:16.98831[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
01-11-2025 15:31:16.98831[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:31:16.98832[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:31:16.98834[4][4] - Elapsed time: 0.013 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:16.98855[4][4] - Elapsed time: 0.215 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
01-11-2025 15:31:16.98857[3][4] - Elapsed time: 0.019 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 (
        'OK GANTI TOPIK' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
01-11-2025 15:31:16.98879[2][4] - Elapsed time: 0.217 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
01-11-2025 15:31:16.98880[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
01-11-2025 15:31:16.98880[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
01-11-2025 15:31:16.98899[4][4] - Elapsed time: 0.190 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'MUSIK' 
-----------------------
01-11-2025 15:31:16.98901[3][4] - Elapsed time: 0.017 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 (
        'OK GANTI TOPIK' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'MUSIK' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
01-11-2025 15:31:16.98939[3][4] - Elapsed time: 0.378 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
01-11-2025 15:31:16.98940[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (35) potential AIML matches 
-----------------------
01-11-2025 15:31:16.98966[1][4] - Elapsed time: 0.263 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = MAAF AKU KURANG PAHAM BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ 
-----------------------
01-11-2025 15:31:16.98967[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 35 rows to unset bad matches 
-----------------------
01-11-2025 15:31:16.98968[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'OK GANTI TOPIK' 
-----------------------
01-11-2025 15:31:16.99057[4][4] - Elapsed time: 0.890 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
01-11-2025 15:31:16.99059[4][4] - Elapsed time: 0.020 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
01-11-2025 15:31:16.99080[4][4] - Elapsed time: 0.217 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 329
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => MUSIK
            [filename] => bot.aiml
            [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
            [score] => 302
            [current_that] => maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz
            [aiml_id] => 329
            [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 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] => maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz
            [aiml_id] => 366
            [track_score] => current bot (250 points), no topic to match (0 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

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

Array
(
    [0] => Array
        (
            [id] => 329
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => MUSIK
            [filename] => bot.aiml
            [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
            [score] => 302
            [current_that] => maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz
            [aiml_id] => 329
            [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)

 
-----------------------
01-11-2025 15:31:16.99109[4][4] - Elapsed time: 0.266 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 329
    [bot_id] => 1
    [pattern] => *
    [thatpattern] => 
    [topic] => MUSIK
    [filename] => bot.aiml
    [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
    [score] => 302
    [current_that] => maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz
    [aiml_id] => 329
    [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
)
 
-----------------------
01-11-2025 15:31:16.99109[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
01-11-2025 15:31:16.99111[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_convo_var][727]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] 
-----------------------
01-11-2025 15:31:16.99112[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_convo_var][757]
Get from ConvoArr [conversation][default_aiml_pattern][1][1] FOUND: ConvoArr Value = 'RANDOM PICKUP LINE' 
-----------------------
01-11-2025 15:31:16.99132[2][4] - Elapsed time: 0.205 milliseconds
[misc_functions.php][addUnknownInput][232]
Entry successfully added! 
-----------------------
01-11-2025 15:31:16.99133[1][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_aiml_to_parse][944]
Added input 'OK GANTI TOPIK' to the unknown_inputs table. 
-----------------------
01-11-2025 15:31:16.99134[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:329 (*) 
-----------------------
01-11-2025 15:31:16.99134[3][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
01-11-2025 15:31:16.99135[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = '*' 
-----------------------
01-11-2025 15:31:16.99136[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
01-11-2025 15:31:16.99136[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][set_wildcards][310]
RegEx string = ~(.+)$~siuU: Searching ok ganti topik for a match. 
-----------------------
01-11-2025 15:31:16.99139[2][4] - Elapsed time: 0.029 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => ok ganti topik
        )

    [1] => Array
        (
            [0] => ok ganti topik
        )

)
 
-----------------------
01-11-2025 15:31:16.99140[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'ok ganti topik' to the stars stack. 
-----------------------
01-11-2025 15:31:16.99141[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => ok ganti topik
)
 
-----------------------
01-11-2025 15:31:16.99141[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:16.99142[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
01-11-2025 15:31:16.99144[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 329
    [category_id] => 329
    [html_template] => 
    [lookingfor] => OK GANTI TOPIK
    [pattern] => *
    [score] => 302
    [stars] => Array
        (
            [1] => ok ganti topik
        )

    [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => ok ganti topik
)
 
-----------------------
01-11-2025 15:31:16.99145[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
01-11-2025 15:31:16.99146[2][4] - Elapsed time: 0.009 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:16.99151[4][4] - Elapsed time: 0.054 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><random><li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li><li><text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text></li><li><text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text></li></random></template> 
-----------------------
01-11-2025 15:31:16.99164[2][4] - Elapsed time: 0.132 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:31:16.99169[4][4] - Elapsed time: 0.052 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><random><li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li><li><text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text></li><li><text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text></li></random></template>
 
-----------------------
01-11-2025 15:31:16.99170[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
01-11-2025 15:31:16.99172[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:31:16.99174[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element random at level 1. element XML = <random><li><text>Kita lagi asyik ngobrolin musik nih, </text><get name="namaku"/><text>. Mau bahas genre apa lagi?</text></li><li><text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text></li><li><text>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</text></li></random> 
-----------------------
01-11-2025 15:31:16.99176[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_random_tag does exist. Processing now. 
-----------------------
01-11-2025 15:31:16.99176[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element random to the parse_random_tag function 
-----------------------
01-11-2025 15:31:16.99177[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][496]
Parsing a RANDOM tag, or doing some stargazing, or fomenting chaos, or... 
-----------------------
01-11-2025 15:31:16.99182[4][4] - Elapsed time: 0.052 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][498]
Pick array:
Array
(
    [0] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Kita lagi asyik ngobrolin musik nih, 
                    [1] => . Mau bahas genre apa lagi?
                )

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

                )

        )

    [1] => SimpleXMLElement Object
        (
            [text] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
        )

    [2] => SimpleXMLElement Object
        (
            [text] => Ngomongin musik aja yuk. Siapa penyanyi favoritmu?
        )

)
 
-----------------------
01-11-2025 15:31:16.99183[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_random_tag][500]
Picking option #1 from random tag.
 
-----------------------
01-11-2025 15:31:16.99183[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:31:16.99184[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element li at level 2. element XML = <li><text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text></li> 
-----------------------
01-11-2025 15:31:16.99185[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_li_tag does not exist. Parsing tag as text. 
-----------------------
01-11-2025 15:31:16.99186[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
01-11-2025 15:31:16.99186[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</text> 
-----------------------
01-11-2025 15:31:16.99187[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
01-11-2025 15:31:16.99187[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:16.99188[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:16.99189[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?' to the response array. tag name is text 
-----------------------
01-11-2025 15:31:16.99189[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:16.99190[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
)

 
-----------------------
01-11-2025 15:31:16.99190[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:16.99191[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:16.99192[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?' to the response array. tag name is li. 
-----------------------
01-11-2025 15:31:16.99192[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:16.99193[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
)

 
-----------------------
01-11-2025 15:31:16.99193[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:16.99194[4][4] - Elapsed time: 0.005 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:16.99194[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parse_random_tag][503]
Chose Random Response of 'Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?' for output. 
-----------------------
01-11-2025 15:31:16.99195[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?' to the response array. tag name is random 
-----------------------
01-11-2025 15:31:16.99196[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:16.99196[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
)

 
-----------------------
01-11-2025 15:31:16.99197[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:16.99197[4][4] - Elapsed time: 0.005 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:16.99198[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?' to the response array. tag name is template. 
-----------------------
01-11-2025 15:31:16.99199[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:16.99200[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
)

 
-----------------------
01-11-2025 15:31:16.99200[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:16.99201[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:16.99201[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: Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz? 
-----------------------
01-11-2025 15:31:16.99202[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
01-11-2025 15:31:16.99203[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
01-11-2025 15:31:16.99203[2][4] - Elapsed time: 0.006 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_raw] array 
-----------------------
01-11-2025 15:31:16.99204[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
01-11-2025 15:31:16.99206[2][4] - Elapsed time: 0.019 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:16.99207[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Maaf, aku kurang paham.' 
-----------------------
01-11-2025 15:31:16.99208[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Maaf, aku kurang paham.' 
-----------------------
01-11-2025 15:31:16.99209[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAAF AKU KURANG PAHAM' 
-----------------------
01-11-2025 15:31:16.99210[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAAF AKU KURANG PAHAM' 
-----------------------
01-11-2025 15:31:16.99210[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?' 
-----------------------
01-11-2025 15:31:16.99211[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?' 
-----------------------
01-11-2025 15:31:16.99212[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:31:16.99212[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BALIK KE TOPIK MUSIK YA KAMU SUKA POP ROCK ATAU JAZZ' 
-----------------------
01-11-2025 15:31:16.99213[2][4] - Elapsed time: 0.010 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 [parsed_template] array 
-----------------------
01-11-2025 15:31:16.99214[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:16.99215[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>' to the front of the [template] array 
-----------------------
01-11-2025 15:31:16.99216[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
01-11-2025 15:31:16.99217[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
01-11-2025 15:31:16.99218[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 ,
      'ok ganti topik',
      'Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?',
      4,
      'd691a9f1d78e60289ed8ed3fa176672d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
01-11-2025 15:31:16.99413[4][4] - Elapsed time: 1.950 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
01-11-2025 15:31:16.99430[3][4] - Elapsed time: 0.167 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:16.99452[2][4] - Elapsed time: 0.228 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
01-11-2025 15:31:16.99453[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
01-11-2025 15:31:16.99454[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
01-11-2025 15:31:16.99457[4][4] - Elapsed time: 0.026 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"ok ganti topik","botsay":"Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?","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":"ok ganti topik","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":"329","bot_id":"1","pattern":"*","thatpattern":"","topic":"MUSIK","filename":"bot.aiml","template":"<random>\n                <li>Kita lagi asyik ngobrolin musik nih, <get name=\"namaku\"\/>. Mau bahas genre apa lagi?<\/li>\n                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?<\/li>\n                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?<\/li>\n            <\/random>","score":302,"current_that":"maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz","aiml_id":"329","track_score":"current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)"}}} 
-----------------------
01-11-2025 15:31:16.99480[2][4] - Elapsed time: 0.234 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
01-11-2025 15:31:16.99484[0][4] - Elapsed time: 0.035 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 17.420 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => ok ganti topik
    [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] => ok ganti topik
            [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] => 329
                    [bot_id] => 1
                    [pattern] => *
                    [thatpattern] => 
                    [topic] => MUSIK
                    [filename] => bot.aiml
                    [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
                    [score] => 302
                    [current_that] => maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz
                    [aiml_id] => 329
                    [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => ok ganti topik
            [lookingfor] => OK GANTI TOPIK
            [category_id] => 329
            [pattern] => *
            [thatpattern] => 
            [template] => <random>
                <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li>
                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li>
                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li>
            </random>
            [html_template] => 
            [topic] => MUSIK
            [score] => 302
            [aiml_id] => 329
            [stars] => Array
                (
                    [1] => ok ganti topik
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
        )

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

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

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

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

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

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

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

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

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

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

            [10] => Array
                (
                    [0] => Maaf, dannu, aku nggak ngerti maksud kamu
                    [1] => 
                )

        )

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

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

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

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

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

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

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

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

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

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

            [12] => 
        )

    [input] => Array
        (
            [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
            [10] => SUDAH CUKUP
        )

    [time_start] => 1761985876.9774
    [user_say] => Array
        (
            [1] => OK GANTI TOPIK
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

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

    [parsed_template] => Array
        (
            [1] => Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <random> <li>Kita lagi asyik ngobrolin musik nih, <get name="namaku"/>. Mau bahas genre apa lagi?</li> <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?</li> <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?</li> </random>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"d691a9f1d78e60289ed8ed3fa176672d","usersay":"ok ganti topik","botsay":"Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?","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":"ok ganti topik","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":"329","bot_id":"1","pattern":"*","thatpattern":"","topic":"MUSIK","filename":"bot.aiml","template":"<random>\n                <li>Kita lagi asyik ngobrolin musik nih, <get name=\"namaku\"\/>. Mau bahas genre apa lagi?<\/li>\n                <li>Maaf, aku kurang paham. Balik ke topik musik ya, kamu suka Pop, Rock, atau Jazz?<\/li>\n                <li>Ngomongin musik aja yuk. Siapa penyanyi favoritmu?<\/li>\n            <\/random>","score":302,"current_that":"maaf aku kurang paham balik ke topik musik ya kamu suka pop rock atau jazz","aiml_id":"329","track_score":"current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), pattern star match (1 points)"}}}
)

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