10-11-2025 23:00:59.02752[0][4] - Elapsed time: 5.104 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 
-----------------------
10-11-2025 23:00:59.02782[4][4] - Elapsed time: 0.295 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
10-11-2025 23:00:59.02802[4][4] - Elapsed time: 0.203 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
10-11-2025 23:00:59.02811[4][4] - Elapsed time: 0.094 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
10-11-2025 23:00:59.02851[4][4] - Elapsed time: 0.396 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
10-11-2025 23:00:59.02852[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
10-11-2025 23:00:59.02866[1][4] - Elapsed time: 0.144 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 
-----------------------
10-11-2025 23:00:59.02901[0][4] - Elapsed time: 0.348 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 07d7db9dc002a8a679043b3e497bc76a 
-----------------------
10-11-2025 23:00:59.02902[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'siapa nama saya'. 
-----------------------
10-11-2025 23:00:59.02904[4][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
10-11-2025 23:00:59.02905[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
10-11-2025 23:00:59.02906[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_default_bot_values][118]
load db bot personality values SQL: SELECT * FROM `siew8359_dannu`.`botpersonality` WHERE `bot_id` = 1; 
-----------------------
10-11-2025 23:00:59.02932[4][4] - Elapsed time: 0.260 milliseconds
[intialise_conversation.php][check_set_convo_id][643]
Obtaining the convo id from form vars. Value: b8def30cacbe06a5a33bc6d4da53d61d 
-----------------------
10-11-2025 23:00:59.02933[2][4] - Elapsed time: 0.013 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
10-11-2025 23:00:59.02934[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; 
-----------------------
10-11-2025 23:00:59.02964[2][4] - Elapsed time: 0.297 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
10-11-2025 23:00:59.02965[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
10-11-2025 23:00:59.02993[3][4] - Elapsed time: 0.283 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` = 139 AND `bot_id` = 1; 
-----------------------
10-11-2025 23:00:59.03021[2][4] - Elapsed time: 0.277 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
10-11-2025 23:00:59.03029[2][4] - Elapsed time: 0.084 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on siapa. 
-----------------------
10-11-2025 23:00:59.03031[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
10-11-2025 23:00:59.03075[2][4] - Elapsed time: 0.443 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 23:00:59.03077[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
10-11-2025 23:00:59.03078[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 23:00:59.03079[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on saya. 
-----------------------
10-11-2025 23:00:59.03081[4][4] - Elapsed time: 0.017 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa nama saya' 
-----------------------
10-11-2025 23:00:59.03096[4][4] - Elapsed time: 0.149 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
10-11-2025 23:00:59.03097[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: SIAPA NAMA SAYA
Convo id: 07d7db9dc002a8a679043b3e497bc76a
Bot id: 1
Format:  
-----------------------
10-11-2025 23:00:59.03098[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
10-11-2025 23:00:59.03099[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
10-11-2025 23:00:59.03099[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` = 139 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
10-11-2025 23:00:59.03191[1][4] - Elapsed time: 0.916 milliseconds
[intialise_conversation.php][load_that][804]
Inputs returned:Array
(
    [0] => nama saya bagas
    [1] => siapa kamu
    [2] => hai
    [3] => HELLO
)
 
-----------------------
10-11-2025 23:00:59.03192[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][805]
Loading previous responses into the ~THAT~ array. 
-----------------------
10-11-2025 23:00:59.03193[1][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][806]
Responses returned:Array
(
    [0] => bagas Senang berkenalan dengan Anda, bagas. Saya akan mengingat nama Anda.
    [1] => Saya adalah pedro salto, asisten virtual cerdas yang dirancang untuk membantu Anda. Saya dapat menjawab pertanyaan, memberikan informasi, dan berkomunikasi dengan Anda secara interaktif menggunakan suara. Senang dapat membantu Anda!
    [2] => Selamat datang! Saya di sini untuk membantu. Silakan tanyakan apa saja.
    [3] => Halo! Saya pedro salto, siap membantu Anda. Ada pertanyaan?
)
 
-----------------------
10-11-2025 23:00:59.03195[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03195[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Halo
    [1] =>  Saya pedro salto
    [2] =>  siap membantu Anda
    [3] =>  Ada pertanyaan
    [4] => 
)

 
-----------------------
10-11-2025 23:00:59.03196[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03197[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Halo Saya pedro salto siap membantu Anda Ada pertanyaan ' 
-----------------------
10-11-2025 23:00:59.03197[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Halo Saya pedro salto siap membantu Anda Ada pertanyaan ' 
-----------------------
10-11-2025 23:00:59.03198[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Halo Saya pedro salto siap membantu Anda Ada pertanyaan ' 
-----------------------
10-11-2025 23:00:59.03199[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
10-11-2025 23:00:59.03200[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
10-11-2025 23:00:59.03200[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' to the front of the [that] array 
-----------------------
10-11-2025 23:00:59.03203[4][4] - Elapsed time: 0.028 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
10-11-2025 23:00:59.03211[4][4] - Elapsed time: 0.078 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
10-11-2025 23:00:59.03212[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
10-11-2025 23:00:59.03213[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
10-11-2025 23:00:59.03213[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN' 
-----------------------
10-11-2025 23:00:59.03214[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03215[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Selamat datang
    [1] =>  Saya di sini untuk membantu
    [2] =>  Silakan tanyakan apa saja
    [3] => 
)

 
-----------------------
10-11-2025 23:00:59.03216[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03216[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
10-11-2025 23:00:59.03217[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
10-11-2025 23:00:59.03217[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Selamat datang Saya di sini untuk membantu Silakan tanyakan apa saja ' 
-----------------------
10-11-2025 23:00:59.03218[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
10-11-2025 23:00:59.03219[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
10-11-2025 23:00:59.03219[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' to the front of the [that] array 
-----------------------
10-11-2025 23:00:59.03220[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
10-11-2025 23:00:59.03221[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
10-11-2025 23:00:59.03222[4][4] - Elapsed time: 0.014 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
10-11-2025 23:00:59.03223[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA' 
-----------------------
10-11-2025 23:00:59.03224[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03225[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Saya adalah pedro salto
    [1] =>  asisten virtual cerdas yang dirancang untuk membantu Anda
    [2] =>  Saya dapat menjawab pertanyaan
    [3] =>  memberikan informasi
    [4] =>  dan berkomunikasi dengan Anda secara interaktif menggunakan suara
    [5] =>  Senang dapat membantu Anda
    [6] => 
)

 
-----------------------
10-11-2025 23:00:59.03225[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03226[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Saya adalah pedro salto asisten virtual cerdas yang dirancang untuk membantu Anda Saya dapat menjawab pertanyaan memberikan informasi dan berkomunikasi dengan Anda secara interaktif menggunakan suara Senang dapat membantu Anda ' 
-----------------------
10-11-2025 23:00:59.03226[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Saya adalah pedro salto asisten virtual cerdas yang dirancang untuk membantu Anda Saya dapat menjawab pertanyaan memberikan informasi dan berkomunikasi dengan Anda secara interaktif menggunakan suara Senang dapat membantu Anda ' 
-----------------------
10-11-2025 23:00:59.03227[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Saya adalah pedro salto asisten virtual cerdas yang dirancang untuk membantu Anda Saya dapat menjawab pertanyaan memberikan informasi dan berkomunikasi dengan Anda secara interaktif menggunakan suara Senang dapat membantu Anda ' 
-----------------------
10-11-2025 23:00:59.03228[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA ADALAH PEDRO SALTO ASISTEN VIRTUAL CERDAS YANG DIRANCANG UNTUK MEMBANTU ANDA SAYA DAPAT MENJAWAB PERTANYAAN MEMBERIKAN INFORMASI DAN BERKOMUNIKASI DENGAN ANDA SECARA INTERAKTIF MENGGUNAKAN SUARA SENANG DAPAT MEMBANTU ANDA' 
-----------------------
10-11-2025 23:00:59.03229[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA ADALAH PEDRO SALTO ASISTEN VIRTUAL CERDAS YANG DIRANCANG UNTUK MEMBANTU ANDA SAYA DAPAT MENJAWAB PERTANYAAN MEMBERIKAN INFORMASI DAN BERKOMUNIKASI DENGAN ANDA SECARA INTERAKTIF MENGGUNAKAN SUARA SENANG DAPAT MEMBANTU ANDA' 
-----------------------
10-11-2025 23:00:59.03229[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SAYA ADALAH PEDRO SALTO ASISTEN VIRTUAL CERDAS YANG DIRANCANG UNTUK MEMBANTU ANDA SAYA DAPAT MENJAWAB PERTANYAAN MEMBERIKAN INFORMASI DAN BERKOMUNIKASI DENGAN ANDA SECARA INTERAKTIF MENGGUNAKAN SUARA SENANG DAPAT MEMBANTU ANDA' to the front of the [that] array 
-----------------------
10-11-2025 23:00:59.03230[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'SAYA ADALAH PEDRO SALTO ASISTEN VIRTUAL CERDAS YANG DIRANCANG UNTUK MEMBANTU ANDA SAYA DAPAT MENJAWAB PERTANYAAN MEMBERIKAN INFORMASI DAN BERKOMUNIKASI DENGAN ANDA SECARA INTERAKTIF MENGGUNAKAN SUARA SENANG DAPAT MEMBANTU ANDA' 
-----------------------
10-11-2025 23:00:59.03231[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SAYA ADALAH PEDRO SALTO ASISTEN VIRTUAL CERDAS YANG DIRANCANG UNTUK MEMBANTU ANDA SAYA DAPAT MENJAWAB PERTANYAAN MEMBERIKAN INFORMASI DAN BERKOMUNIKASI DENGAN ANDA SECARA INTERAKTIF MENGGUNAKAN SUARA SENANG DAPAT MEMBANTU ANDA' 
-----------------------
10-11-2025 23:00:59.03232[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SAYA ADALAH PEDRO SALTO ASISTEN VIRTUAL CERDAS YANG DIRANCANG UNTUK MEMBANTU ANDA SAYA DAPAT MENJAWAB PERTANYAAN MEMBERIKAN INFORMASI DAN BERKOMUNIKASI DENGAN ANDA SECARA INTERAKTIF MENGGUNAKAN SUARA SENANG DAPAT MEMBANTU ANDA' 
-----------------------
10-11-2025 23:00:59.03233[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SAYA ADALAH PEDRO SALTO ASISTEN VIRTUAL CERDAS YANG DIRANCANG UNTUK MEMBANTU ANDA SAYA DAPAT MENJAWAB PERTANYAAN MEMBERIKAN INFORMASI DAN BERKOMUNIKASI DENGAN ANDA SECARA INTERAKTIF MENGGUNAKAN SUARA SENANG DAPAT MEMBANTU ANDA' 
-----------------------
10-11-2025 23:00:59.03233[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03234[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bagas Senang berkenalan dengan Anda
    [1] =>  bagas
    [2] =>  Saya akan mengingat nama Anda
    [3] => 
)

 
-----------------------
10-11-2025 23:00:59.03234[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03235[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'bagas Senang berkenalan dengan Anda bagas Saya akan mengingat nama Anda ' 
-----------------------
10-11-2025 23:00:59.03235[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'bagas Senang berkenalan dengan Anda bagas Saya akan mengingat nama Anda ' 
-----------------------
10-11-2025 23:00:59.03236[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'bagas Senang berkenalan dengan Anda bagas Saya akan mengingat nama Anda ' 
-----------------------
10-11-2025 23:00:59.03237[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
10-11-2025 23:00:59.03237[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
10-11-2025 23:00:59.03238[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA' to the front of the [that] array 
-----------------------
10-11-2025 23:00:59.03239[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
10-11-2025 23:00:59.03239[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
10-11-2025 23:00:59.03240[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
10-11-2025 23:00:59.03240[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA' 
-----------------------
10-11-2025 23:00:59.03241[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][835]
Loading previous user inputs into the ~INPUT~ array. 
-----------------------
10-11-2025 23:00:59.03242[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03242[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => HELLO
)

 
-----------------------
10-11-2025 23:00:59.03243[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03243[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'HELLO' 
-----------------------
10-11-2025 23:00:59.03244[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'HELLO' 
-----------------------
10-11-2025 23:00:59.03244[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'HELLO' 
-----------------------
10-11-2025 23:00:59.03245[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HELLO' 
-----------------------
10-11-2025 23:00:59.03246[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HELLO' 
-----------------------
10-11-2025 23:00:59.03246[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HELLO' to the front of the [input] array 
-----------------------
10-11-2025 23:00:59.03247[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
10-11-2025 23:00:59.03248[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03249[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => hai
)

 
-----------------------
10-11-2025 23:00:59.03249[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03250[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'hai' 
-----------------------
10-11-2025 23:00:59.03250[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'hai' 
-----------------------
10-11-2025 23:00:59.03251[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'hai' 
-----------------------
10-11-2025 23:00:59.03251[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'HAI' 
-----------------------
10-11-2025 23:00:59.03252[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'HAI' 
-----------------------
10-11-2025 23:00:59.03252[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'HAI' to the front of the [input] array 
-----------------------
10-11-2025 23:00:59.03253[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03253[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => siapa kamu
)

 
-----------------------
10-11-2025 23:00:59.03254[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03254[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'siapa kamu' 
-----------------------
10-11-2025 23:00:59.03255[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'siapa kamu' 
-----------------------
10-11-2025 23:00:59.03255[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'siapa kamu' 
-----------------------
10-11-2025 23:00:59.03256[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA KAMU' 
-----------------------
10-11-2025 23:00:59.03256[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SIAPA KAMU' 
-----------------------
10-11-2025 23:00:59.03257[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA KAMU' to the front of the [input] array 
-----------------------
10-11-2025 23:00:59.03258[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03258[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => nama saya bagas
)

 
-----------------------
10-11-2025 23:00:59.03259[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03259[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'nama saya bagas' 
-----------------------
10-11-2025 23:00:59.03260[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'nama saya bagas' 
-----------------------
10-11-2025 23:00:59.03260[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'nama saya bagas' 
-----------------------
10-11-2025 23:00:59.03261[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA SAYA BAGAS' 
-----------------------
10-11-2025 23:00:59.03262[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA SAYA BAGAS' 
-----------------------
10-11-2025 23:00:59.03262[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'NAMA SAYA BAGAS' to the front of the [input] array 
-----------------------
10-11-2025 23:00:59.03308[2][4] - Elapsed time: 0.456 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
10-11-2025 23:00:59.03309[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; 
-----------------------
10-11-2025 23:00:59.03334[4][4] - Elapsed time: 0.249 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
10-11-2025 23:00:59.03335[0][4] - Elapsed time: 0.014 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
10-11-2025 23:00:59.03336[0][4] - Elapsed time: 0.007 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
10-11-2025 23:00:59.03337[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = SIAPA NAMA SAYA: raw say = siapa nama saya 
-----------------------
10-11-2025 23:00:59.03337[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
10-11-2025 23:00:59.03338[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'SIAPA NAMA SAYA' to the front of the [user_say] array 
-----------------------
10-11-2025 23:00:59.03338[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
10-11-2025 23:00:59.03340[0][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = siapa nama saya, RAW say = siapa nama saya 
-----------------------
10-11-2025 23:00:59.03340[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'siapa nama saya' to the front of the [input] array 
-----------------------
10-11-2025 23:00:59.03341[4][4] - Elapsed time: 0.008 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
10-11-2025 23:00:59.03341[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'SIAPA NAMA SAYA' 
-----------------------
10-11-2025 23:00:59.03342[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SIAPA NAMA SAYA' 
-----------------------
10-11-2025 23:00:59.03344[4][4] - Elapsed time: 0.014 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
10-11-2025 23:00:59.03371[4][4] - Elapsed time: 0.273 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
10-11-2025 23:00:59.03373[3][4] - Elapsed time: 0.020 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` = 'b8def30cacbe06a5a33bc6d4da53d61d'
    AND (
        'SIAPA NAMA SAYA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 23:00:59.03396[2][4] - Elapsed time: 0.229 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
10-11-2025 23:00:59.03397[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
10-11-2025 23:00:59.03398[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
10-11-2025 23:00:59.03421[4][4] - Elapsed time: 0.237 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
10-11-2025 23:00:59.03424[3][4] - Elapsed time: 0.026 milliseconds
[find_aiml.php][find_aiml_matches][1052]
Core Match AIML sql:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `topic`, `filename`, `template` FROM `siew8359_dannu`.`aiml` WHERE
    bot_id = 1 AND (
        'SIAPA NAMA SAYA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR 'BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA' LIKE (REPLACE(REPLACE(`thatpattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 23:00:59.03460[3][4] - Elapsed time: 0.362 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
10-11-2025 23:00:59.03462[2][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
10-11-2025 23:00:59.03489[1][4] - Elapsed time: 0.269 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][35]
Current THAT = BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA 
-----------------------
10-11-2025 23:00:59.03490[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
10-11-2025 23:00:59.03491[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 'SIAPA NAMA SAYA' 
-----------------------
10-11-2025 23:00:59.03502[4][4] - Elapsed time: 0.113 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
10-11-2025 23:00:59.03503[4][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
10-11-2025 23:00:59.03532[4][4] - Elapsed time: 0.292 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 1217
            [bot_id] => 1
            [pattern] => SIAPA NAMA SAYA
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum mengetahui nama Anda.
        Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
        Apakah ada yang salah?</li>
      </condition>
            [score] => 264
            [current_that] => bagas senang berkenalan dengan anda bagas saya akan mengingat nama anda
            [aiml_id] => 1217
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
        )

    [1] => Array
        (
            [id] => 1190
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <random>
        <li>Maaf, saya kurang memahami pertanyaan Anda.
        Bisakah Anda mengatakannya dengan cara lain?</li>
        <li>Hmm, saya belum mengerti maksud Anda.
        Bisa dijelaskan lebih detail?</li>
        <li>Maaf, saya masih belajar.
        Bisakah Anda bertanya dengan kalimat yang berbeda?</li>
        <li>Saya belum dapat memproses itu.
        Coba tanyakan hal lain atau gunakan kata-kata yang lebih sederhana.</li>
      </random>
            [score] => 252
            [current_that] => bagas senang berkenalan dengan anda bagas saya akan mengingat nama anda
            [aiml_id] => 1190
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
10-11-2025 23:00:59.03534[2][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 1217
            [bot_id] => 1
            [pattern] => SIAPA NAMA SAYA
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum mengetahui nama Anda.
        Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
        Apakah ada yang salah?</li>
      </condition>
            [score] => 264
            [current_that] => bagas senang berkenalan dengan anda bagas saya akan mengingat nama anda
            [aiml_id] => 1217
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
        )

)

 
-----------------------
10-11-2025 23:00:59.03570[4][4] - Elapsed time: 0.356 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 1217
    [bot_id] => 1
    [pattern] => SIAPA NAMA SAYA
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum mengetahui nama Anda.
        Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
        Apakah ada yang salah?</li>
      </condition>
    [score] => 264
    [current_that] => bagas senang berkenalan dengan anda bagas saya akan mengingat nama anda
    [aiml_id] => 1217
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
)
 
-----------------------
10-11-2025 23:00:59.03571[2][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
10-11-2025 23:00:59.03572[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:1217 (SIAPA NAMA SAYA) 
-----------------------
10-11-2025 23:00:59.03573[3][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
10-11-2025 23:00:59.03574[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'SIAPA NAMA SAYA' 
-----------------------
10-11-2025 23:00:59.03574[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
10-11-2025 23:00:59.03575[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
10-11-2025 23:00:59.03576[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 1217
    [category_id] => 1217
    [html_template] => 
    [lookingfor] => SIAPA NAMA SAYA
    [pattern] => SIAPA NAMA SAYA
    [score] => 264
    [stars] => Array
        (
        )

    [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum mengetahui nama Anda.
        Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
        Apakah ada yang salah?</li>
      </condition>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => siapa nama saya
)
 
-----------------------
10-11-2025 23:00:59.03577[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
10-11-2025 23:00:59.03578[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
10-11-2025 23:00:59.03584[4][4] - Elapsed time: 0.066 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><condition name="nama"><li value="undefined"><text>Maaf, saya belum mengetahui nama Anda.        Boleh saya tahu?</text></li><li><text>Nama Anda adalah </text><get name="nama"/><text>.        Apakah ada yang salah?</text></li></condition></template> 
-----------------------
10-11-2025 23:00:59.03600[2][4] - Elapsed time: 0.158 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 23:00:59.03605[4][4] - Elapsed time: 0.051 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><condition name="nama"><li value="undefined"><text>Maaf, saya belum mengetahui nama Anda.        Boleh saya tahu?</text></li><li><text>Nama Anda adalah </text><get name="nama"/><text>.        Apakah ada yang salah?</text></li></condition></template>
 
-----------------------
10-11-2025 23:00:59.03606[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
10-11-2025 23:00:59.03608[2][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 23:00:59.03610[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element condition at level 1. element XML = <condition name="nama"><li value="undefined"><text>Maaf, saya belum mengetahui nama Anda.        Boleh saya tahu?</text></li><li><text>Nama Anda adalah </text><get name="nama"/><text>.        Apakah ada yang salah?</text></li></condition> 
-----------------------
10-11-2025 23:00:59.03612[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_condition_tag does exist. Processing now. 
-----------------------
10-11-2025 23:00:59.03612[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element condition to the parse_condition_tag function 
-----------------------
10-11-2025 23:00:59.03613[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][809]
Parsing a CONDITION tag. 
-----------------------
10-11-2025 23:00:59.03614[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][818]
Element attributes:Array
(
    [name] => nama
)
 
-----------------------
10-11-2025 23:00:59.03614[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][820]
Element attribute count = 1 
-----------------------
10-11-2025 23:00:59.03615[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][951]
Parsing a CONDITION tag with only the NAME attribute 
-----------------------
10-11-2025 23:00:59.03616[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][964]
Looking for test value 'bagas' 
-----------------------
10-11-2025 23:00:59.03616[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][967]
search string = li[@value]|li[not(@*)] 
-----------------------
10-11-2025 23:00:59.03625[4][4] - Elapsed time: 0.081 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][970]
element = SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [name] => nama
        )

    [li] => Array
        (
            [0] => SimpleXMLElement Object
                (
                    [@attributes] => Array
                        (
                            [value] => undefined
                        )

                    [text] => Maaf, saya belum mengetahui nama Anda.        Boleh saya tahu?
                )

            [1] => SimpleXMLElement Object
                (
                    [text] => Array
                        (
                            [0] => Nama Anda adalah 
                            [1] => .        Apakah ada yang salah?
                        )

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

                        )

                )

        )

)
 
-----------------------
10-11-2025 23:00:59.03626[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][971]
Choices = Array
(
    [0] => SimpleXMLElement Object
        (
            [@attributes] => Array
                (
                    [value] => undefined
                )

            [text] => Maaf, saya belum mengetahui nama Anda.        Boleh saya tahu?
        )

    [1] => SimpleXMLElement Object
        (
            [text] => Array
                (
                    [0] => Nama Anda adalah 
                    [1] => .        Apakah ada yang salah?
                )

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

                )

        )

)
 
-----------------------
10-11-2025 23:00:59.03628[4][4] - Elapsed time: 0.019 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][976]
parent XML = <condition name="nama"><li value="undefined"><text>Maaf, saya belum mengetahui nama Anda.        Boleh saya tahu?</text></li><li><text>Nama Anda adalah </text><get name="nama"/><text>.        Apakah ada yang salah?</text></li></condition> 
-----------------------
10-11-2025 23:00:59.03628[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][980]
Current pick = SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [value] => undefined
        )

    [text] => Maaf, saya belum mengetahui nama Anda.        Boleh saya tahu?
)
 
-----------------------
10-11-2025 23:00:59.03629[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][983]
Current pick attributes = SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [value] => undefined
        )

)
 
-----------------------
10-11-2025 23:00:59.03630[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][986]
Pick Value = 'undefined' 
-----------------------
10-11-2025 23:00:59.03630[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][987]
Checking to see if bagas (Client Property) matches undefined (condition value). 
-----------------------
10-11-2025 23:00:59.03634[4][4] - Elapsed time: 0.037 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][980]
Current pick = SimpleXMLElement Object
(
    [text] => Array
        (
            [0] => Nama Anda adalah 
            [1] => .        Apakah ada yang salah?
        )

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

        )

)
 
-----------------------
10-11-2025 23:00:59.03635[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][983]
Current pick attributes = SimpleXMLElement Object
(
)
 
-----------------------
10-11-2025 23:00:59.03635[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][986]
Pick Value = '' 
-----------------------
10-11-2025 23:00:59.03636[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][987]
Checking to see if bagas (Client Property) matches  (condition value). 
-----------------------
10-11-2025 23:00:59.03638[4][4] - Elapsed time: 0.021 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][995]
Found a match. Pick = SimpleXMLElement Object
(
    [text] => Array
        (
            [0] => Nama Anda adalah 
            [1] => .        Apakah ada yang salah?
        )

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

        )

)
 
-----------------------
10-11-2025 23:00:59.03639[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 23:00:59.03640[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>Nama Anda adalah </text> 
-----------------------
10-11-2025 23:00:59.03641[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
10-11-2025 23:00:59.03641[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
10-11-2025 23:00:59.03642[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 23:00:59.03642[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Nama Anda adalah ' to the response array. tag name is text 
-----------------------
10-11-2025 23:00:59.03643[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 23:00:59.03644[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element get at level 2. element XML = <get name="nama"/> 
-----------------------
10-11-2025 23:00:59.03644[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_get_tag does exist. Processing now. 
-----------------------
10-11-2025 23:00:59.03645[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element get to the parse_get_tag function 
-----------------------
10-11-2025 23:00:59.03646[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][519]
Client properties(get): Array
(
    [ip_address] => 202.10.43.135
    [name] => Seeker
    [nama] => bagas
)
 
-----------------------
10-11-2025 23:00:59.03646[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][520]
Parsing a GET tag. Oh, and getting a sandwich while I'm at it. 
-----------------------
10-11-2025 23:00:59.03647[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_get_tag][542]
Client properties(get2): Array
(
    [ip_address] => 202.10.43.135
    [name] => Seeker
    [nama] => bagas
)
 
-----------------------
10-11-2025 23:00:59.03648[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'bagas' to the response array. tag name is get 
-----------------------
10-11-2025 23:00:59.03648[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 23:00:59.03649[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>.        Apakah ada yang salah?</text> 
-----------------------
10-11-2025 23:00:59.03650[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
10-11-2025 23:00:59.03650[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
10-11-2025 23:00:59.03651[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 23:00:59.03651[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '.        Apakah ada yang salah?' to the response array. tag name is text 
-----------------------
10-11-2025 23:00:59.03653[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_condition_tag][1023]
Response = Array
(
    [0] => Array
        (
            [0] => Nama Anda adalah 
        )

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

    [2] => Array
        (
            [0] => .        Apakah ada yang salah?
        )

)
 
-----------------------
10-11-2025 23:00:59.03653[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03654[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => Nama Anda adalah 
        )

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

    [2] => Array
        (
            [0] => .        Apakah ada yang salah?
        )

)

 
-----------------------
10-11-2025 23:00:59.03654[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03655[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03655[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama Anda adalah 
)

 
-----------------------
10-11-2025 23:00:59.03656[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03657[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03657[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => bagas
)

 
-----------------------
10-11-2025 23:00:59.03658[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03658[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03659[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => .        Apakah ada yang salah?
)

 
-----------------------
10-11-2025 23:00:59.03659[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03660[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama Anda adalah bagas .  Apakah ada yang salah?' 
-----------------------
10-11-2025 23:00:59.03660[4][4] - Elapsed time: 0.007 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Nama Anda adalah bagas .  Apakah ada yang salah?' to the response array. tag name is condition 
-----------------------
10-11-2025 23:00:59.03661[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03661[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama Anda adalah bagas .  Apakah ada yang salah?
)

 
-----------------------
10-11-2025 23:00:59.03662[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03662[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama Anda adalah bagas . Apakah ada yang salah?' 
-----------------------
10-11-2025 23:00:59.03663[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Nama Anda adalah bagas . Apakah ada yang salah?' to the response array. tag name is template. 
-----------------------
10-11-2025 23:00:59.03664[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 23:00:59.03665[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Nama Anda adalah bagas . Apakah ada yang salah?
)

 
-----------------------
10-11-2025 23:00:59.03665[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 23:00:59.03666[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Nama Anda adalah bagas . Apakah ada yang salah?' 
-----------------------
10-11-2025 23:00:59.03667[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Nama Anda adalah bagas. Apakah ada yang salah? 
-----------------------
10-11-2025 23:00:59.03668[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
10-11-2025 23:00:59.03669[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
10-11-2025 23:00:59.03670[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nama Anda adalah bagas. Apakah ada yang salah?' to the front of the [that_raw] array 
-----------------------
10-11-2025 23:00:59.03670[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
10-11-2025 23:00:59.03673[2][4] - Elapsed time: 0.024 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nama Anda adalah bagas. Apakah ada yang salah?' to the front of the [that] array 
-----------------------
10-11-2025 23:00:59.03674[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Nama Anda adalah bagas.' 
-----------------------
10-11-2025 23:00:59.03674[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Nama Anda adalah bagas.' 
-----------------------
10-11-2025 23:00:59.03676[4][4] - Elapsed time: 0.013 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'NAMA ANDA ADALAH BAGAS' 
-----------------------
10-11-2025 23:00:59.03676[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'NAMA ANDA ADALAH BAGAS' 
-----------------------
10-11-2025 23:00:59.03677[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Apakah ada yang salah?' 
-----------------------
10-11-2025 23:00:59.03677[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Apakah ada yang salah?' 
-----------------------
10-11-2025 23:00:59.03678[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APAKAH ADA YANG SALAH' 
-----------------------
10-11-2025 23:00:59.03678[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'APAKAH ADA YANG SALAH' 
-----------------------
10-11-2025 23:00:59.03679[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Nama Anda adalah bagas. Apakah ada yang salah?' to the front of the [parsed_template] array 
-----------------------
10-11-2025 23:00:59.03680[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
10-11-2025 23:00:59.03681[2][4] - Elapsed time: 0.009 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<condition name="nama">
        <li value="undefined">Maaf, saya belum mengetahui nama Anda.
        Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
        Apakah ada yang salah?</li>
      </condition>' to the front of the [template] array 
-----------------------
10-11-2025 23:00:59.03682[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
10-11-2025 23:00:59.03683[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
10-11-2025 23:00:59.03684[3][4] - Elapsed time: 0.017 milliseconds
[intialise_conversation.php][log_conversation][442]
Saving conservation SQL: INSERT INTO `siew8359_dannu`.`conversation_log` (
      `id` ,
      `input` ,
      `response` ,
      `user_id` ,
      `convo_id` ,
      `bot_id` ,
      `timestamp`
    )
    VALUES (
      NULL ,
      'siapa nama saya',
      'Nama Anda adalah bagas. Apakah ada yang salah?',
      139,
      'b8def30cacbe06a5a33bc6d4da53d61d',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
10-11-2025 23:00:59.04073[4][4] - Elapsed time: 3.881 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
10-11-2025 23:00:59.04092[3][4] - Elapsed time: 0.197 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 
-----------------------
10-11-2025 23:00:59.04117[2][4] - Elapsed time: 0.244 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
10-11-2025 23:00:59.04118[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
10-11-2025 23:00:59.04118[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
10-11-2025 23:00:59.04123[4][4] - Elapsed time: 0.045 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"b8def30cacbe06a5a33bc6d4da53d61d","usersay":"siapa nama saya","botsay":"Nama Anda adalah bagas. Apakah ada yang salah?","botData":{"convo_id":"b8def30cacbe06a5a33bc6d4da53d61d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"139","totallines":1,"rawSay":"siapa nama saya","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":"1217","bot_id":"1","pattern":"SIAPA NAMA SAYA","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<condition name=\"nama\">\n        <li value=\"undefined\">Maaf, saya belum mengetahui nama Anda.\n        Boleh saya tahu?<\/li>\n        <li>Nama Anda adalah <get name=\"nama\"\/>.\n        Apakah ada yang salah?<\/li>\n      <\/condition>","score":264,"current_that":"bagas senang berkenalan dengan anda bagas saya akan mengingat nama anda","aiml_id":"1217","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)"}}} 
-----------------------
10-11-2025 23:00:59.04151[2][4] - Elapsed time: 0.278 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
10-11-2025 23:00:59.04154[0][4] - Elapsed time: 0.033 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 19.100 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => siapa nama saya
    [conversation] => Array
        (
            [convo_id] => b8def30cacbe06a5a33bc6d4da53d61d
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_name] => Seeker
            [user_id] => 139
            [totallines] => 1
            [rawSay] => siapa nama saya
            [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] => 1217
                    [bot_id] => 1
                    [pattern] => SIAPA NAMA SAYA
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum mengetahui nama Anda.
        Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
        Apakah ada yang salah?</li>
      </condition>
                    [score] => 264
                    [current_that] => bagas senang berkenalan dengan anda bagas saya akan mengingat nama anda
                    [aiml_id] => 1217
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => siapa nama saya
            [lookingfor] => SIAPA NAMA SAYA
            [category_id] => 1217
            [pattern] => SIAPA NAMA SAYA
            [thatpattern] => 
            [template] => <condition name="nama">
        <li value="undefined">Maaf, saya belum mengetahui nama Anda.
        Boleh saya tahu?</li>
        <li>Nama Anda adalah <get name="nama"/>.
        Apakah ada yang salah?</li>
      </condition>
            [html_template] => 
            [topic] => 
            [score] => 264
            [aiml_id] => 1217
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Nama Anda adalah bagas. Apakah ada yang salah?
        )

    [client_properties] => Array
        (
            [ip_address] => 202.10.43.135
            [name] => Seeker
            [nama] => bagas
        )

    [raw_that] => Array
        (
            [1] => Array
                (
                    [0] => bagas Senang berkenalan dengan Anda, bagas
                    [1] =>  Saya akan mengingat nama Anda
                    [2] => 
                )

            [2] => Array
                (
                    [0] => Saya adalah pedro salto, asisten virtual cerdas yang dirancang untuk membantu Anda
                    [1] =>  Saya dapat menjawab pertanyaan, memberikan informasi, dan berkomunikasi dengan Anda secara interaktif menggunakan suara
                    [2] =>  Senang dapat membantu Anda!
                )

            [3] => Array
                (
                    [0] => Selamat datang! Saya di sini untuk membantu
                    [1] =>  Silakan tanyakan apa saja
                    [2] => 
                )

            [4] => Array
                (
                    [0] => Halo! Saya pedro salto, siap membantu Anda
                    [1] =>  Ada pertanyaan?
                )

        )

    [that] => Array
        (
            [1] => Array
                (
                    [1] => APAKAH ADA YANG SALAH
                    [2] => NAMA ANDA ADALAH BAGAS
                )

            [2] => Array
                (
                    [1] => BAGAS SENANG BERKENALAN DENGAN ANDA BAGAS SAYA AKAN MENGINGAT NAMA ANDA
                )

            [3] => Array
                (
                    [1] => SAYA ADALAH PEDRO SALTO ASISTEN VIRTUAL CERDAS YANG DIRANCANG UNTUK MEMBANTU ANDA SAYA DAPAT MENJAWAB PERTANYAAN MEMBERIKAN INFORMASI DAN BERKOMUNIKASI DENGAN ANDA SECARA INTERAKTIF MENGGUNAKAN SUARA SENANG DAPAT MEMBANTU ANDA
                )

            [4] => Array
                (
                    [1] => SELAMAT DATANG SAYA DI SINI UNTUK MEMBANTU SILAKAN TANYAKAN APA SAJA
                )

            [5] => Array
                (
                    [1] => HALO SAYA PEDRO SALTO SIAP MEMBANTU ANDA ADA PERTANYAAN
                )

            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
            [12] => 
        )

    [input] => Array
        (
            [1] => siapa nama saya
            [2] => NAMA SAYA BAGAS
            [3] => SIAPA KAMU
            [4] => HAI
            [5] => HELLO
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

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

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Apakah ada yang salah?
                    [3] => Nama Anda adalah bagas.
                )

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

    [parsed_template] => Array
        (
            [1] => Nama Anda adalah bagas. Apakah ada yang salah?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <condition name="nama"> <li value="undefined">Maaf, saya belum mengetahui nama Anda. Boleh saya tahu?</li> <li>Nama Anda adalah <get name="nama"/>. Apakah ada yang salah?</li> </condition>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"b8def30cacbe06a5a33bc6d4da53d61d","usersay":"siapa nama saya","botsay":"Nama Anda adalah bagas. Apakah ada yang salah?","botData":{"convo_id":"b8def30cacbe06a5a33bc6d4da53d61d","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_name":"Seeker","user_id":"139","totallines":1,"rawSay":"siapa nama saya","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":"1217","bot_id":"1","pattern":"SIAPA NAMA SAYA","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"<condition name=\"nama\">\n        <li value=\"undefined\">Maaf, saya belum mengetahui nama Anda.\n        Boleh saya tahu?<\/li>\n        <li>Nama Anda adalah <get name=\"nama\"\/>.\n        Apakah ada yang salah?<\/li>\n      <\/condition>","score":264,"current_that":"bagas senang berkenalan dengan anda bagas saya akan mengingat nama anda","aiml_id":"1217","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: siapa (2 points), direct word match: nama (2 points), direct word match: saya (2 points)"}}}
)

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