10-11-2025 14:33:29.47895[0][4] - Elapsed time: 4.883 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 14:33:29.47927[4][4] - Elapsed time: 0.320 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
10-11-2025 14:33:29.47952[4][4] - Elapsed time: 0.249 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
10-11-2025 14:33:29.47963[4][4] - Elapsed time: 0.111 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
10-11-2025 14:33:29.48011[4][4] - Elapsed time: 0.477 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
10-11-2025 14:33:29.48012[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
10-11-2025 14:33:29.48026[0][4] - Elapsed time: 0.141 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 8528df8e4b821152521f0de2feae4013 
-----------------------
10-11-2025 14:33:29.48027[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'kenalkan nama saya dannu'. 
-----------------------
10-11-2025 14:33:29.48029[4][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
10-11-2025 14:33:29.48030[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
10-11-2025 14:33:29.48031[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 14:33:29.48052[1][4] - Elapsed time: 0.212 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: 8528df8e4b821152521f0de2feae4013 
-----------------------
10-11-2025 14:33:29.48053[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
10-11-2025 14:33:29.48054[3][4] - Elapsed time: 0.009 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 14:33:29.48084[2][4] - Elapsed time: 0.294 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
10-11-2025 14:33:29.48085[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 14:33:29.48106[2][4] - Elapsed time: 0.210 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
10-11-2025 14:33:29.48131[3][4] - Elapsed time: 0.257 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #74 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , '8528df8e4b821152521f0de2feae4013'   , 1 , '0'        , '202.10.43.135', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
10-11-2025 14:33:29.48149[3][4] - Elapsed time: 0.172 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` = 74 AND `bot_id` = 1; 
-----------------------
10-11-2025 14:33:29.48170[2][4] - Elapsed time: 0.217 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
10-11-2025 14:33:29.48176[2][4] - Elapsed time: 0.056 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kenalkan. 
-----------------------
10-11-2025 14:33:29.48177[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
10-11-2025 14:33:29.48215[2][4] - Elapsed time: 0.375 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:33:29.48216[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
10-11-2025 14:33:29.48218[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:33:29.48219[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on saya. 
-----------------------
10-11-2025 14:33:29.48221[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:33:29.48222[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on dannu. 
-----------------------
10-11-2025 14:33:29.48225[4][4] - Elapsed time: 0.025 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kenalkan nama saya dannu' 
-----------------------
10-11-2025 14:33:29.48239[4][4] - Elapsed time: 0.139 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENALKAN NAMA SAYA DANNU' 
-----------------------
10-11-2025 14:33:29.48240[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: KENALKAN NAMA SAYA DANNU
Convo id: 8528df8e4b821152521f0de2feae4013
Bot id: 1
Format:  
-----------------------
10-11-2025 14:33:29.48241[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
10-11-2025 14:33:29.48241[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
10-11-2025 14:33:29.48242[3][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_that][784]
Getting conversation log entries for the current user. SQL:
SELECT `input`, `response` FROM `siew8359_dannu`.`conversation_log` WHERE `user_id` = 74 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
10-11-2025 14:33:29.48308[4][4] - Elapsed time: 0.658 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
10-11-2025 14:33:29.48358[2][4] - Elapsed time: 0.504 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
10-11-2025 14:33:29.48360[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 14:33:29.48380[4][4] - Elapsed time: 0.201 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
10-11-2025 14:33:29.48381[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
10-11-2025 14:33:29.48382[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
10-11-2025 14:33:29.48382[0][4] - Elapsed time: 0.006 milliseconds 
[conversation_start.php][Called outside of function][235]
Say = KENALKAN NAMA SAYA DANNU: raw say = kenalkan nama saya dannu 
-----------------------
10-11-2025 14:33:29.48383[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
10-11-2025 14:33:29.48384[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KENALKAN NAMA SAYA DANNU' to the front of the [user_say] array 
-----------------------
10-11-2025 14:33:29.48387[4][4] - Elapsed time: 0.029 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
10-11-2025 14:33:29.48388[0][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = kenalkan nama saya dannu, RAW say = kenalkan nama saya dannu 
-----------------------
10-11-2025 14:33:29.48389[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'kenalkan nama saya dannu' to the front of the [input] array 
-----------------------
10-11-2025 14:33:29.48390[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
10-11-2025 14:33:29.48390[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
10-11-2025 14:33:29.48391[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KENALKAN NAMA SAYA DANNU' 
-----------------------
10-11-2025 14:33:29.48392[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENALKAN NAMA SAYA DANNU' 
-----------------------
10-11-2025 14:33:29.48393[4][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
10-11-2025 14:33:29.48414[4][4] - Elapsed time: 0.219 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
10-11-2025 14:33:29.48416[3][4] - Elapsed time: 0.018 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` = '8528df8e4b821152521f0de2feae4013'
    AND (
        'KENALKAN NAMA SAYA DANNU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 14:33:29.48438[2][4] - Elapsed time: 0.213 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
10-11-2025 14:33:29.48439[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
10-11-2025 14:33:29.48439[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
10-11-2025 14:33:29.48460[4][4] - Elapsed time: 0.211 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
10-11-2025 14:33:29.48462[3][4] - Elapsed time: 0.015 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 (
        'KENALKAN NAMA SAYA DANNU' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 14:33:29.48495[3][4] - Elapsed time: 0.328 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
10-11-2025 14:33:29.48496[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
10-11-2025 14:33:29.48517[4][4] - Elapsed time: 0.217 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
10-11-2025 14:33:29.48518[4][4] - Elapsed time: 0.008 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][62]
Blue 5 to Blue leader. Starting my run now! Looking for 'KENALKAN NAMA SAYA DANNU' 
-----------------------
10-11-2025 14:33:29.48529[4][4] - Elapsed time: 0.107 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
10-11-2025 14:33:29.48530[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
10-11-2025 14:33:29.48557[4][4] - Elapsed time: 0.272 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 477
            [bot_id] => 1
            [pattern] => KENALKAN NAMA SAYA *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => Salam kenal, <star/>! Terima kasih sudah memperkenalkan diri.
      <think><set name="nama"><star/></set></think>
            [score] => 258
            [current_that] => 
            [aiml_id] => 477
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
        )

    [1] => Array
        (
            [id] => 616
            [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] => 
            [aiml_id] => 616
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
10-11-2025 14:33:29.48559[2][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 477
            [bot_id] => 1
            [pattern] => KENALKAN NAMA SAYA *
            [thatpattern] => 
            [topic] => 
            [filename] => chatbot.aiml
            [template] => Salam kenal, <star/>! Terima kasih sudah memperkenalkan diri.
      <think><set name="nama"><star/></set></think>
            [score] => 258
            [current_that] => 
            [aiml_id] => 477
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
        )

)

 
-----------------------
10-11-2025 14:33:29.48586[4][4] - Elapsed time: 0.268 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 477
    [bot_id] => 1
    [pattern] => KENALKAN NAMA SAYA *
    [thatpattern] => 
    [topic] => 
    [filename] => chatbot.aiml
    [template] => Salam kenal, <star/>! Terima kasih sudah memperkenalkan diri.
      <think><set name="nama"><star/></set></think>
    [score] => 258
    [current_that] => 
    [aiml_id] => 477
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
)
 
-----------------------
10-11-2025 14:33:29.48586[2][4] - Elapsed time: 0.007 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
10-11-2025 14:33:29.48588[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:477 (KENALKAN NAMA SAYA *) 
-----------------------
10-11-2025 14:33:29.48588[3][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
10-11-2025 14:33:29.48589[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'KENALKAN NAMA SAYA *' 
-----------------------
10-11-2025 14:33:29.48590[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
10-11-2025 14:33:29.48591[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~KENALKAN NAMA SAYA (.+)$~siuU: Searching kenalkan nama saya dannu for a match. 
-----------------------
10-11-2025 14:33:29.48596[2][4] - Elapsed time: 0.049 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => kenalkan nama saya dannu
        )

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

)
 
-----------------------
10-11-2025 14:33:29.48597[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'dannu' to the stars stack. 
-----------------------
10-11-2025 14:33:29.48597[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => dannu
)
 
-----------------------
10-11-2025 14:33:29.48598[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
10-11-2025 14:33:29.48599[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
10-11-2025 14:33:29.48600[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 477
    [category_id] => 477
    [html_template] => 
    [lookingfor] => KENALKAN NAMA SAYA DANNU
    [pattern] => KENALKAN NAMA SAYA *
    [score] => 258
    [stars] => Array
        (
            [1] => dannu
        )

    [template] => Salam kenal, <star/>! Terima kasih sudah memperkenalkan diri.
      <think><set name="nama"><star/></set></think>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => kenalkan nama saya dannu
)
 
-----------------------
10-11-2025 14:33:29.48600[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
10-11-2025 14:33:29.48601[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 14:33:29.48607[4][4] - Elapsed time: 0.055 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><text>Salam kenal, </text><star/><text>! Terima kasih sudah memperkenalkan diri.      </text><think><set name="nama"><star/></set></think></template> 
-----------------------
10-11-2025 14:33:29.48621[2][4] - Elapsed time: 0.147 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:33:29.48629[4][4] - Elapsed time: 0.075 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><text>Salam kenal, </text><star/><text>! Terima kasih sudah memperkenalkan diri.      </text><think><set name="nama"><star/></set></think></template>
 
-----------------------
10-11-2025 14:33:29.48630[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
10-11-2025 14:33:29.48632[2][4] - Elapsed time: 0.017 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:33:29.48633[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>Salam kenal, </text> 
-----------------------
10-11-2025 14:33:29.48634[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
10-11-2025 14:33:29.48634[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 14:33:29.48635[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 14:33:29.48636[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Salam kenal, ' to the response array. tag name is text 
-----------------------
10-11-2025 14:33:29.48636[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 14:33:29.48637[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Salam kenal, 
)

 
-----------------------
10-11-2025 14:33:29.48637[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 14:33:29.48638[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Salam kenal, ' 
-----------------------
10-11-2025 14:33:29.48639[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Salam kenal, ' to the response array. tag name is template. 
-----------------------
10-11-2025 14:33:29.48639[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:33:29.48640[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 1. element XML = <star/> 
-----------------------
10-11-2025 14:33:29.48641[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
10-11-2025 14:33:29.48641[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
10-11-2025 14:33:29.48642[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
10-11-2025 14:33:29.48642[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 1. element = <star/> 
-----------------------
10-11-2025 14:33:29.48643[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => kenalkan nama saya dannu
    [lookingfor] => KENALKAN NAMA SAYA DANNU
    [category_id] => 477
    [pattern] => KENALKAN NAMA SAYA *
    [thatpattern] => 
    [template] => Salam kenal, <star/>! Terima kasih sudah memperkenalkan diri.
      <think><set name="nama"><star/></set></think>
    [html_template] => 
    [topic] => 
    [score] => 258
    [aiml_id] => 477
    [stars] => Array
        (
            [1] => dannu
        )

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

    [topic_stars] => Array
        (
        )

)
 
-----------------------
10-11-2025 14:33:29.48644[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
10-11-2025 14:33:29.48644[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'dannu' to the response array. 
-----------------------
10-11-2025 14:33:29.48645[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = dannu 
-----------------------
10-11-2025 14:33:29.48645[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 14:33:29.48646[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 14:33:29.48646[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 14:33:29.48647[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 14:33:29.48648[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is star 
-----------------------
10-11-2025 14:33:29.48648[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:33:29.48649[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 14:33:29.48649[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 14:33:29.48650[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 14:33:29.48650[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'dannu' to the response array. tag name is template. 
-----------------------
10-11-2025 14:33:29.48651[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:33:29.48651[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>! Terima kasih sudah memperkenalkan diri.      </text> 
-----------------------
10-11-2025 14:33:29.48652[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 14:33:29.48653[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 14:33:29.48653[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 14:33:29.48654[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '! Terima kasih sudah memperkenalkan diri.      ' to the response array. tag name is text 
-----------------------
10-11-2025 14:33:29.48654[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 14:33:29.48655[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => ! Terima kasih sudah memperkenalkan diri.      
)

 
-----------------------
10-11-2025 14:33:29.48655[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 14:33:29.48656[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '! Terima kasih sudah memperkenalkan diri.   ' 
-----------------------
10-11-2025 14:33:29.48656[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '! Terima kasih sudah memperkenalkan diri.   ' to the response array. tag name is template. 
-----------------------
10-11-2025 14:33:29.48657[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:33:29.48658[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element think at level 1. element XML = <think><set name="nama"><star/></set></think> 
-----------------------
10-11-2025 14:33:29.48658[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
10-11-2025 14:33:29.48659[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
10-11-2025 14:33:29.48659[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
10-11-2025 14:33:29.48661[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
10-11-2025 14:33:29.48661[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:33:29.48662[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="nama"><star/></set> 
-----------------------
10-11-2025 14:33:29.48663[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
10-11-2025 14:33:29.48663[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
10-11-2025 14:33:29.48664[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
10-11-2025 14:33:29.48664[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
10-11-2025 14:33:29.48665[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:33:29.48666[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 3. element XML = <star/> 
-----------------------
10-11-2025 14:33:29.48666[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_star_tag does exist. Processing now. 
-----------------------
10-11-2025 14:33:29.48667[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element star to the parse_star_tag function 
-----------------------
10-11-2025 14:33:29.48667[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
10-11-2025 14:33:29.48668[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][299]
parse_star_tag called from the star tag at level 3. element = <star/> 
-----------------------
10-11-2025 14:33:29.48668[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => kenalkan nama saya dannu
    [lookingfor] => KENALKAN NAMA SAYA DANNU
    [category_id] => 477
    [pattern] => KENALKAN NAMA SAYA *
    [thatpattern] => 
    [template] => Salam kenal, <star/>! Terima kasih sudah memperkenalkan diri.
      <think><set name="nama"><star/></set></think>
    [html_template] => 
    [topic] => 
    [score] => 258
    [aiml_id] => 477
    [stars] => Array
        (
            [1] => dannu
        )

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

    [topic_stars] => Array
        (
        )

)
 
-----------------------
10-11-2025 14:33:29.48669[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][310]
star index = 1. 
-----------------------
10-11-2025 14:33:29.48669[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parse_star_tag][314]
Adding 'dannu' to the response array. 
-----------------------
10-11-2025 14:33:29.48670[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][316]
Index value = 1, star value = dannu 
-----------------------
10-11-2025 14:33:29.48670[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:33:29.48671[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 14:33:29.48671[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 14:33:29.48672[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 14:33:29.48672[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is star 
-----------------------
10-11-2025 14:33:29.48673[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 14:33:29.48674[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => dannu
        )

)

 
-----------------------
10-11-2025 14:33:29.48674[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 14:33:29.48675[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:33:29.48675[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 14:33:29.48675[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 14:33:29.48676[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 14:33:29.48677[2][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'nama' to the client properties array. Value is 'dannu' 
-----------------------
10-11-2025 14:33:29.48678[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 202.10.43.135
    [name] => Seeker
    [nama] => dannu
)
 
-----------------------
10-11-2025 14:33:29.48701[2][4] - Elapsed time: 0.230 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][582]
Inserting data into the DB 
-----------------------
10-11-2025 14:33:29.48717[4][4] - Elapsed time: 0.165 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'dannu' to the response array. tag name is set 
-----------------------
10-11-2025 14:33:29.48719[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:33:29.48719[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => dannu
        )

)

 
-----------------------
10-11-2025 14:33:29.48720[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 14:33:29.48720[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
10-11-2025 14:33:29.48721[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => dannu
)

 
-----------------------
10-11-2025 14:33:29.48721[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 14:33:29.48723[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'dannu' 
-----------------------
10-11-2025 14:33:29.48723[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
10-11-2025 14:33:29.48724[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 14:33:29.48724[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
10-11-2025 14:33:29.48725[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 14:33:29.48725[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
10-11-2025 14:33:29.48726[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
10-11-2025 14:33:29.48726[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 14:33:29.48727[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Salam kenal, 
    [1] => dannu
    [2] => ! Terima kasih sudah memperkenalkan diri.   
    [3] => 
)

 
-----------------------
10-11-2025 14:33:29.48727[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 14:33:29.48728[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Salam kenal, dannu ! Terima kasih sudah memperkenalkan diri.  ' 
-----------------------
10-11-2025 14:33:29.48729[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Salam kenal, dannu ! Terima kasih sudah memperkenalkan diri. 
-----------------------
10-11-2025 14:33:29.48730[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
10-11-2025 14:33:29.48730[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
10-11-2025 14:33:29.48731[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, dannu ! Terima kasih sudah memperkenalkan diri.' to the front of the [that_raw] array 
-----------------------
10-11-2025 14:33:29.48732[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
10-11-2025 14:33:29.48740[2][4] - Elapsed time: 0.079 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, dannu ! Terima kasih sudah memperkenalkan diri.' to the front of the [that] array 
-----------------------
10-11-2025 14:33:29.48741[4][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
10-11-2025 14:33:29.48742[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Salam kenal, dannu !' 
-----------------------
10-11-2025 14:33:29.48743[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Salam kenal, dannu !' 
-----------------------
10-11-2025 14:33:29.48744[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SALAM KENAL DANNU' 
-----------------------
10-11-2025 14:33:29.48744[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SALAM KENAL DANNU' 
-----------------------
10-11-2025 14:33:29.48745[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Terima kasih sudah memperkenalkan diri.' 
-----------------------
10-11-2025 14:33:29.48745[4][4] - Elapsed time: 0.005 milliseconds 
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Terima kasih sudah memperkenalkan diri.' 
-----------------------
10-11-2025 14:33:29.48746[4][4] - Elapsed time: 0.008 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'TERIMA KASIH SUDAH MEMPERKENALKAN DIRI' 
-----------------------
10-11-2025 14:33:29.48747[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TERIMA KASIH SUDAH MEMPERKENALKAN DIRI' 
-----------------------
10-11-2025 14:33:29.48748[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, dannu ! Terima kasih sudah memperkenalkan diri.' to the front of the [parsed_template] array 
-----------------------
10-11-2025 14:33:29.48748[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
10-11-2025 14:33:29.48749[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, <star/>! Terima kasih sudah memperkenalkan diri.
      <think><set name="nama"><star/></set></think>' to the front of the [template] array 
-----------------------
10-11-2025 14:33:29.48750[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
10-11-2025 14:33:29.48751[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
10-11-2025 14:33:29.48752[3][4] - Elapsed time: 0.011 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 ,
      'kenalkan nama saya dannu',
      'Salam kenal, dannu ! Terima kasih sudah memperkenalkan diri.',
      74,
      '8528df8e4b821152521f0de2feae4013',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
10-11-2025 14:33:29.48964[4][4] - Elapsed time: 2.119 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
10-11-2025 14:33:29.48982[3][4] - Elapsed time: 0.181 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 14:33:29.49004[2][4] - Elapsed time: 0.223 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
10-11-2025 14:33:29.49005[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
10-11-2025 14:33:29.49006[2][4] - Elapsed time: 0.006 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
10-11-2025 14:33:29.49009[4][4] - Elapsed time: 0.028 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"8528df8e4b821152521f0de2feae4013","usersay":"kenalkan nama saya dannu","botsay":"Salam kenal, dannu ! Terima kasih sudah memperkenalkan diri.","botData":{"convo_id":"8528df8e4b821152521f0de2feae4013","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"74","totallines":1,"user_name":"Seeker","rawSay":"kenalkan nama saya dannu","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":"477","bot_id":"1","pattern":"KENALKAN NAMA SAYA *","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"Salam kenal, <star\/>! Terima kasih sudah memperkenalkan diri.\n      <think><set name=\"nama\"><star\/><\/set><\/think>","score":258,"current_that":"","aiml_id":"477","track_score":"current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)"}}} 
-----------------------
10-11-2025 14:33:29.49034[2][4] - Elapsed time: 0.254 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
10-11-2025 14:33:29.49038[0][4] - Elapsed time: 0.036 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 16.280 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => kenalkan nama saya dannu
    [conversation] => Array
        (
            [convo_id] => 8528df8e4b821152521f0de2feae4013
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 74
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => kenalkan nama saya dannu
            [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] => 477
                    [bot_id] => 1
                    [pattern] => KENALKAN NAMA SAYA *
                    [thatpattern] => 
                    [topic] => 
                    [filename] => chatbot.aiml
                    [template] => Salam kenal, <star/>! Terima kasih sudah memperkenalkan diri.
      <think><set name="nama"><star/></set></think>
                    [score] => 258
                    [current_that] => 
                    [aiml_id] => 477
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => kenalkan nama saya dannu
            [lookingfor] => KENALKAN NAMA SAYA DANNU
            [category_id] => 477
            [pattern] => KENALKAN NAMA SAYA *
            [thatpattern] => 
            [template] => Salam kenal, <star/>! Terima kasih sudah memperkenalkan diri.
      <think><set name="nama"><star/></set></think>
            [html_template] => 
            [topic] => 
            [score] => 258
            [aiml_id] => 477
            [stars] => Array
                (
                    [1] => dannu
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Salam kenal, dannu ! Terima kasih sudah memperkenalkan diri.
        )

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

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

    [input] => Array
        (
            [1] => kenalkan nama saya dannu
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Terima kasih sudah memperkenalkan diri.
                    [3] => Salam kenal, dannu !
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => TERIMA KASIH SUDAH MEMPERKENALKAN DIRI
                    [2] => SALAM KENAL DANNU
                )

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

    [parsed_template] => Array
        (
            [1] => Salam kenal, dannu ! Terima kasih sudah memperkenalkan diri.
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => Salam kenal, <star/>! Terima kasih sudah memperkenalkan diri. <think><set name="nama"><star/></set></think>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"8528df8e4b821152521f0de2feae4013","usersay":"kenalkan nama saya dannu","botsay":"Salam kenal, dannu ! Terima kasih sudah memperkenalkan diri.","botData":{"convo_id":"8528df8e4b821152521f0de2feae4013","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"74","totallines":1,"user_name":"Seeker","rawSay":"kenalkan nama saya dannu","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":"477","bot_id":"1","pattern":"KENALKAN NAMA SAYA *","thatpattern":"","topic":"","filename":"chatbot.aiml","template":"Salam kenal, <star\/>! Terima kasih sudah memperkenalkan diri.\n      <think><set name=\"nama\"><star\/><\/set><\/think>","score":258,"current_that":"","aiml_id":"477","track_score":"current bot (250 points), no thatpattern to match (1 point), direct word match: kenalkan (2 points), direct word match: nama (2 points), direct word match: saya (2 points), star word match (1 points)"}}}
)

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