17-09-2025 17:53:32.90203[0][4] - Elapsed time: 2.379 milliseconds
[conversation_start.php][Called outside of function][56]
Conversation starting. Current system specs:
  Program O version:            2.6.11
  Server Software:              Apache/2.4.51 (Win64) OpenSSL/1.1.1l PHP/7.3.33
  PHP Version:                  7.3.33
  OS:                           Windows NT
  OS Version:                   build 22631 (Windows 10)
  MySQL Version:                10.4.22-MariaDB
  Multi-byte functions enabled: true 
-----------------------
17-09-2025 17:53:32.90571[4][4] - Elapsed time: 3.676 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
17-09-2025 17:53:32.90745[4][4] - Elapsed time: 1.741 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
17-09-2025 17:53:32.90778[4][4] - Elapsed time: 0.329 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
17-09-2025 17:53:32.90881[4][4] - Elapsed time: 1.037 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
17-09-2025 17:53:32.90883[4][4] - Elapsed time: 0.018 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
17-09-2025 17:53:32.90929[1][4] - Elapsed time: 0.458 milliseconds
[conversation_start.php][Called outside of function][118]
PHP ERROR [Warning] -session_id(): Cannot change session id when session is active in C:\xmpp\htdocs\Program-O-master\chatbot\conversation_start.php on Line 118 
-----------------------
17-09-2025 17:53:32.90969[0][4] - Elapsed time: 0.397 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 8hi0nl0kkv4mqjku5s99cje7od 
-----------------------
17-09-2025 17:53:32.90970[4][4] - Elapsed time: 0.015 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'semester berapa sekarang'. 
-----------------------
17-09-2025 17:53:32.90971[4][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
17-09-2025 17:53:32.90972[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
17-09-2025 17:53:32.90973[3][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `Syifa`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
17-09-2025 17:53:32.91002[4][4] - Elapsed time: 0.292 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value:  
-----------------------
17-09-2025 17:53:32.91003[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
17-09-2025 17:53:32.91004[3][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][check_set_bot][599]
Making sure the bot exists. SQL = SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1 AND `bot_active` = 1; 
-----------------------
17-09-2025 17:53:32.91025[2][4] - Elapsed time: 0.208 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
17-09-2025 17:53:32.91026[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
17-09-2025 17:53:32.91044[3][4] - Elapsed time: 0.175 milliseconds
[intialise_conversation.php][check_set_user][705]
Loading client properties from the DB - sql:
SELECT `name`, `value` FROM `Syifa`.`client_properties` WHERE `user_id` = 6 AND `bot_id` = 1; 
-----------------------
17-09-2025 17:53:32.91056[2][4] - Elapsed time: 0.126 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
17-09-2025 17:53:32.91058[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on semester. 
-----------------------
17-09-2025 17:53:32.91059[2][4] - Elapsed time: 0.009 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
17-09-2025 17:53:32.91077[2][4] - Elapsed time: 0.189 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 17:53:32.91079[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on berapa. 
-----------------------
17-09-2025 17:53:32.91080[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
17-09-2025 17:53:32.91080[2][4] - Elapsed time: 0.008 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on sekarang. 
-----------------------
17-09-2025 17:53:32.91081[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'semester berapa sekarang' 
-----------------------
17-09-2025 17:53:32.91083[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMESTER BERAPA SEKARANG' 
-----------------------
17-09-2025 17:53:32.91083[2][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: SEMESTER BERAPA SEKARANG
Convo id: 8hi0nl0kkv4mqjku5s99cje7od
Bot id: 1
Format:  
-----------------------
17-09-2025 17:53:32.91084[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
17-09-2025 17:53:32.91084[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
17-09-2025 17:53:32.91085[3][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `Syifa`.`conversation_log` WHERE `user_id` = 6 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
17-09-2025 17:53:32.91101[1][4] - Elapsed time: 0.156 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => semester berapa sekarang
    [1] => jurusannya apa
    [2] => jurusannya apa
    [3] => jurusannya apa
    [4] => jurusannya apa
    [5] => Ceritakan tentang Kuliah kamu
    [6] => Ceritakan tentang Kuliah kamu
    [7] => Siapa nama saya
    [8] => Siapa nama saya
    [9] => Nama saya Teo
)
 
-----------------------
17-09-2025 17:53:32.91101[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
17-09-2025 17:53:32.91102[1][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => Sekarang aku di semester 3.
    [1] => Aku mengambil jurusan Sistem Informasi.
    [2] => Aku mengambil jurusan Sistem Informasi.
    [3] => Aku mengambil jurusan Sistem Informasi.
    [4] => Aku mengambil jurusan Sistem Informasi.
    [5] => Tentu. Aku kuliah di Universitas Katolik Soegijapranata.  Ada lagi yang ingin kamu tanyakan seputar kuliahku?
    [6] => Tentu. Aku kuliah di Universitas Katolik Soegijapranata.  Ada lagi yang ingin kamu tanyakan seputar kuliahku?
    [7] => Tentu aku tahu, nama kamu Teo. Benar kan?
    [8] => Tentu aku tahu, nama kamu Teo. Benar kan?
    [9] => Oke, aku akan ingat namamu. Halo Teo !
)
 
-----------------------
17-09-2025 17:53:32.91103[2][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91104[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke
    [1] =>  aku akan ingat namamu
    [2] =>  Halo Teo 
    [3] => 
)

 
-----------------------
17-09-2025 17:53:32.91104[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91105[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke aku akan ingat namamu Halo Teo ' 
-----------------------
17-09-2025 17:53:32.91105[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke aku akan ingat namamu Halo Teo ' 
-----------------------
17-09-2025 17:53:32.91106[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke aku akan ingat namamu Halo Teo ' 
-----------------------
17-09-2025 17:53:32.91107[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE AKU AKAN INGAT NAMAMU HALO TEO' 
-----------------------
17-09-2025 17:53:32.91107[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE AKU AKAN INGAT NAMAMU HALO TEO' 
-----------------------
17-09-2025 17:53:32.91108[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'OKE AKU AKAN INGAT NAMAMU HALO TEO' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91108[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
17-09-2025 17:53:32.91110[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'OKE AKU AKAN INGAT NAMAMU HALO TEO' 
-----------------------
17-09-2025 17:53:32.91110[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'OKE AKU AKAN INGAT NAMAMU HALO TEO' 
-----------------------
17-09-2025 17:53:32.91111[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE AKU AKAN INGAT NAMAMU HALO TEO' 
-----------------------
17-09-2025 17:53:32.91111[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE AKU AKAN INGAT NAMAMU HALO TEO' 
-----------------------
17-09-2025 17:53:32.91112[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91113[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tentu aku tahu
    [1] =>  nama kamu Teo
    [2] =>  Benar kan
    [3] => 
)

 
-----------------------
17-09-2025 17:53:32.91113[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91114[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tentu aku tahu nama kamu Teo Benar kan ' 
-----------------------
17-09-2025 17:53:32.91114[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Tentu aku tahu nama kamu Teo Benar kan ' 
-----------------------
17-09-2025 17:53:32.91114[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tentu aku tahu nama kamu Teo Benar kan ' 
-----------------------
17-09-2025 17:53:32.91115[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91115[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91116[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91117[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91117[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91118[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91118[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91119[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91119[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tentu aku tahu
    [1] =>  nama kamu Teo
    [2] =>  Benar kan
    [3] => 
)

 
-----------------------
17-09-2025 17:53:32.91120[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91120[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tentu aku tahu nama kamu Teo Benar kan ' 
-----------------------
17-09-2025 17:53:32.91120[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Tentu aku tahu nama kamu Teo Benar kan ' 
-----------------------
17-09-2025 17:53:32.91121[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tentu aku tahu nama kamu Teo Benar kan ' 
-----------------------
17-09-2025 17:53:32.91121[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91122[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91122[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91123[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91123[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91124[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91124[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU TAHU NAMA KAMU TEO BENAR KAN' 
-----------------------
17-09-2025 17:53:32.91125[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91125[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tentu
    [1] =>  Aku kuliah di Universitas Katolik Soegijapranata
    [2] =>   Ada lagi yang ingin kamu tanyakan seputar kuliahku
    [3] => 
)

 
-----------------------
17-09-2025 17:53:32.91126[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91126[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tentu Aku kuliah di Universitas Katolik Soegijapranata  Ada lagi yang ingin kamu tanyakan seputar kuliahku ' 
-----------------------
17-09-2025 17:53:32.91127[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Tentu Aku kuliah di Universitas Katolik Soegijapranata  Ada lagi yang ingin kamu tanyakan seputar kuliahku ' 
-----------------------
17-09-2025 17:53:32.91127[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tentu Aku kuliah di Universitas Katolik Soegijapranata  Ada lagi yang ingin kamu tanyakan seputar kuliahku ' 
-----------------------
17-09-2025 17:53:32.91128[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91128[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91129[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91129[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91130[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91130[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91131[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91131[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91132[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Tentu
    [1] =>  Aku kuliah di Universitas Katolik Soegijapranata
    [2] =>   Ada lagi yang ingin kamu tanyakan seputar kuliahku
    [3] => 
)

 
-----------------------
17-09-2025 17:53:32.91132[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91133[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Tentu Aku kuliah di Universitas Katolik Soegijapranata  Ada lagi yang ingin kamu tanyakan seputar kuliahku ' 
-----------------------
17-09-2025 17:53:32.91133[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Tentu Aku kuliah di Universitas Katolik Soegijapranata  Ada lagi yang ingin kamu tanyakan seputar kuliahku ' 
-----------------------
17-09-2025 17:53:32.91133[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Tentu Aku kuliah di Universitas Katolik Soegijapranata  Ada lagi yang ingin kamu tanyakan seputar kuliahku ' 
-----------------------
17-09-2025 17:53:32.91134[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91135[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91135[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91136[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91136[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91137[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91137[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU' 
-----------------------
17-09-2025 17:53:32.91138[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91138[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku mengambil jurusan Sistem Informasi
    [1] => 
)

 
-----------------------
17-09-2025 17:53:32.91138[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91139[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91139[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91140[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91140[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91141[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91141[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91142[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91142[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91143[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91143[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91144[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91144[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku mengambil jurusan Sistem Informasi
    [1] => 
)

 
-----------------------
17-09-2025 17:53:32.91145[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91145[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91145[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91146[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91146[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91147[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91147[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91148[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91148[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91149[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91149[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91150[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91150[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku mengambil jurusan Sistem Informasi
    [1] => 
)

 
-----------------------
17-09-2025 17:53:32.91150[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91151[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91151[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91152[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91153[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91153[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91153[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91154[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91154[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91155[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91155[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91156[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91156[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Aku mengambil jurusan Sistem Informasi
    [1] => 
)

 
-----------------------
17-09-2025 17:53:32.91157[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91157[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91158[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91158[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku mengambil jurusan Sistem Informasi ' 
-----------------------
17-09-2025 17:53:32.91159[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91159[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91159[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91160[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91160[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91161[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91161[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU MENGAMBIL JURUSAN SISTEM INFORMASI' 
-----------------------
17-09-2025 17:53:32.91162[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91162[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Sekarang aku di semester 3
    [1] => 
)

 
-----------------------
17-09-2025 17:53:32.91163[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91163[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Sekarang aku di semester 3 ' 
-----------------------
17-09-2025 17:53:32.91164[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Sekarang aku di semester 3 ' 
-----------------------
17-09-2025 17:53:32.91164[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Sekarang aku di semester 3 ' 
-----------------------
17-09-2025 17:53:32.91165[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEKARANG AKU DI SEMESTER 3' 
-----------------------
17-09-2025 17:53:32.91165[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEKARANG AKU DI SEMESTER 3' 
-----------------------
17-09-2025 17:53:32.91165[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SEKARANG AKU DI SEMESTER 3' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91166[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SEKARANG AKU DI SEMESTER 3' 
-----------------------
17-09-2025 17:53:32.91166[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SEKARANG AKU DI SEMESTER 3' 
-----------------------
17-09-2025 17:53:32.91167[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEKARANG AKU DI SEMESTER 3' 
-----------------------
17-09-2025 17:53:32.91167[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEKARANG AKU DI SEMESTER 3' 
-----------------------
17-09-2025 17:53:32.91168[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
17-09-2025 17:53:32.91168[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91169[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama saya Teo
)

 
-----------------------
17-09-2025 17:53:32.91169[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91170[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama saya Teo' 
-----------------------
17-09-2025 17:53:32.91170[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama saya Teo' 
-----------------------
17-09-2025 17:53:32.91171[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama saya Teo' 
-----------------------
17-09-2025 17:53:32.91171[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA TEO' 
-----------------------
17-09-2025 17:53:32.91172[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA TEO' 
-----------------------
17-09-2025 17:53:32.91172[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA TEO' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91173[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
17-09-2025 17:53:32.91173[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91174[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Siapa nama saya
)

 
-----------------------
17-09-2025 17:53:32.91174[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91175[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Siapa nama saya' 
-----------------------
17-09-2025 17:53:32.91175[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Siapa nama saya' 
-----------------------
17-09-2025 17:53:32.91175[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Siapa nama saya' 
-----------------------
17-09-2025 17:53:32.91176[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 17:53:32.91176[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 17:53:32.91177[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMA SAYA' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91177[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91178[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Siapa nama saya
)

 
-----------------------
17-09-2025 17:53:32.91178[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91179[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Siapa nama saya' 
-----------------------
17-09-2025 17:53:32.91179[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Siapa nama saya' 
-----------------------
17-09-2025 17:53:32.91179[4][4] - Elapsed time: 0.004 milliseconds  
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Siapa nama saya' 
-----------------------
17-09-2025 17:53:32.91180[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 17:53:32.91180[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA NAMA SAYA' 
-----------------------
17-09-2025 17:53:32.91181[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMA SAYA' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91181[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91182[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ceritakan tentang Kuliah kamu
)

 
-----------------------
17-09-2025 17:53:32.91182[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91183[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ceritakan tentang Kuliah kamu' 
-----------------------
17-09-2025 17:53:32.91183[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ceritakan tentang Kuliah kamu' 
-----------------------
17-09-2025 17:53:32.91184[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ceritakan tentang Kuliah kamu' 
-----------------------
17-09-2025 17:53:32.91184[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'CERITAKAN TENTANG KULIAH KAMU' 
-----------------------
17-09-2025 17:53:32.91185[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'CERITAKAN TENTANG KULIAH KAMU' 
-----------------------
17-09-2025 17:53:32.91185[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'CERITAKAN TENTANG KULIAH KAMU' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91185[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91186[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Ceritakan tentang Kuliah kamu
)

 
-----------------------
17-09-2025 17:53:32.91186[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91187[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Ceritakan tentang Kuliah kamu' 
-----------------------
17-09-2025 17:53:32.91187[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Ceritakan tentang Kuliah kamu' 
-----------------------
17-09-2025 17:53:32.91188[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Ceritakan tentang Kuliah kamu' 
-----------------------
17-09-2025 17:53:32.91188[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'CERITAKAN TENTANG KULIAH KAMU' 
-----------------------
17-09-2025 17:53:32.91189[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'CERITAKAN TENTANG KULIAH KAMU' 
-----------------------
17-09-2025 17:53:32.91189[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'CERITAKAN TENTANG KULIAH KAMU' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91189[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91190[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => jurusannya apa
)

 
-----------------------
17-09-2025 17:53:32.91190[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91191[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91191[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91192[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91192[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JURUSANNYA APA' 
-----------------------
17-09-2025 17:53:32.91193[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JURUSANNYA APA' 
-----------------------
17-09-2025 17:53:32.91193[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'JURUSANNYA APA' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91193[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91194[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => jurusannya apa
)

 
-----------------------
17-09-2025 17:53:32.91194[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91195[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91195[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91196[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91196[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JURUSANNYA APA' 
-----------------------
17-09-2025 17:53:32.91196[4][4] - Elapsed time: 0.003 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JURUSANNYA APA' 
-----------------------
17-09-2025 17:53:32.91197[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'JURUSANNYA APA' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91197[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91198[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => jurusannya apa
)

 
-----------------------
17-09-2025 17:53:32.91198[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91199[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91199[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91199[4][4] - Elapsed time: 0.004 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91200[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JURUSANNYA APA' 
-----------------------
17-09-2025 17:53:32.91200[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JURUSANNYA APA' 
-----------------------
17-09-2025 17:53:32.91201[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'JURUSANNYA APA' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91201[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91202[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => jurusannya apa
)

 
-----------------------
17-09-2025 17:53:32.91202[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91202[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91203[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91203[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'jurusannya apa' 
-----------------------
17-09-2025 17:53:32.91204[4][4] - Elapsed time: 0.004 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'JURUSANNYA APA' 
-----------------------
17-09-2025 17:53:32.91204[4][4] - Elapsed time: 0.004 milliseconds 
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'JURUSANNYA APA' 
-----------------------
17-09-2025 17:53:32.91205[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'JURUSANNYA APA' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91205[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91206[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => semester berapa sekarang
)

 
-----------------------
17-09-2025 17:53:32.91206[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91207[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'semester berapa sekarang' 
-----------------------
17-09-2025 17:53:32.91222[4][4] - Elapsed time: 0.152 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'semester berapa sekarang' 
-----------------------
17-09-2025 17:53:32.91222[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'semester berapa sekarang' 
-----------------------
17-09-2025 17:53:32.91223[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMESTER BERAPA SEKARANG' 
-----------------------
17-09-2025 17:53:32.91223[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEMESTER BERAPA SEKARANG' 
-----------------------
17-09-2025 17:53:32.91224[2][4] - Elapsed time: 0.004 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SEMESTER BERAPA SEKARANG' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91252[2][4] - Elapsed time: 0.285 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
17-09-2025 17:53:32.91254[3][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `Syifa`.`bots` WHERE bot_id = 1; 
-----------------------
17-09-2025 17:53:32.91280[4][4] - Elapsed time: 0.267 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
17-09-2025 17:53:32.91282[0][4] - Elapsed time: 0.016 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
17-09-2025 17:53:32.91283[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
17-09-2025 17:53:32.91283[0][4] - Elapsed time: 0.005 milliseconds 
[conversation_start.php][Called outside of function][235]
Say = SEMESTER BERAPA SEKARANG: raw say = semester berapa sekarang 
-----------------------
17-09-2025 17:53:32.91284[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
17-09-2025 17:53:32.91284[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SEMESTER BERAPA SEKARANG' to the front of the [user_say] array 
-----------------------
17-09-2025 17:53:32.91285[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
17-09-2025 17:53:32.91286[0][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = semester berapa sekarang, RAW say = semester berapa sekarang 
-----------------------
17-09-2025 17:53:32.91287[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'semester berapa sekarang' to the front of the [input] array 
-----------------------
17-09-2025 17:53:32.91287[4][4] - Elapsed time: 0.007 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
17-09-2025 17:53:32.91288[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SEMESTER BERAPA SEKARANG' 
-----------------------
17-09-2025 17:53:32.91289[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEMESTER BERAPA SEKARANG' 
-----------------------
17-09-2025 17:53:32.91289[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
17-09-2025 17:53:32.91306[4][4] - Elapsed time: 0.166 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
17-09-2025 17:53:32.91307[3][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `Syifa`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = ''
    AND (
        'SEMESTER BERAPA SEKARANG' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SEKARANG AKU DI SEMESTER 3' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 17:53:32.91319[2][4] - Elapsed time: 0.118 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
17-09-2025 17:53:32.91320[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
17-09-2025 17:53:32.91320[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
17-09-2025 17:53:32.91330[4][4] - Elapsed time: 0.096 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = 'KULIAH' 
-----------------------
17-09-2025 17:53:32.91331[3][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `Syifa`.`aiml` WHERE
    bot_id = 1 AND (
        'SEMESTER BERAPA SEKARANG' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'SEKARANG AKU DI SEMESTER 3' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR 'KULIAH' LIKE (REPLACE(REPLACE(`topic`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
17-09-2025 17:53:32.91348[3][4] - Elapsed time: 0.167 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
17-09-2025 17:53:32.91349[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (3) potential AIML matches 
-----------------------
17-09-2025 17:53:32.91358[1][4] - Elapsed time: 0.090 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = SEKARANG AKU DI SEMESTER 3 
-----------------------
17-09-2025 17:53:32.91358[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 3 rows to unset bad matches 
-----------------------
17-09-2025 17:53:32.91359[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'SEMESTER BERAPA SEKARANG' 
-----------------------
17-09-2025 17:53:32.91362[4][4] - Elapsed time: 0.028 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 1 relevant rows 
-----------------------
17-09-2025 17:53:32.91362[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
17-09-2025 17:53:32.91371[4][4] - Elapsed time: 0.091 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 54
            [bot_id] => 1
            [pattern] => SEMESTER BERAPA SEKARANG
            [thatpattern] => 
            [topic] => KULIAH
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Sekarang aku di semester 3.
            [score] => 314
            [current_that] => sekarang aku di semester 3
            [aiml_id] => 54
            [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: semester (2 points), direct word match: berapa (2 points), direct word match: sekarang (2 points)
        )

)
 
-----------------------
17-09-2025 17:53:32.91373[2][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 54
            [bot_id] => 1
            [pattern] => SEMESTER BERAPA SEKARANG
            [thatpattern] => 
            [topic] => KULIAH
            [filename] => Syifaa.admin_added.aiml.txt
            [template] => Sekarang aku di semester 3.
            [score] => 314
            [current_that] => sekarang aku di semester 3
            [aiml_id] => 54
            [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: semester (2 points), direct word match: berapa (2 points), direct word match: sekarang (2 points)
        )

)

 
-----------------------
17-09-2025 17:53:32.91379[4][4] - Elapsed time: 0.062 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 54
    [bot_id] => 1
    [pattern] => SEMESTER BERAPA SEKARANG
    [thatpattern] => 
    [topic] => KULIAH
    [filename] => Syifaa.admin_added.aiml.txt
    [template] => Sekarang aku di semester 3.
    [score] => 314
    [current_that] => sekarang aku di semester 3
    [aiml_id] => 54
    [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: semester (2 points), direct word match: berapa (2 points), direct word match: sekarang (2 points)
)
 
-----------------------
17-09-2025 17:53:32.91379[2][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
17-09-2025 17:53:32.91380[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:54 (SEMESTER BERAPA SEKARANG) 
-----------------------
17-09-2025 17:53:32.91381[3][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
17-09-2025 17:53:32.91381[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'SEMESTER BERAPA SEKARANG' 
-----------------------
17-09-2025 17:53:32.91382[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
17-09-2025 17:53:32.91382[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
17-09-2025 17:53:32.91384[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 54
    [category_id] => 54
    [html_template] => 
    [lookingfor] => SEMESTER BERAPA SEKARANG
    [pattern] => SEMESTER BERAPA SEKARANG
    [score] => 314
    [stars] => Array
        (
        )

    [template] => Sekarang aku di semester 3.
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => semester berapa sekarang
)
 
-----------------------
17-09-2025 17:53:32.91384[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
17-09-2025 17:53:32.91385[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
17-09-2025 17:53:32.91386[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Sekarang aku di semester 3.</text></template> 
-----------------------
17-09-2025 17:53:32.91389[2][4] - Elapsed time: 0.030 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 17:53:32.91390[4][4] - Elapsed time: 0.016 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Sekarang aku di semester 3.</text></template>
 
-----------------------
17-09-2025 17:53:32.91391[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
17-09-2025 17:53:32.91392[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
17-09-2025 17:53:32.91392[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Sekarang aku di semester 3.</text> 
-----------------------
17-09-2025 17:53:32.91393[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
17-09-2025 17:53:32.91393[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
17-09-2025 17:53:32.91394[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
17-09-2025 17:53:32.91394[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Sekarang aku di semester 3.' to the response array. tag name is text 
-----------------------
17-09-2025 17:53:32.91395[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91395[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Sekarang aku di semester 3.
)

 
-----------------------
17-09-2025 17:53:32.91396[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91396[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Sekarang aku di semester 3.' 
-----------------------
17-09-2025 17:53:32.91397[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Sekarang aku di semester 3.' to the response array. tag name is template. 
-----------------------
17-09-2025 17:53:32.91397[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
17-09-2025 17:53:32.91398[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Sekarang aku di semester 3.
)

 
-----------------------
17-09-2025 17:53:32.91398[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
17-09-2025 17:53:32.91399[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Sekarang aku di semester 3.' 
-----------------------
17-09-2025 17:53:32.91399[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Sekarang aku di semester 3. 
-----------------------
17-09-2025 17:53:32.91400[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
17-09-2025 17:53:32.91400[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
17-09-2025 17:53:32.91401[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Sekarang aku di semester 3.' to the front of the [that_raw] array 
-----------------------
17-09-2025 17:53:32.91401[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
17-09-2025 17:53:32.91403[2][4] - Elapsed time: 0.014 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Sekarang aku di semester 3.' to the front of the [that] array 
-----------------------
17-09-2025 17:53:32.91403[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Sekarang aku di semester 3.' 
-----------------------
17-09-2025 17:53:32.91404[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Sekarang aku di semester 3.' 
-----------------------
17-09-2025 17:53:32.91405[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SEKARANG AKU DI SEMESTER 3' 
-----------------------
17-09-2025 17:53:32.91405[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SEKARANG AKU DI SEMESTER 3' 
-----------------------
17-09-2025 17:53:32.91406[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Sekarang aku di semester 3.' to the front of the [parsed_template] array 
-----------------------
17-09-2025 17:53:32.91406[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
17-09-2025 17:53:32.91407[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Sekarang aku di semester 3.' to the front of the [template] array 
-----------------------
17-09-2025 17:53:32.91407[4][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
17-09-2025 17:53:32.91408[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
17-09-2025 17:53:32.91409[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `Syifa`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'semester berapa sekarang',
      'Sekarang aku di semester 3.',
      6,
      '',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
17-09-2025 17:53:32.91573[4][4] - Elapsed time: 1.636 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
17-09-2025 17:53:32.91583[3][4] - Elapsed time: 0.103 milliseconds
[display_conversation.php][get_conversation_to_display][59]
get_conversation SQL: SELECT * FROM `Syifa`.`conversation_log` WHERE
        `user_id` = :user_id
        AND `bot_id` = :bot_id
        AND `convo_id` = :convo_id
        ORDER BY id DESC  LIMIT 1 
-----------------------
17-09-2025 17:53:32.91594[2][4] - Elapsed time: 0.112 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
17-09-2025 17:53:32.91595[4][4] - Elapsed time: 0.009 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
17-09-2025 17:53:32.91596[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
17-09-2025 17:53:32.91597[4][4] - Elapsed time: 0.012 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"","usersay":"semester berapa sekarang","botsay":"Sekarang aku di semester 3.","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"semester berapa sekarang","conversation_lines":"1","remember_up_to":"10","debugemail":"theodorusnatanael0204@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"54","bot_id":"1","pattern":"SEMESTER BERAPA SEKARANG","thatpattern":"","topic":"KULIAH","filename":"Syifaa.admin_added.aiml.txt","template":"Sekarang aku di semester 3.","score":314,"current_that":"sekarang aku di semester 3","aiml_id":"54","track_score":"current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: semester (2 points), direct word match: berapa (2 points), direct word match: sekarang (2 points)"}}} 
-----------------------
17-09-2025 17:53:32.91607[2][4] - Elapsed time: 0.097 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
17-09-2025 17:53:32.91608[0][4] - Elapsed time: 0.016 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 16.424 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => semester berapa sekarang
    [conversation] => Array
        (
            [convo_id] => 
            [bot_name] => Syifa
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 6
            [totallines] => 1
            [rawSay] => semester berapa sekarang
            [conversation_lines] => 1
            [remember_up_to] => 10
            [debugemail] => theodorusnatanael0204@gmail.com
            [debug_level] => 4
            [debugmode] => 1
            [save_state] => session
            [default_aiml_pattern] => RANDOM PICKUP LINE
            [bot_parent_id] => 1
            [aimlData] => Array
                (
                    [id] => 54
                    [bot_id] => 1
                    [pattern] => SEMESTER BERAPA SEKARANG
                    [thatpattern] => 
                    [topic] => KULIAH
                    [filename] => Syifaa.admin_added.aiml.txt
                    [template] => Sekarang aku di semester 3.
                    [score] => 314
                    [current_that] => sekarang aku di semester 3
                    [aiml_id] => 54
                    [track_score] => current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: semester (2 points), direct word match: berapa (2 points), direct word match: sekarang (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => semester berapa sekarang
            [lookingfor] => SEMESTER BERAPA SEKARANG
            [category_id] => 54
            [pattern] => SEMESTER BERAPA SEKARANG
            [thatpattern] => 
            [template] => Sekarang aku di semester 3.
            [html_template] => 
            [topic] => KULIAH
            [score] => 314
            [aiml_id] => 54
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Sekarang aku di semester 3.
        )

    [client_properties] => Array
        (
            [ip_address] => ::1
            [name] => Seeker
            [namauser] => Teo
            [topic] => KULIAH
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => Sekarang aku di semester 3
                    [1] => 
                )

            [2] => Array
                (
                    [0] => Aku mengambil jurusan Sistem Informasi
                    [1] => 
                )

            [3] => Array
                (
                    [0] => Aku mengambil jurusan Sistem Informasi
                    [1] => 
                )

            [4] => Array
                (
                    [0] => Aku mengambil jurusan Sistem Informasi
                    [1] => 
                )

            [5] => Array
                (
                    [0] => Aku mengambil jurusan Sistem Informasi
                    [1] => 
                )

            [6] => Array
                (
                    [0] => Tentu
                    [1] =>  Aku kuliah di Universitas Katolik Soegijapranata
                    [2] =>   Ada lagi yang ingin kamu tanyakan seputar kuliahku?
                )

            [7] => Array
                (
                    [0] => Tentu
                    [1] =>  Aku kuliah di Universitas Katolik Soegijapranata
                    [2] =>   Ada lagi yang ingin kamu tanyakan seputar kuliahku?
                )

            [8] => Array
                (
                    [0] => Tentu aku tahu, nama kamu Teo
                    [1] =>  Benar kan?
                )

            [9] => Array
                (
                    [0] => Tentu aku tahu, nama kamu Teo
                    [1] =>  Benar kan?
                )

            [10] => Array
                (
                    [0] => Oke, aku akan ingat namamu
                    [1] =>  Halo Teo !
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => SEKARANG AKU DI SEMESTER 3
                )

            [2] => Array
                (
                    [1] => SEKARANG AKU DI SEMESTER 3
                )

            [3] => Array
                (
                    [1] => AKU MENGAMBIL JURUSAN SISTEM INFORMASI
                )

            [4] => Array
                (
                    [1] => AKU MENGAMBIL JURUSAN SISTEM INFORMASI
                )

            [5] => Array
                (
                    [1] => AKU MENGAMBIL JURUSAN SISTEM INFORMASI
                )

            [6] => Array
                (
                    [1] => AKU MENGAMBIL JURUSAN SISTEM INFORMASI
                )

            [7] => Array
                (
                    [1] => TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU
                )

            [8] => Array
                (
                    [1] => TENTU AKU KULIAH DI UNIVERSITAS KATOLIK SOEGIJAPRANATA ADA LAGI YANG INGIN KAMU TANYAKAN SEPUTAR KULIAHKU
                )

            [9] => Array
                (
                    [1] => TENTU AKU TAHU NAMA KAMU TEO BENAR KAN
                )

            [10] => Array
                (
                    [1] => TENTU AKU TAHU NAMA KAMU TEO BENAR KAN
                )

            [12] => 
        )

    [input] => Array
        (
            [1] => semester berapa sekarang
            [2] => SEMESTER BERAPA SEKARANG
            [3] => JURUSANNYA APA
            [4] => JURUSANNYA APA
            [5] => JURUSANNYA APA
            [6] => JURUSANNYA APA
            [7] => CERITAKAN TENTANG KULIAH KAMU
            [8] => CERITAKAN TENTANG KULIAH KAMU
            [9] => SIAPA NAMA SAYA
            [10] => SIAPA NAMA SAYA
        )

    [time_start] => 1758124412.8997
    [user_say] => Array
        (
            [1] => SEMESTER BERAPA SEKARANG
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Sekarang aku di semester 3.
                )

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

    [parsed_template] => Array
        (
            [1] => Sekarang aku di semester 3.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Sekarang aku di semester 3.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"","usersay":"semester berapa sekarang","botsay":"Sekarang aku di semester 3.","botData":{"convo_id":"","bot_name":"Syifa","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"6","totallines":1,"rawSay":"semester berapa sekarang","conversation_lines":"1","remember_up_to":"10","debugemail":"theodorusnatanael0204@gmail.com","debug_level":"4","debugmode":1,"save_state":"session","default_aiml_pattern":"RANDOM PICKUP LINE","bot_parent_id":"1","aimlData":{"id":"54","bot_id":"1","pattern":"SEMESTER BERAPA SEKARANG","thatpattern":"","topic":"KULIAH","filename":"Syifaa.admin_added.aiml.txt","template":"Sekarang aku di semester 3.","score":314,"current_that":"sekarang aku di semester 3","aiml_id":"54","track_score":"current bot (250 points), direct topic match (50 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: semester (2 points), direct word match: berapa (2 points), direct word match: sekarang (2 points)"}}}
)

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