04-11-2025 15:05:29.09723[0][4] - Elapsed time: 5.213 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 
-----------------------
04-11-2025 15:05:29.09751[4][4] - Elapsed time: 0.285 milliseconds
[load_aimlfunctions.php][Called outside of function][16]
AIML function include files loaded 
-----------------------
04-11-2025 15:05:29.09771[4][4] - Elapsed time: 0.200 milliseconds
[load_convofunctions.php][Called outside of function][16]
Convofunction include files loaded 
-----------------------
04-11-2025 15:05:29.09782[4][4] - Elapsed time: 0.102 milliseconds
[load_userfunctions.php][Called outside of function][14]
userfunctions include files loaded 
-----------------------
04-11-2025 15:05:29.09822[4][4] - Elapsed time: 0.403 milliseconds
[load_addons.php][Called outside of function][19]
Loading addons 
-----------------------
04-11-2025 15:05:29.09823[4][4] - Elapsed time: 0.012 milliseconds
[conversation_start.php][Called outside of function][69]
Loaded all Includes 
-----------------------
04-11-2025 15:05:29.09837[0][4] - Elapsed time: 0.141 milliseconds
[conversation_start.php][Called outside of function][122]
Debug level: 4
session ID = cf9272ec7b36adbb21c014bc0e4a8b96 
-----------------------
04-11-2025 15:05:29.09838[4][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][125]
Conversation continuing. User said 'apa itu siega'. 
-----------------------
04-11-2025 15:05:29.09840[4][4] - Elapsed time: 0.021 milliseconds
[intialise_conversation.php][read_from_session][155]
Reading from session 
-----------------------
04-11-2025 15:05:29.09841[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_default_bot_values][110]
Loading db bot personality properties 
-----------------------
04-11-2025 15:05:29.09842[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; 
-----------------------
04-11-2025 15:05:29.09889[1][4] - Elapsed time: 0.466 milliseconds
[intialise_conversation.php][check_set_convo_id][653]
Cannot find CONVO ID. Using default: cf9272ec7b36adbb21c014bc0e4a8b96 
-----------------------
04-11-2025 15:05:29.09891[2][4] - Elapsed time: 0.020 milliseconds
[intialise_conversation.php][check_set_bot][581]
Checking and/or setting the current bot. 
-----------------------
04-11-2025 15:05:29.09892[3][4] - Elapsed time: 0.011 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; 
-----------------------
04-11-2025 15:05:29.09936[2][4] - Elapsed time: 0.446 milliseconds
[intialise_conversation.php][check_set_bot][616]
BOT ID: 1 
-----------------------
04-11-2025 15:05:29.09938[2][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][check_set_user][672]
Checking and setting the user info, as needed. 
-----------------------
04-11-2025 15:05:29.09976[2][4] - Elapsed time: 0.388 milliseconds
[handle_user.php][intisaliseUser][82]
Initializing user. 
-----------------------
04-11-2025 15:05:29.10000[3][4] - Elapsed time: 0.237 milliseconds
[handle_user.php][intisaliseUser][128]
intisaliseUser #45 SQL: INSERT INTO `users`
        (`id`, `user_name`, `session_id`, `bot_id`, `chatlines`,`ip`, `referer`, `browser`, `date_logged_on` , `last_update`    , `state`)
 VALUES (NULL, 'Seeker'  , 'cf9272ec7b36adbb21c014bc0e4a8b96'   , 1 , '0'        , '202.10.43.135', ''      , 'unknown browser'      , CURRENT_TIMESTAMP, CURRENT_TIMESTAMP, ''     ); 
-----------------------
04-11-2025 15:05:29.10039[3][4] - Elapsed time: 0.390 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` = 45 AND `bot_id` = 1; 
-----------------------
04-11-2025 15:05:29.10062[2][4] - Elapsed time: 0.226 milliseconds
[spell_checker.php][run_spell_checker_say][36]
Starting function and setting timestamp. 
-----------------------
04-11-2025 15:05:29.10070[2][4] - Elapsed time: 0.079 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on apa. 
-----------------------
04-11-2025 15:05:29.10071[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][load_spelling_list][117]
Loading the spellcheck list from the DB. 
-----------------------
04-11-2025 15:05:29.10122[2][4] - Elapsed time: 0.515 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
04-11-2025 15:05:29.10124[2][4] - Elapsed time: 0.016 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on itu. 
-----------------------
04-11-2025 15:05:29.10125[2][4] - Elapsed time: 0.013 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on  . 
-----------------------
04-11-2025 15:05:29.10126[2][4] - Elapsed time: 0.010 milliseconds
[spell_checker.php][spell_check][60]
Preforming a spel chek on siega. 
-----------------------
04-11-2025 15:05:29.10128[4][4] - Elapsed time: 0.018 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'apa itu siega' 
-----------------------
04-11-2025 15:05:29.10142[4][4] - Elapsed time: 0.143 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SIEGA' 
-----------------------
04-11-2025 15:05:29.10143[2][4] - Elapsed time: 0.010 milliseconds
[conversation_start.php][Called outside of function][200]
Details:
User say: APA ITU SIEGA
Convo id: cf9272ec7b36adbb21c014bc0e4a8b96
Bot id: 1
Format:  
-----------------------
04-11-2025 15:05:29.10144[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][check_set_format][752]
Using format: json 
-----------------------
04-11-2025 15:05:29.10145[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_that][769]
Loading the THAT array. 
-----------------------
04-11-2025 15:05:29.10146[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` = 45 AND `bot_id` = 1 ORDER BY `id` DESC limit 10; 
-----------------------
04-11-2025 15:05:29.10220[4][4] - Elapsed time: 0.737 milliseconds
[intialise_conversation.php][load_that][856]
Couldn't find any previous inputs or responses. 
-----------------------
04-11-2025 15:05:29.10264[2][4] - Elapsed time: 0.450 milliseconds
[intialise_conversation.php][load_bot_config][343]
Loading config data for the current bot. 
-----------------------
04-11-2025 15:05:29.10266[3][4] - Elapsed time: 0.012 milliseconds
[intialise_conversation.php][load_bot_config][352]
load bot config SQL: SELECT * FROM `siew8359_dannu`.`bots` WHERE bot_id = 1; 
-----------------------
04-11-2025 15:05:29.10286[4][4] - Elapsed time: 0.207 milliseconds
[intialise_conversation.php][load_bot_config][357]
Loading bot details from the database. 
-----------------------
04-11-2025 15:05:29.10288[0][4] - Elapsed time: 0.013 milliseconds
[conversation_start.php][Called outside of function][220]
Default debug level = 4 
-----------------------
04-11-2025 15:05:29.10288[0][4] - Elapsed time: 0.006 milliseconds
[conversation_start.php][Called outside of function][222]
Current debug level = 4 
-----------------------
04-11-2025 15:05:29.10289[0][4] - Elapsed time: 0.005 milliseconds
[conversation_start.php][Called outside of function][235]
Say = APA ITU SIEGA: raw say = apa itu siega 
-----------------------
04-11-2025 15:05:29.10290[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][add_new_conversation_vars][184]
New conversation vars 
-----------------------
04-11-2025 15:05:29.10290[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'APA ITU SIEGA' to the front of the [user_say] array 
-----------------------
04-11-2025 15:05:29.10293[4][4] - Elapsed time: 0.030 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank user_say array 
-----------------------
04-11-2025 15:05:29.10295[0][4] - Elapsed time: 0.016 milliseconds
[intialise_conversation.php][add_new_conversation_vars][188]
User RAW = apa itu siega, RAW say = apa itu siega 
-----------------------
04-11-2025 15:05:29.10295[2][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'apa itu siega' to the front of the [input] array 
-----------------------
04-11-2025 15:05:29.10296[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank input array 
-----------------------
04-11-2025 15:05:29.10297[4][4] - Elapsed time: 0.009 milliseconds
[make_conversation.php][make_conversation][22]
Making conversation 
-----------------------
04-11-2025 15:05:29.10297[4][4] - Elapsed time: 0.006 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'APA ITU SIEGA' 
-----------------------
04-11-2025 15:05:29.10298[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'APA ITU SIEGA' 
-----------------------
04-11-2025 15:05:29.10299[4][4] - Elapsed time: 0.006 milliseconds
[find_aiml.php][get_aiml_to_parse][909]
Running all functions to get the correct aiml from the DB 
-----------------------
04-11-2025 15:05:29.10328[4][4] - Elapsed time: 0.288 milliseconds
[find_aiml.php][find_userdefined_aiml][821]
Looking for user defined responses 
-----------------------
04-11-2025 15:05:29.10330[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` = 'cf9272ec7b36adbb21c014bc0e4a8b96'
    AND (
        'APA ITU SIEGA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%')))
   ORDER BY `id` ASC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
04-11-2025 15:05:29.10368[2][4] - Elapsed time: 0.383 milliseconds
[find_aiml.php][find_userdefined_aiml][896]
User defined rows found: '0' 
-----------------------
04-11-2025 15:05:29.10369[4][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][975]
Finding the aiml matches from the DB 
-----------------------
04-11-2025 15:05:29.10369[4][4] - Elapsed time: 0.005 milliseconds
[find_aiml.php][find_aiml_matches][981]
Bot ID = 1. Bot Parent ID = 1. 
-----------------------
04-11-2025 15:05:29.10389[4][4] - Elapsed time: 0.200 milliseconds
[find_aiml.php][find_aiml_matches][992]
Stored topic = '' 
-----------------------
04-11-2025 15:05:29.10391[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 (
        'APA ITU SIEGA' LIKE (REPLACE(REPLACE(`pattern`, '*', '%'), '_', '%'))
        OR `pattern` LIKE 'RANDOM PICKUP LINE'
    )
    # ORDER BY `id` ASC, `topic` DESC, `pattern` ASC, `thatpattern` ASC; 
-----------------------
04-11-2025 15:05:29.10439[3][4] - Elapsed time: 0.479 milliseconds
[find_aiml.php][find_aiml_matches][1054]
Query Process time... 
-----------------------
04-11-2025 15:05:29.10439[2][4] - Elapsed time: 0.009 milliseconds
[find_aiml.php][find_aiml_matches][1061]
FOUND: (6) potential AIML matches 
-----------------------
04-11-2025 15:05:29.10461[4][4] - Elapsed time: 0.211 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][48]
NEW FUNC Searching through 6 rows to unset bad matches 
-----------------------
04-11-2025 15:05:29.10461[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 'APA ITU SIEGA' 
-----------------------
04-11-2025 15:05:29.10480[4][4] - Elapsed time: 0.182 milliseconds
[find_aiml.php][unset_all_bad_pattern_matches][195]
Found 2 relevant rows 
-----------------------
04-11-2025 15:05:29.10481[4][4] - Elapsed time: 0.012 milliseconds
[find_aiml.php][score_matches][255]
Scoring the matches. 
-----------------------
04-11-2025 15:05:29.10504[4][4] - Elapsed time: 0.229 milliseconds
[find_aiml.php][score_matches][548]
Sorted array $allrows:
Array
(
    [0] => Array
        (
            [id] => 356
            [bot_id] => 1
            [pattern] => APA ITU SIEGA
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <srai>AKU MAU TANYA SOAL SIEGA</srai>
            [score] => 264
            [current_that] => 
            [aiml_id] => 356
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: itu (2 points), direct word match: siega (2 points)
        )

    [1] => Array
        (
            [id] => 366
            [bot_id] => 1
            [pattern] => *
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <random>
            <li>Maaf, <get name="namaku"/>, aku nggak ngerti maksud kamu.</li>
            <li>Hmm, bisa diulangi dengan kalimat lain?</li>
            <li>Aku masih belajar nih. Coba tanya yang lain.</li>
            <li>Kalau soal itu aku kurang paham.</li>
        </random>
            [score] => 252
            [current_that] => 
            [aiml_id] => 366
            [track_score] => current bot (250 points), no thatpattern to match (1 point), pattern star match (1 points)
        )

)
 
-----------------------
04-11-2025 15:05:29.10506[2][4] - Elapsed time: 0.018 milliseconds
[find_aiml.php][get_highest_scoring_row][642]
Final candidates:

Array
(
    [0] => Array
        (
            [id] => 356
            [bot_id] => 1
            [pattern] => APA ITU SIEGA
            [thatpattern] => 
            [topic] => 
            [filename] => bot.aiml
            [template] => <srai>AKU MAU TANYA SOAL SIEGA</srai>
            [score] => 264
            [current_that] => 
            [aiml_id] => 356
            [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: itu (2 points), direct word match: siega (2 points)
        )

)

 
-----------------------
04-11-2025 15:05:29.10536[4][4] - Elapsed time: 0.302 milliseconds
[find_aiml.php][get_highest_scoring_row][697]
Best Response: Array
(
    [id] => 356
    [bot_id] => 1
    [pattern] => APA ITU SIEGA
    [thatpattern] => 
    [topic] => 
    [filename] => bot.aiml
    [template] => <srai>AKU MAU TANYA SOAL SIEGA</srai>
    [score] => 264
    [current_that] => 
    [aiml_id] => 356
    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: itu (2 points), direct word match: siega (2 points)
)
 
-----------------------
04-11-2025 15:05:29.10537[2][4] - Elapsed time: 0.011 milliseconds
[find_aiml.php][get_highest_scoring_row][698]
No results found, so none to pick from. 
-----------------------
04-11-2025 15:05:29.10538[4][4] - Elapsed time: 0.015 milliseconds
[find_aiml.php][get_aiml_to_parse][960]
Will be parsing id:356 (APA ITU SIEGA) 
-----------------------
04-11-2025 15:05:29.10540[3][4] - Elapsed time: 0.014 milliseconds
[parse_aiml.php][parse_matched_aiml][213]
Run the aiml parse in normal mode (normal or srai) 
-----------------------
04-11-2025 15:05:29.10541[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'APA ITU SIEGA' 
-----------------------
04-11-2025 15:05:29.10541[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
04-11-2025 15:05:29.10542[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
04-11-2025 15:05:29.10543[2][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 356
    [category_id] => 356
    [html_template] => 
    [lookingfor] => APA ITU SIEGA
    [pattern] => APA ITU SIEGA
    [score] => 264
    [stars] => Array
        (
        )

    [template] => <srai>AKU MAU TANYA SOAL SIEGA</srai>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => apa itu siega
)
 
-----------------------
04-11-2025 15:05:29.10543[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parse_aiml_as_XML][22]
Parsing the AIML template as XML 
-----------------------
04-11-2025 15:05:29.10544[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][add_text_tags][93]
Adding some TEXT tags into the template, just because I can... 
-----------------------
04-11-2025 15:05:29.10549[4][4] - Elapsed time: 0.053 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><srai><text>AKU MAU TANYA SOAL SIEGA</text></srai></template> 
-----------------------
04-11-2025 15:05:29.10562[2][4] - Elapsed time: 0.126 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 15:05:29.10566[4][4] - Elapsed time: 0.044 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><srai><text>AKU MAU TANYA SOAL SIEGA</text></srai></template>
 
-----------------------
04-11-2025 15:05:29.10567[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
04-11-2025 15:05:29.10569[2][4] - Elapsed time: 0.018 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 15:05:29.10571[4][4] - Elapsed time: 0.015 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element srai at level 1. element XML = <srai><text>AKU MAU TANYA SOAL SIEGA</text></srai> 
-----------------------
04-11-2025 15:05:29.10572[4][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_srai_tag does exist. Processing now. 
-----------------------
04-11-2025 15:05:29.10573[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element srai to the parse_srai_tag function 
-----------------------
04-11-2025 15:05:29.10573[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][763]
Parsing an SRAI tag. 
-----------------------
04-11-2025 15:05:29.10574[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the srai tag into text. 
-----------------------
04-11-2025 15:05:29.10575[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 15:05:29.10576[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 2. element XML = <text>AKU MAU TANYA SOAL SIEGA</text> 
-----------------------
04-11-2025 15:05:29.10576[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
04-11-2025 15:05:29.10577[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
04-11-2025 15:05:29.10578[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
04-11-2025 15:05:29.10578[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'AKU MAU TANYA SOAL SIEGA' to the response array. tag name is text 
-----------------------
04-11-2025 15:05:29.10579[2][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10579[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => AKU MAU TANYA SOAL SIEGA
        )

)

 
-----------------------
04-11-2025 15:05:29.10580[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10581[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10581[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => AKU MAU TANYA SOAL SIEGA
)

 
-----------------------
04-11-2025 15:05:29.10582[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10582[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'AKU MAU TANYA SOAL SIEGA' 
-----------------------
04-11-2025 15:05:29.10583[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][767]
SRAI parsed to AKU MAU TANYA SOAL SIEGA. 
-----------------------
04-11-2025 15:05:29.10584[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][set_wildcards][297]
Setting Wildcards. Pattern = 'APA ITU SIEGA' 
-----------------------
04-11-2025 15:05:29.10585[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][set_wildcards][329]
Checking for wildcards in pattern-side THAT 
-----------------------
04-11-2025 15:05:29.10585[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][set_wildcards][361]
Checking for wildcards in pattern-side TOPIC 
-----------------------
04-11-2025 15:05:29.10586[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][set_wildcards][394]
AIML array now = Array
(
    [aiml_id] => 356
    [category_id] => 356
    [html_template] => 
    [lookingfor] => AKU MAU TANYA SOAL SIEGA
    [pattern] => APA ITU SIEGA
    [score] => 264
    [stars] => Array
        (
        )

    [template] => <srai>AKU MAU TANYA SOAL SIEGA</srai>
    [thatpattern] => 
    [that_stars] => Array
        (
            [1] => 
        )

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

    [user_raw] => apa itu siega
)
 
-----------------------
04-11-2025 15:05:29.10587[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][410]
Running SRAI. Pattern = 'AKU MAU TANYA SOAL SIEGA'. 
-----------------------
04-11-2025 15:05:29.10588[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][425]
Checking for entries in the srai_lookup table. 
-----------------------
04-11-2025 15:05:29.10588[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][run_srai][426]
azimov bot_id = 1 
-----------------------
04-11-2025 15:05:29.10589[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml.php][run_srai][431]
lookup SQL = select `template_id` from `siew8359_dannu`.`srai_lookup` where `pattern` like '%AKU MAU TANYA SOAL SIEGA%' and ( bot_id = 1 ); 
-----------------------
04-11-2025 15:05:29.10625[2][4] - Elapsed time: 0.361 milliseconds
[parse_aiml.php][run_srai][433]
Result = Array
(
    [0] => Array
        (
            [template_id] => 354
        )

)
 
-----------------------
04-11-2025 15:05:29.10626[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml.php][run_srai][438]
Found 1 rows in lookup table: Array
(
    [0] => Array
        (
            [template_id] => 354
        )

)
 
-----------------------
04-11-2025 15:05:29.10626[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][run_srai][440]
Found a matching entry in the lookup table. Using ID# 354. 
-----------------------
04-11-2025 15:05:29.10644[2][4] - Elapsed time: 0.173 milliseconds
[parse_aiml.php][run_srai][443]
Row found in AIML for ID 354: Array
(
    [template] => <think><set name="topic">SIEGA</set></think>
        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
)
 
-----------------------
04-11-2025 15:05:29.10644[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... 
-----------------------
04-11-2025 15:05:29.10646[4][4] - Elapsed time: 0.012 milliseconds
[parse_aiml_as_XML.php][add_text_tags][120]
Returning template:
<template><think><set name="topic"><text>SIEGA</text></set></think><text>        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?</text></template> 
-----------------------
04-11-2025 15:05:29.10648[2][4] - Elapsed time: 0.029 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 15:05:29.10651[4][4] - Elapsed time: 0.025 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element template at level 0. element XML = <?xml version="1.0"?>
<template><think><set name="topic"><text>SIEGA</text></set></think><text>        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?</text></template>
 
-----------------------
04-11-2025 15:05:29.10652[4][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][242]
function parse_template_tag does not exist. Parsing tag as text. 
-----------------------
04-11-2025 15:05:29.10653[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 15:05:29.10654[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="topic"><text>SIEGA</text></set></think> 
-----------------------
04-11-2025 15:05:29.10654[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_think_tag does exist. Processing now. 
-----------------------
04-11-2025 15:05:29.10655[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element think to the parse_think_tag function 
-----------------------
04-11-2025 15:05:29.10655[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_think_tag][604]
I'm considering parsing a THINK tag. 
-----------------------
04-11-2025 15:05:29.10656[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the think tag into text. 
-----------------------
04-11-2025 15:05:29.10656[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 15:05:29.10657[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element set at level 2. element XML = <set name="topic"><text>SIEGA</text></set> 
-----------------------
04-11-2025 15:05:29.10658[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_set_tag does exist. Processing now. 
-----------------------
04-11-2025 15:05:29.10658[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element set to the parse_set_tag function 
-----------------------
04-11-2025 15:05:29.10659[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][557]
Parsing the SET tag. 
-----------------------
04-11-2025 15:05:29.10660[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][tag_to_string][1400]
converting the set tag into text. 
-----------------------
04-11-2025 15:05:29.10660[2][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 15:05:29.10661[4][4] - Elapsed time: 0.008 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 3. element XML = <text>SIEGA</text> 
-----------------------
04-11-2025 15:05:29.10662[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
04-11-2025 15:05:29.10662[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
04-11-2025 15:05:29.10663[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
04-11-2025 15:05:29.10663[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'SIEGA' to the response array. tag name is text 
-----------------------
04-11-2025 15:05:29.10664[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10664[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => SIEGA
        )

)

 
-----------------------
04-11-2025 15:05:29.10665[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10666[2][4] - Elapsed time: 0.009 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10666[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => SIEGA
)

 
-----------------------
04-11-2025 15:05:29.10667[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10667[4][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'SIEGA' 
-----------------------
04-11-2025 15:05:29.10669[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][568]
Adding 'topic' to the client properties array. Value is 'SIEGA' 
-----------------------
04-11-2025 15:05:29.10669[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][569]
Client properties: Array
(
    [ip_address] => 202.10.43.135
    [name] => Seeker
    [topic] => SIEGA
)
 
-----------------------
04-11-2025 15:05:29.10690[2][4] - Elapsed time: 0.210 milliseconds
[parse_aiml_as_XML.php][parse_set_tag][582]
Inserting data into the DB 
-----------------------
04-11-2025 15:05:29.10709[4][4] - Elapsed time: 0.184 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'SIEGA' to the response array. tag name is set 
-----------------------
04-11-2025 15:05:29.10710[2][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10710[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Array
        (
            [0] => SIEGA
        )

)

 
-----------------------
04-11-2025 15:05:29.10711[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10711[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10712[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => SIEGA
)

 
-----------------------
04-11-2025 15:05:29.10712[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10713[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'SIEGA' 
-----------------------
04-11-2025 15:05:29.10714[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '' to the response array. tag name is think 
-----------------------
04-11-2025 15:05:29.10714[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10715[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
)

 
-----------------------
04-11-2025 15:05:29.10715[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10716[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '' 
-----------------------
04-11-2025 15:05:29.10716[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding '' to the response array. tag name is template. 
-----------------------
04-11-2025 15:05:29.10717[2][4] - Elapsed time: 0.007 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][201]
Recursively parsing the AIML template. 
-----------------------
04-11-2025 15:05:29.10718[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][214]
Processing element text at level 1. element XML = <text>        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?</text> 
-----------------------
04-11-2025 15:05:29.10718[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][225]
Function parse_text_tag does exist. Processing now. 
-----------------------
04-11-2025 15:05:29.10719[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][229]
Passing element text to the parse_text_tag function 
-----------------------
04-11-2025 15:05:29.10719[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][parse_text_tag][281]
Parsing a TEXT tag. 
-----------------------
04-11-2025 15:05:29.10720[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding '        Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the response array. tag name is text 
-----------------------
04-11-2025 15:05:29.10720[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10722[2][4] - Elapsed time: 0.013 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] =>         Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
)

 
-----------------------
04-11-2025 15:05:29.10722[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10723[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning '    Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' 
-----------------------
04-11-2025 15:05:29.10723[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the response array. tag name is template. 
-----------------------
04-11-2025 15:05:29.10724[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10725[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => 
    [1] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
)

 
-----------------------
04-11-2025 15:05:29.10725[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10726[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning ' Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' 
-----------------------
04-11-2025 15:05:29.10726[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][run_srai][458]
Returning results from stored srai lookup. 
-----------------------
04-11-2025 15:05:29.10727[4][4] - Elapsed time: 0.010 milliseconds
[parse_aiml_as_XML.php][parse_srai_tag][771]
Finished parsing SRAI tag 
-----------------------
04-11-2025 15:05:29.10728[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10728[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
 
-----------------------
04-11-2025 15:05:29.10729[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][234]
Adding 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the response array. tag name is srai 
-----------------------
04-11-2025 15:05:29.10729[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10730[2][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
)

 
-----------------------
04-11-2025 15:05:29.10730[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10731[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' 
-----------------------
04-11-2025 15:05:29.10731[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][parseTemplateRecursive][262]
Adding 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the response array. tag name is template. 
-----------------------
04-11-2025 15:05:29.10732[2][4] - Elapsed time: 0.006 milliseconds
[parse_aiml_as_XML.php][implode_recursive][137]
Imploding an array into a string. (recursively, if necessary) 
-----------------------
04-11-2025 15:05:29.10733[2][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][138]
Input: Array
(
    [0] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
)

 
-----------------------
04-11-2025 15:05:29.10733[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml_as_XML.php][implode_recursive][155]
The variable $input is of type array 
-----------------------
04-11-2025 15:05:29.10733[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml_as_XML.php][implode_recursive][185]
Imploding complete. Returning 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' 
-----------------------
04-11-2025 15:05:29.10734[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: Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu? 
-----------------------
04-11-2025 15:05:29.10735[4][4] - Elapsed time: 0.006 milliseconds
[parse_aiml.php][parse_matched_aiml][227]
normal - Saving for next turn 
-----------------------
04-11-2025 15:05:29.10735[4][4] - Elapsed time: 0.006 milliseconds 
[parse_aiml.php][save_for_nextturn][271]
Saving that and that_raw for next turn 
-----------------------
04-11-2025 15:05:29.10736[2][4] - Elapsed time: 0.005 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [that_raw] array 
-----------------------
04-11-2025 15:05:29.10737[4][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that_raw array 
-----------------------
04-11-2025 15:05:29.10744[2][4] - Elapsed time: 0.075 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [that] array 
-----------------------
04-11-2025 15:05:29.10745[4][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank that array 
-----------------------
04-11-2025 15:05:29.10746[4][4] - Elapsed time: 0.011 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Oke, siap!' 
-----------------------
04-11-2025 15:05:29.10747[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Oke, siap!' 
-----------------------
04-11-2025 15:05:29.10748[4][4] - Elapsed time: 0.011 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'OKE SIAP' 
-----------------------
04-11-2025 15:05:29.10749[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'OKE SIAP' 
-----------------------
04-11-2025 15:05:29.10749[4][4] - Elapsed time: 0.005 milliseconds 
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Aku tahu beberapa hal soal SIEGA Unika Soegijapranata.' 
-----------------------
04-11-2025 15:05:29.10750[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Aku tahu beberapa hal soal SIEGA Unika Soegijapranata.' 
-----------------------
04-11-2025 15:05:29.10751[4][4] - Elapsed time: 0.009 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA' 
-----------------------
04-11-2025 15:05:29.10751[4][4] - Elapsed time: 0.004 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA' 
-----------------------
04-11-2025 15:05:29.10751[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][251]
Cleaning up the ~THAT~ tag: 'Mau tanya apa dulu?' 
-----------------------
04-11-2025 15:05:29.10752[4][4] - Elapsed time: 0.005 milliseconds
[misc_functions.php][normalize_text][125]
Begin normalization - text = 'Mau tanya apa dulu?' 
-----------------------
04-11-2025 15:05:29.10753[4][4] - Elapsed time: 0.007 milliseconds
[misc_functions.php][normalize_text][150]
Normalization complete. Text = 'MAU TANYA APA DULU' 
-----------------------
04-11-2025 15:05:29.10753[4][4] - Elapsed time: 0.005 milliseconds
[parse_aiml.php][clean_that][258]
Cleaning Complete. output = 'MAU TANYA APA DULU' 
-----------------------
04-11-2025 15:05:29.10754[2][4] - Elapsed time: 0.010 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing 'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?' to the front of the [parsed_template] array 
-----------------------
04-11-2025 15:05:29.10755[4][4] - Elapsed time: 0.007 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank parsed_template array 
-----------------------
04-11-2025 15:05:29.10756[2][4] - Elapsed time: 0.008 milliseconds
[intialise_conversation.php][push_on_front_convoArr][226]
Pushing '<srai>AKU MAU TANYA SOAL SIEGA</srai>' to the front of the [template] array 
-----------------------
04-11-2025 15:05:29.10756[4][4] - Elapsed time: 0.006 milliseconds
[intialise_conversation.php][load_blank_array_element][62]
Loading blank template array 
-----------------------
04-11-2025 15:05:29.10757[2][4] - Elapsed time: 0.011 milliseconds
[intialise_conversation.php][log_conversation][403]
Saving the conversation to the DB. 
-----------------------
04-11-2025 15:05:29.10758[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 ,
      'apa itu siega',
      'Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?',
      45,
      'cf9272ec7b36adbb21c014bc0e4a8b96',
      1,
      CURRENT_TIMESTAMP
    ) 
-----------------------
04-11-2025 15:05:29.10932[4][4] - Elapsed time: 1.735 milliseconds
[intialise_conversation.php][write_to_session][140]
Saving to session 
-----------------------
04-11-2025 15:05:29.10949[3][4] - Elapsed time: 0.170 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 
-----------------------
04-11-2025 15:05:29.10971[2][4] - Elapsed time: 0.224 milliseconds
[display_conversation.php][get_conversation_to_display][77]
Found '1' lines of conversation 
-----------------------
04-11-2025 15:05:29.10972[4][4] - Elapsed time: 0.010 milliseconds
[display_conversation.php][get_conversation][92]
Processing conversation as json 
-----------------------
04-11-2025 15:05:29.10973[2][4] - Elapsed time: 0.007 milliseconds
[display_conversation.php][get_json][150]
Outputting response as JSON 
-----------------------
04-11-2025 15:05:29.10976[4][4] - Elapsed time: 0.029 milliseconds
[display_conversation.php][get_json][164]
Returning JSON string: {"convo_id":"cf9272ec7b36adbb21c014bc0e4a8b96","usersay":"apa itu siega","botsay":"Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?","botData":{"convo_id":"cf9272ec7b36adbb21c014bc0e4a8b96","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"45","totallines":1,"user_name":"Seeker","rawSay":"apa itu siega","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":"356","bot_id":"1","pattern":"APA ITU SIEGA","thatpattern":"","topic":"","filename":"bot.aiml","template":"<srai>AKU MAU TANYA SOAL SIEGA<\/srai>","score":264,"current_that":"","aiml_id":"356","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: itu (2 points), direct word match: siega (2 points)"}}} 
-----------------------
04-11-2025 15:05:29.11015[2][4] - Elapsed time: 0.388 milliseconds
[conversation_start.php][Called outside of function][260]
Closing Database 
-----------------------
04-11-2025 15:05:29.11019[0][4] - Elapsed time: 0.042 milliseconds
[conversation_start.php][Called outside of function][266]
Conversation Ending. Elapsed time: 18.141 milliseconds. 
-----------------------
Debug Level: 4
-----------------------
Debug Mode: 1
-----------------------
CONVERSATION ARRAY
-----------------------
Array
(
    [say] => apa itu siega
    [conversation] => Array
        (
            [convo_id] => cf9272ec7b36adbb21c014bc0e4a8b96
            [bot_name] => Pedro Salto
            [bot_id] => 1
            [format] => json
            [unknown_user] => Seeker
            [user_id] => 45
            [totallines] => 1
            [user_name] => Seeker
            [rawSay] => apa itu siega
            [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] => 356
                    [bot_id] => 1
                    [pattern] => APA ITU SIEGA
                    [thatpattern] => 
                    [topic] => 
                    [filename] => bot.aiml
                    [template] => <srai>AKU MAU TANYA SOAL SIEGA</srai>
                    [score] => 264
                    [current_that] => 
                    [aiml_id] => 356
                    [track_score] => current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: itu (2 points), direct word match: siega (2 points)
                )

        )

    [aiml] => Array
        (
            [user_raw] => apa itu siega
            [lookingfor] => APA ITU SIEGA
            [category_id] => 356
            [pattern] => APA ITU SIEGA
            [thatpattern] => 
            [template] => <srai>AKU MAU TANYA SOAL SIEGA</srai>
            [html_template] => 
            [topic] => 
            [score] => 264
            [aiml_id] => 356
            [stars] => Array
                (
                )

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

            [topic_stars] => Array
                (
                )

            [parsed_template] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
        )

    [client_properties] => Array
        (
            [ip_address] => 202.10.43.135
            [name] => Seeker
            [topic] => SIEGA
        )

    [time_start] => 1762243529.092
    [user_say] => Array
        (
            [1] => APA ITU SIEGA
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [input] => Array
        (
            [1] => apa itu siega
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [that_raw] => Array
        (
            [1] => Array
                (
                    [1] => 
                    [2] => Mau tanya apa dulu?
                    [3] => Aku tahu beberapa hal soal SIEGA Unika Soegijapranata.
                    [4] => Oke, siap!
                )

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

    [that] => Array
        (
            [1] => Array
                (
                    [1] => MAU TANYA APA DULU
                    [2] => AKU TAHU BEBERAPA HAL SOAL SIEGA UNIKA SOEGIJAPRANATA
                    [3] => OKE SIAP
                )

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

    [parsed_template] => Array
        (
            [1] => Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [template] => Array
        (
            [1] => <srai>AKU MAU TANYA SOAL SIEGA</srai>
            [2] => 
            [3] => 
            [4] => 
            [5] => 
            [6] => 
            [7] => 
            [8] => 
            [9] => 
            [10] => 
        )

    [send_to_user] => {"convo_id":"cf9272ec7b36adbb21c014bc0e4a8b96","usersay":"apa itu siega","botsay":"Oke, siap! Aku tahu beberapa hal soal SIEGA Unika Soegijapranata. Mau tanya apa dulu?","botData":{"convo_id":"cf9272ec7b36adbb21c014bc0e4a8b96","bot_name":"Pedro Salto","bot_id":"1","format":"json","unknown_user":"Seeker","user_id":"45","totallines":1,"user_name":"Seeker","rawSay":"apa itu siega","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":"356","bot_id":"1","pattern":"APA ITU SIEGA","thatpattern":"","topic":"","filename":"bot.aiml","template":"<srai>AKU MAU TANYA SOAL SIEGA<\/srai>","score":264,"current_that":"","aiml_id":"356","track_score":"current bot (250 points), no thatpattern to match (1 point), direct pattern match (7 points), direct word match: apa (2 points), direct word match: itu (2 points), direct word match: siega (2 points)"}}}
)

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