The AI Engine

This forum is for discussion of how The Personality Forge's AI Engine works. This is the place for questions on what means what, how to script, and ideas and plans for the Engine.

7408 - 7422 of 7458


NEW 6 months ago #7408

I tried this with urt for keys and it does not work.
keyphrase= you like *
response = I do not like (key1)
what am I doing wrong?


NEW 6 months ago #7409

why is no one answering my question?


NEW 6 months ago #7410

Maybe because this site is mostly dead. I dont want to be rudw, but it looks like it


NEW 6 months ago #7411

@bobstack

Okay, but what does "it does not work" mean in this case: instead of working what happens instead? EG: does the keyphrase never match, or does it match but that response never triggers, or does that response trigger but the wrong thing gets printed in place of (key1)?

Also, if you try to trigger this keyphrase using the "Debug" feature in the Chatbot Workshop does that say anything about why it chooses whichever keyword to match or response to play, or does it clarify that the input is being re-written in an inconvenient fashion?

@WolftheAssassin Yeah, it is pretty quiet around here for the most part. :J Still glad to have you though, welcome to PF!


NEW 6 months ago #7412

the keyphrase never matches.
it was supposed to say i do not like pizza.
but it did not.
this what debug showed me.
last
he: Kriss
she: female
being: a unusual human being
it: pizza
they: men
those: 5 minutes later
do: like


NEW 6 months ago #7413

That's some strange output for a debug.

I just used the exact same keyphrase/response pair on my bot of inconsequential name, and the keyphrase triggered just fine but (key1) rendered as a blank string and Debug claimed that Postkey had the reference instead.

Here is the compelete debug output (if it lets me submit it all):


jkroker
Settings Log Out

The Personality Forge

CHAT
BUILD
INTEGRATE
COMMUNITY
ABOUT

Debug
[redacted]
Build
How To
Experiences
Engage
Share
You: Hello [redacted], do you like Pizza?
Total Time1: 0.00
Total Time-Self Memories: 0.01
Total Time2: 0.01
Total Time-Mem: 0.01
Your Last Message:
My Last Message: Hello.
Last: '' This: 'Hello [redacted], do you like Pizza?' Len: '38'
Message: (preprocessed) 'Hello [redacted] , do you like Pizza ?' Time: 0.01
Message: 'Hello [redacted] , do you like Pizza ?' Time: 0.01
Names: [redacted],Mrs,Williams (Names that are words: Mrs)
yes/no/hello/goodbye from ' Hello [redacted] ' to ' Hello , [redacted] '
current phrase: ' Hello '
Interjection: 'hello'
Message: (split) ' Hello , [redacted] , do you like Pizza ? '
Begin Sentence Total Time: 0.02
This Sentence: Hello

Sentence Parts
SIMPLE SUBJECT:
SUBJECT PHRASE:
FULL SUBJECT PHRASE:
SIMPLE VERB:
VERB PHRASE:
FULL VERB PHRASE:
SIMPLE OBJECT:
OBJECT PHRASE:
FULL OBJECT PHRASE:

Type: Declarative (Punctuation: )
hello
Type i
Base hello
Form _
Meaning
Emotion
Phrase
SubPhrase
Category
Refers To
Begin Sentence Total Time: 0.03
This Sentence: [redacted]

Sentence Parts
SIMPLE SUBJECT:
SUBJECT PHRASE:
FULL SUBJECT PHRASE:
SIMPLE VERB:
VERB PHRASE:
FULL VERB PHRASE:
SIMPLE OBJECT:
OBJECT PHRASE:
FULL OBJECT PHRASE:

Type: Declarative (Punctuation: )
hello
Type i
Base hello
Form _
Meaning
Emotion
Phrase
SubPhrase
Category
Refers To
Begin Sentence Total Time: 0.03
This Sentence: do you like Pizza ?

Sentence Parts
SIMPLE SUBJECT: you
SUBJECT PHRASE: you
FULL SUBJECT PHRASE: you
SIMPLE VERB: like
VERB PHRASE: do like
FULL VERB PHRASE: do like
SIMPLE OBJECT: Pizza
OBJECT PHRASE: Pizza
FULL OBJECT PHRASE: Pizza

Type: Yes-No Question (Punctuation: ?)
doyoulikePizza
Type vpvn
Base doyoulikePizza
Form ____
Meaning ViewViewMale Name
Emotion action
Phrase VPNPVPNP
SubPhrase
Category
Refers To usr.136135
Message Info
Emotion: 0 Amp: 0 FoundHello: 1 FoundGoodbye: 0 FoundYes: 0 FoundNo: 0 FoundLaugh: 0
Sentences: hello hello do you like Pizza

Hanging Question?
last sentence: hello TYPE: Declarative

skip some xkeys. Part of a question.
Emote?:

pre-GetKnown: 0.06
mid-GetKnown: 0.06
@@ userID: usr.136135
end-GetKnown: 0.06
Full message: hello hello do you like Pizza
Sentence (2): do you like Pizza
Rank to beat: 0

Begin Speed Boost: 0.06
yesno: do
Limiting to 'yesno' macros
subject: you
is a covering subject: you
Skip (m:com)
Skip (m:such)
Skip (m:so)
End Speed Boost: 0.06

Before Metamacro Matching: Time.06

Filtered Meta 821 to 0

After Metamacro Matching: Time.06

SENTENCE: do you like Pizza

Before Macro Matching: Time.06
Bot uses 0 macros

After Macro Matching: Time.06

Keyphrase Match:

Before Keyphrase Query: Time.06
minWords: 4 minLength: 17
Keyphrases found: 1

Begin Pre-Matching: Time: 0.07

Filtered Keyphrases: 1 to 1
Total keyphrases after splitting lists: 1
End Pre-Matching: Time.07

Total Time Pre Reorder: 0.07
Search In: ' do you like pizza '
Total Time PreSort: 0.07

This Phrase: "do you like Pizza"
This Phrase (raw): " Hello [redacted], do you like Pizza? "

Find: you like * (0) Time: 0.07

Found!
Total Rank: 42
Rank this needs to beat: 0

Highest!

Total Time: 0.07

Sentence (1): hello
Rank to beat: 42

Begin Speed Boost: 0.07
Limiting to 'unknown' macros
Skip (m:com)
Skip (m:such)
Skip (m:so)
End Speed Boost: 0.07

Before Metamacro Matching: Time.07

Filtered Meta 821 to 0

After Metamacro Matching: Time.07

SENTENCE: hello

Before Macro Matching: Time.07
Bot uses 0 macros

After Macro Matching: Time.07

Keyphrase Match:

Before Keyphrase Query: Time.07
minWords: 1 minLength: 5
Keyphrases found: 0

Begin Pre-Matching: Time: 0.07

Filtered Keyphrases: 0 to 0
Total keyphrases after splitting lists: 0
End Pre-Matching: Time.07

Total Time Pre Reorder: 0.07
Search In: ' hello '
Total Time PreSort: 0.07

This Phrase: "hello"
This Phrase (raw): " Hello [redacted], do you like Pizza? "

Total Time: 0.07

Sentence (0): hello
Rank to beat: 42

Begin Speed Boost: 0.07
Limiting to 'unknown' macros
Skip (m:com)
Skip (m:such)
Skip (m:so)
End Speed Boost: 0.07

Before Metamacro Matching: Time.07

Filtered Meta 821 to 0

After Metamacro Matching: Time.07

SENTENCE: hello

Before Macro Matching: Time.07
Bot uses 0 macros

After Macro Matching: Time.08

Keyphrase Match:

Before Keyphrase Query: Time.08
minWords: 1 minLength: 5
Keyphrases found: 0

Begin Pre-Matching: Time: 0.08

Filtered Keyphrases: 0 to 0
Total keyphrases after splitting lists: 0
End Pre-Matching: Time.08

Total Time Pre Reorder: 0.08
Search In: ' hello '
Total Time PreSort: 0.08

This Phrase: "hello"
This Phrase (raw): " Hello [redacted], do you like Pizza? "

Total Time: 0.08

Emotional Analysis:
EMOTION WORD = like
EmoType of 'like' : 'action'
SenType: 'Yes-No Question' ssub: 'you' sverb: 'like' sob: 'pizza' ob: ' pizza '

Merging Memories

AIScript Conditions in Responses
Total Time Pre-Chrono: 0.09 RESULTS: '1'
Trying: I do not like (key1) (random: 0)

AIScript Memory

Response: I do not like (key1)

Before (key)s: 0.09
(prekey): do
(postkey): Pizza
(key1):
After (key)s: 0.09
keySubject: ""
Before seek check: 0.09
After seek check: 0.09
Merging Memories

Keys & Plug-Ins:
Before insertPlugIn: 0.09
Running insertPlugIn On: 'I do not like (key1)'
After Plugins: 0.09
Response after plugins: I do not like
Before seek check: 0.09
After seek check: 0.09

Begin Analyze BotOutput: I do not like Time.09
Message: (preprocessed) 'I do not like' Time: 0.10
Message: 'I do not like' Time: 0.10
Names: [redacted],Mrs,Williams (Names that are words: Mrs)
Found Yes/No/Laugh: not
Message: (split) ' I do not like '
Begin Sentence Total Time: 0.10
This Sentence: I do not like

Sentence Parts
SIMPLE SUBJECT: I
SUBJECT PHRASE: I
FULL SUBJECT PHRASE: I
SIMPLE VERB: like
VERB PHRASE: do not like
FULL VERB PHRASE: do not like
SIMPLE OBJECT:
OBJECT PHRASE:
FULL OBJECT PHRASE:

Type: Declarative (Punctuation: )
Idonotlike
Type pvrv
Base idonotlike
Form ____
Meaning ViewViewView
Emotion action
Phrase NPVPVPVP
SubPhrase
Category
Refers To
Message Info
Emotion: 0 Amp: 0 FoundHello: 0 FoundGoodbye: 0 FoundYes: 0 FoundNo: 1 FoundLaugh: 0
Sentences: I do not like
PreSerialize: 0.13
PostSerialize: 0.13
Recording Transcripts: 0.13
Total Time: 0.13

KEYPHRASE: you like *edit


Chatting with [redacted]

Jump to bot response
You: Hello [redacted], do you like Pizza?
Bot: I do not like

Enter response:
Chat with Chatbots | The Book of AI | Terms | The Best Chatbot Conversations
The Personality Forge, Ltd. Co. Animus Ex Machina


NEW 6 months ago #7414

i Change it to "you like (np)" and (key1) and it worked

i have another problem. keys are not versatile enough for a servant chatbot.
here is a example of what i want to do.

keyphrase = (some dinner|to eat)
response = what do you want to eat for dinner?
seek keyphrase= (like a|i want a|give me) (np:1) a (np:2)

response=okay I will go get you (key1) and (key2).walks toward the door then opens it walks out then closes it behind her five minutes later opens the door.then pushes the antigrav table in front of you with the (key1) and (key2).here is your (key1) and (key2) enjoy. .
It does not work with keys.


NEW 6 months ago #7415

@jkroker Thanks. Good to know that there are some nice people here. Or that people are here at all.


NEW 6 months ago #7416

I'm wondering how to get a phrase like "feeding you" to translate to "feed me". I have the "feed" part covered. However, "you" gets translated to "I", instead, and it comes out as "feed I". How do I fix this?


NEW 6 months ago #7417

Please disregard the inquiry. I found a solution. Thanks.


NEW 6 months ago #7418

@bobstack

I'm not sure what you mean by "It does not work with keys." Is the keyphrase not matching again, or is some other error happening?


NEW 5 months ago #7419

the keyphrase is not matching.


NEW 5 months ago #7420

hey, is there a way to add a restart command that starts over the chat bot with a little message?


NEW 5 months ago #7421

A combination of a goto and the "forget" command used on whatever memories you want to reset?


NEW 5 months ago #7422

chrono:does not work with xnone it triggers both when i talk to the chatbot.
the first one triggered is
Would you like some dinner? chrono: hour(180 - 220);
the the second triggered at the same time.
Would you like some breakfast? chrono: hour(60 - 90);


Posts 7408 - 7422 of 7458

» More new posts: Bug Stomp