10-11-2025 14:20:55.69598[0][4] - Elapsed time: 4.990 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:20:55.69626[4][4] - Elapsed time: 0.280 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
10-11-2025 14:20:55.69647[4][4] - Elapsed time: 0.205 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
10-11-2025 14:20:55.69656[4][4] - Elapsed time: 0.096 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
10-11-2025 14:20:55.69695[4][4] - Elapsed time: 0.392 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
10-11-2025 14:20:55.69696[4][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
10-11-2025 14:20:55.69709[0][4] - Elapsed time: 0.128 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = 522df217495dd8f25c2e8435ae571212 
-----------------------
10-11-2025 14:20:55.69710[4][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'kenalkan nama saya abel'. 
-----------------------
10-11-2025 14:20:55.69712[4][4] - Elapsed time: 0.018 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
10-11-2025 14:20:55.69713[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
10-11-2025 14:20:55.69714[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:20:55.69759[1][4] - Elapsed time: 0.447 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: 522df217495dd8f25c2e8435ae571212 
-----------------------
10-11-2025 14:20:55.69760[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:20:55.69760[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 14:20:55.69801[2][4] - Elapsed time: 0.405 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
10-11-2025 14:20:55.69802[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
10-11-2025 14:20:55.69840[2][4] - Elapsed time: 0.380 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
10-11-2025 14:20:55.69864[3][4] - Elapsed time: 0.242 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #68 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , '522df217495dd8f25c2e8435ae571212'   , 1 , '0'        , '202.10.43.135', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
10-11-2025 14:20:55.69899[3][4] - Elapsed time: 0.343 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` = 68 AND `bot_id` = 1; 
-----------------------
10-11-2025 14:20:55.69920[2][4] - Elapsed time: 0.219 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
10-11-2025 14:20:55.69926[2][4] - Elapsed time: 0.058 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on kenalkan. 
-----------------------
10-11-2025 14:20:55.69928[2][4] - Elapsed time: 0.014 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
10-11-2025 14:20:55.69983[2][4] - Elapsed time: 0.558 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:20:55.69985[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on nama. 
-----------------------
10-11-2025 14:20:55.69987[2][4] - Elapsed time: 0.017 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:20:55.69988[2][4] - Elapsed time: 0.011 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on saya. 
-----------------------
10-11-2025 14:20:55.69989[2][4] - Elapsed time: 0.015 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
10-11-2025 14:20:55.69991[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on abel. 
-----------------------
10-11-2025 14:20:55.69993[4][4] - Elapsed time: 0.019 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'kenalkan nama saya abel' 
-----------------------
10-11-2025 14:20:55.70007[4][4] - Elapsed time: 0.143 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENALKAN NAMA SAYA ABEL' 
-----------------------
10-11-2025 14:20:55.70008[2][4] - Elapsed time: 0.011 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: KENALKAN NAMA SAYA ABEL
Convo id: 522df217495dd8f25c2e8435ae571212
Bot id: 1
Format:  
-----------------------
10-11-2025 14:20:55.70009[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
10-11-2025 14:20:55.70009[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
10-11-2025 14:20:55.70010[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` = 68 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
10-11-2025 14:20:55.70092[4][4] - Elapsed time: 0.813 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
10-11-2025 14:20:55.70142[2][4] - Elapsed time: 0.502 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
10-11-2025 14:20:55.70143[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:20:55.70162[4][4] - Elapsed time: 0.190 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
10-11-2025 14:20:55.70163[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
10-11-2025 14:20:55.70164[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
10-11-2025 14:20:55.70164[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = KENALKAN NAMA SAYA ABEL: raw say = kenalkan nama saya abel 
-----------------------
10-11-2025 14:20:55.70165[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
10-11-2025 14:20:55.70166[2][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'KENALKAN NAMA SAYA ABEL' to the front of the [user_say] array 
-----------------------
10-11-2025 14:20:55.70169[4][4] - Elapsed time: 0.029 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
10-11-2025 14:20:55.70170[0][4] - Elapsed time: 0.015 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = kenalkan nama saya abel, RAW say = kenalkan nama saya abel 
-----------------------
10-11-2025 14:20:55.70171[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'kenalkan nama saya abel' to the front of the [input] array 
-----------------------
10-11-2025 14:20:55.70172[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
10-11-2025 14:20:55.70173[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
10-11-2025 14:20:55.70173[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'KENALKAN NAMA SAYA ABEL' 
-----------------------
10-11-2025 14:20:55.70174[4][4] - Elapsed time: 0.010 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'KENALKAN NAMA SAYA ABEL' 
-----------------------
10-11-2025 14:20:55.70175[4][4] - Elapsed time: 0.013 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
10-11-2025 14:20:55.70197[4][4] - Elapsed time: 0.215 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
10-11-2025 14:20:55.70198[3][4] - Elapsed time: 0.017 milliseconds
[find_aiml.php][find_userdefined_aiml][870]
User defined SQL:
SELECT `id`, `bot_id`, `pattern`, `thatpattern`, `template` FROM `siew8359_dannu`.`aiml_userdefined` WHERE
    `bot_id` = 1 AND
    `user_id` = '522df217495dd8f25c2e8435ae571212'
    AND (
        'KENALKAN NAMA SAYA ABEL' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 14:20:55.70236[2][4] - Elapsed time: 0.377 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
10-11-2025 14:20:55.70237[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:20:55.70238[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:20:55.70258[4][4] - Elapsed time: 0.207 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
10-11-2025 14:20:55.70260[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 ABEL' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
10-11-2025 14:20:55.70289[3][4] - Elapsed time: 0.295 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
10-11-2025 14:20:55.70290[2][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (2) potential AIML matches 
-----------------------
10-11-2025 14:20:55.70311[4][4] - Elapsed time: 0.211 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 2 rows to unset bad matches 
-----------------------
10-11-2025 14:20:55.70312[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 ABEL' 
-----------------------
10-11-2025 14:20:55.70323[4][4] - Elapsed time: 0.103 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
10-11-2025 14:20:55.70324[4][4] - Elapsed time: 0.010 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
10-11-2025 14:20:55.70358[4][4] - Elapsed time: 0.341 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 394
            [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] => 394
            [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] => 368
            [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] => 368
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
10-11-2025 14:20:55.70360[2][4] - Elapsed time: 0.019 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 394
            [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] => 394
            [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:20:55.70388[4][4] - Elapsed time: 0.288 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 394
    [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] => 394
    [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:20:55.70389[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 14:20:55.70391[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:394 (KENALKAN NAMA SAYA *) 
-----------------------
10-11-2025 14:20:55.70392[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:20:55.70392[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'KENALKAN NAMA SAYA *' 
-----------------------
10-11-2025 14:20:55.70393[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][306]
We have pattern stars to process! 
-----------------------
10-11-2025 14:20:55.70393[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][310]
RegEx string = ~KENALKAN NAMA SAYA (.+)$~siuU: Searching kenalkan nama saya abel for a match. 
-----------------------
10-11-2025 14:20:55.70398[2][4] - Elapsed time: 0.049 milliseconds
[parse_aiml.php][set_wildcards][313]
Array
(
    [0] => Array
        (
            [0] => kenalkan nama saya abel
        )

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

)
 
-----------------------
10-11-2025 14:20:55.70399[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][set_wildcards][318]
Adding 'abel' to the stars stack. 
-----------------------
10-11-2025 14:20:55.70400[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][320]
Star array = Array
(
    [1] => abel
)
 
-----------------------
10-11-2025 14:20:55.70400[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
10-11-2025 14:20:55.70401[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
10-11-2025 14:20:55.70402[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 394
    [category_id] => 394
    [html_template] => 
    [lookingfor] => KENALKAN NAMA SAYA ABEL
    [pattern] => KENALKAN NAMA SAYA *
    [score] => 258
    [stars] => Array
        (
            [1] => abel
        )

    [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 abel
)
 
-----------------------
10-11-2025 14:20:55.70403[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:20:55.70404[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:20:55.70408[4][4] - Elapsed time: 0.047 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:20:55.70423[2][4] - Elapsed time: 0.145 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:20:55.70428[4][4] - Elapsed time: 0.056 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:20:55.70429[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
10-11-2025 14:20:55.70431[2][4] - Elapsed time: 0.020 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:20:55.70433[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:20:55.70433[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:20:55.70434[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:20:55.70435[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 14:20:55.70435[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Salam kenal, ' to the response array. tag name is text 
-----------------------
10-11-2025 14:20:55.70436[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:20:55.70437[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Salam kenal, 
)

 
-----------------------
10-11-2025 14:20:55.70437[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:20:55.70438[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Salam kenal, ' 
-----------------------
10-11-2025 14:20:55.70439[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Salam kenal, ' to the response array. tag name is template. 
-----------------------
10-11-2025 14:20:55.70439[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:20:55.70440[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element star at level 1. element XML = <star/> 
-----------------------
10-11-2025 14:20:55.70441[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:20:55.70441[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:20:55.70442[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
10-11-2025 14:20:55.70442[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:20:55.70443[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => kenalkan nama saya abel
    [lookingfor] => KENALKAN NAMA SAYA ABEL
    [category_id] => 394
    [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] => 394
    [stars] => Array
        (
            [1] => abel
        )

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

    [topic_stars] => Array
        (
        )

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

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

 
-----------------------
10-11-2025 14:20:55.70449[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:20:55.70450[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'abel' 
-----------------------
10-11-2025 14:20:55.70450[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'abel' to the response array. tag name is template. 
-----------------------
10-11-2025 14:20:55.70451[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:20:55.70452[4][4] - Elapsed time: 0.008 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:20:55.70452[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 14:20:55.70453[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:20:55.70453[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
10-11-2025 14:20:55.70454[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:20:55.70454[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:20:55.70455[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:20:55.70455[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:20:55.70456[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:20:55.70456[4][4] - Elapsed time: 0.006 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:20:55.70457[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:20:55.70458[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:20:55.70459[4][4] - Elapsed time: 0.014 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
10-11-2025 14:20:55.70460[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
10-11-2025 14:20:55.70460[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
10-11-2025 14:20:55.70461[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
10-11-2025 14:20:55.70462[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:20:55.70462[4][4] - Elapsed time: 0.009 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:20:55.70463[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:20:55.70464[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:20:55.70464[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
10-11-2025 14:20:55.70465[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
10-11-2025 14:20:55.70465[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
10-11-2025 14:20:55.70466[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:20:55.70466[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:20:55.70467[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:20:55.70467[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][297]
Parsing a STAR tag. 
-----------------------
10-11-2025 14:20:55.70468[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 3. element = <star/> 
-----------------------
10-11-2025 14:20:55.70469[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_star_tag][309]
Current AIML Array:
Array
(
    [user_raw] => kenalkan nama saya abel
    [lookingfor] => KENALKAN NAMA SAYA ABEL
    [category_id] => 394
    [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] => 394
    [stars] => Array
        (
            [1] => abel
        )

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

    [topic_stars] => Array
        (
        )

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

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

)

 
-----------------------
10-11-2025 14:20:55.70474[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:20:55.70475[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:20:55.70475[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => abel
)

 
-----------------------
10-11-2025 14:20:55.70476[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:20:55.70476[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'abel' 
-----------------------
10-11-2025 14:20:55.70478[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'nama' to the client properties array. Value is 'abel' 
-----------------------
10-11-2025 14:20:55.70478[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] => abel
)
 
-----------------------
10-11-2025 14:20:55.70502[2][4] - Elapsed time: 0.242 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][582]
Inserting data into the DB 
-----------------------
10-11-2025 14:20:55.70520[4][4] - Elapsed time: 0.173 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'abel' to the response array. tag name is set 
-----------------------
10-11-2025 14:20:55.70521[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 14:20:55.70521[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => abel
        )

)

 
-----------------------
10-11-2025 14:20:55.70522[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
10-11-2025 14:20:55.70523[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:20:55.70523[2][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => abel
)

 
-----------------------
10-11-2025 14:20:55.70524[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:20:55.70524[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'abel' 
-----------------------
10-11-2025 14:20:55.70525[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:20:55.70525[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:20:55.70526[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

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

 
-----------------------
10-11-2025 14:20:55.70529[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:20:55.70530[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Salam kenal, abel ! Terima kasih sudah memperkenalkan diri. ' 
-----------------------
10-11-2025 14:20:55.70531[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][47]
Completed parsing the template. The bot will say: Salam kenal, abel ! Terima kasih sudah memperkenalkan diri. 
-----------------------
10-11-2025 14:20:55.70532[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
10-11-2025 14:20:55.70532[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:20:55.70533[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, abel ! Terima kasih sudah memperkenalkan diri.' to the front of the [that_raw] array 
-----------------------
10-11-2025 14:20:55.70533[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
10-11-2025 14:20:55.70542[2][4] - Elapsed time: 0.081 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, abel ! Terima kasih sudah memperkenalkan diri.' to the front of the [that] array 
-----------------------
10-11-2025 14:20:55.70543[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
10-11-2025 14:20:55.70544[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Salam kenal, abel !' 
-----------------------
10-11-2025 14:20:55.70544[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Salam kenal, abel !' 
-----------------------
10-11-2025 14:20:55.70545[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'SALAM KENAL ABEL' 
-----------------------
10-11-2025 14:20:55.70546[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'SALAM KENAL ABEL' 
-----------------------
10-11-2025 14:20:55.70547[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:20:55.70547[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Terima kasih sudah memperkenalkan diri.' 
-----------------------
10-11-2025 14:20:55.70548[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:20:55.70548[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'TERIMA KASIH SUDAH MEMPERKENALKAN DIRI' 
-----------------------
10-11-2025 14:20:55.70549[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Salam kenal, abel ! Terima kasih sudah memperkenalkan diri.' to the front of the [parsed_template] array 
-----------------------
10-11-2025 14:20:55.70550[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
10-11-2025 14:20:55.70551[2][4] - Elapsed time: 0.009 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:20:55.70551[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
10-11-2025 14:20:55.70552[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
10-11-2025 14:20:55.70554[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 abel',
      'Salam kenal, abel ! Terima kasih sudah memperkenalkan diri.',
      68,
      '522df217495dd8f25c2e8435ae571212',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
10-11-2025 14:20:55.70774[4][4] - Elapsed time: 2.199 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
10-11-2025 14:20:55.70791[3][4] - Elapsed time: 0.178 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:20:55.70814[2][4] - Elapsed time: 0.226 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
10-11-2025 14:20:55.70815[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
10-11-2025 14:20:55.70816[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
10-11-2025 14:20:55.70818[4][4] - Elapsed time: 0.028 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"522df217495dd8f25c2e8435ae571212","usersay":"kenalkan nama saya abel","botsay":"Salam kenal, abel ! Terima kasih sudah memperkenalkan diri.","botData":{"convo_id":"522df217495dd8f25c2e8435ae571212","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"68","totallines":1,"user_name":"Seeker","rawSay":"kenalkan nama saya abel","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":"394","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":"394","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:20:55.70862[2][4] - Elapsed time: 0.433 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
10-11-2025 14:20:55.70866[0][4] - Elapsed time: 0.040 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 17.637 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => kenalkan nama saya abel
    [conversation] => Array
        (
            [convo_id] => 522df217495dd8f25c2e8435ae571212
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 68
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => kenalkan nama saya abel
            [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] => 394
                    [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] => 394
                    [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 abel
            [lookingfor] => KENALKAN NAMA SAYA ABEL
            [category_id] => 394
            [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] => 394
            [stars] => Array
                (
                    [1] => abel
                )

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

            [topic_stars] => Array
                (
                )

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

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

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

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

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

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

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

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

    [parsed_template] => Array
        (
            [1] => Salam kenal, abel ! 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":"522df217495dd8f25c2e8435ae571212","usersay":"kenalkan nama saya abel","botsay":"Salam kenal, abel ! Terima kasih sudah memperkenalkan diri.","botData":{"convo_id":"522df217495dd8f25c2e8435ae571212","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"68","totallines":1,"user_name":"Seeker","rawSay":"kenalkan nama saya abel","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":"394","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":"394","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: 17.637 Milliseconds. Goodbye.