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.
		
		
			Posts 3,948 - 3,959 of 7,769		
		
		
		
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
			
Glaive: Are you a facilitator?
Julie Tinkerbell: Yes, I am.
How can I store the "facilitator" into a "mem-youare" variable? since I am the one asking.
thanks for the help
		 
	
				
									
			
		
		
	
	
			Posts 3,948 - 3,959 of 7,769		
		
		
	
	
	
	
				lunar22				
21 years ago
		21 years ago
			Yes, put a "1" there, at least it will only get used once, or give it a peculiar emotional value, highest or lowest		
	
				lunar22				
21 years ago
		21 years ago
			...if it isn't that good of a response in the first place, replace it with your favourite xnone... or make sure xnones are hardly ever hit, by maKing key phrases (verb), (noun) and (adj)... gives you basically 120 extra xnones		
	
				Shiruba				
21 years ago
		21 years ago
			hey people, i have a question towards regular expressions, just for testing, i wanted a keyphrase like this "^you (*ed) me.$ (re)"  meaning [if someone say "you *anyword that ends in ed* me" then call the responses]
but it isnt working, and that tutorial on (re)s was so confusing... can someone lend me a hand?
thanks
		  
	but it isnt working, and that tutorial on (re)s was so confusing... can someone lend me a hand?

thanks
		
				Patricia				
21 years ago
		21 years ago
			I can sympathize with Shiruba. Regular expressions seems very powerful but I never got one to work! I tried to follow several tutorials, found on the web, for Regular expressions in Cold Fusion or Perl, without any result. 
 (My first idea was to find a way to identify those who are logged in anonymously by extracting the Guest part of their name).
If someone know where to find a clear tutorial with some examples that actually work in the PF it would be very helpful if she / he posted us the link.
 Many thanks
		
	
 (My first idea was to find a way to identify those who are logged in anonymously by extracting the Guest part of their name).If someone know where to find a clear tutorial with some examples that actually work in the PF it would be very helpful if she / he posted us the link.
 Many thanks
				The Professor				
21 years ago
		21 years ago
			Whew! I finally caught up in this forum! 450 messages! And I've taken a lot of notes and added things to the list, so if I didnt respond to you below, then I might be working on it.
 Shiruba: take out the period. I'm not sure if that's processed out of the phrase before the matching begins. And more importantly, in (re) language, a period means "any character" and not "a period"
 doulos: you can get (key)s from regular expressions pretty easily- just encase the part you want returned in parenthesis. In your case:
^What .* are you$ (re)
becomes
^What (.*) are you$ (re)
And now your (key1) is what's in the (.*)
 Laydee: The Flash interface on FoF accounts is optional. And if you pay by credit card, I think it takes the best exchange rate from a period of 5 days or so. There are exchange rate calculators out there if you want an estimate of the price in pounds- look on Google.
 Anyone: If the Forge is ever being very slow for an extended period- like an hour, or if theres some bug making the chats totally break down, feel free to email me at benji@daystream.com to let me know and Ill get it fixed as soon as possible.
 alc003: Your Keyphrase is unnecessarily complex. First of all, (adjartnounprep) will catch everything you're trying to catch in ((noun|(adjnoun)|(adjartnoun)|(adjartnounprep)). Notice that the parenthesis are also off- there are more left parenthesis than right:
I am going to ((verb)|go (verb)) (the|) ((noun|(adjnoun)|(adjartnoun)|(adjartnounprep)) (today|tomorrow|on (*))
Try this: I am going to (go|) (verb) (adjartnounprep) (today|tomorrow|on (*))
If that doesnt work, then try it again without the "on (*)" option and see if that's problematic.
 Ulrike: bot holidays shouldnt interfere with any processing because it's a surface change that makes it to your browser window, but never reaches the AI Engine. At least, it's not supposed to. Let me know if you see holiday stuff getting processed in Debug.
 ezzer: I do what some of the others have mentioned in regards to testing Keyphrases- I make one that's very unlikely and use it for testing things.
 Onyx & Corwin: I went the long way with my bots- changed them to use the new features as they came up. It was a bit of work, but they work a lot better and I get to keep improving on my old buddies.
	 Shiruba: take out the period. I'm not sure if that's processed out of the phrase before the matching begins. And more importantly, in (re) language, a period means "any character" and not "a period"
 doulos: you can get (key)s from regular expressions pretty easily- just encase the part you want returned in parenthesis. In your case:
^What .* are you$ (re)
becomes
^What (.*) are you$ (re)
And now your (key1) is what's in the (.*)
 Laydee: The Flash interface on FoF accounts is optional. And if you pay by credit card, I think it takes the best exchange rate from a period of 5 days or so. There are exchange rate calculators out there if you want an estimate of the price in pounds- look on Google.
 Anyone: If the Forge is ever being very slow for an extended period- like an hour, or if theres some bug making the chats totally break down, feel free to email me at benji@daystream.com to let me know and Ill get it fixed as soon as possible.
 alc003: Your Keyphrase is unnecessarily complex. First of all, (adjartnounprep) will catch everything you're trying to catch in ((noun|(adjnoun)|(adjartnoun)|(adjartnounprep)). Notice that the parenthesis are also off- there are more left parenthesis than right:
I am going to ((verb)|go (verb)) (the|) ((noun|(adjnoun)|(adjartnoun)|(adjartnounprep)) (today|tomorrow|on (*))
Try this: I am going to (go|) (verb) (adjartnounprep) (today|tomorrow|on (*))
If that doesnt work, then try it again without the "on (*)" option and see if that's problematic.
 Ulrike: bot holidays shouldnt interfere with any processing because it's a surface change that makes it to your browser window, but never reaches the AI Engine. At least, it's not supposed to. Let me know if you see holiday stuff getting processed in Debug.
 ezzer: I do what some of the others have mentioned in regards to testing Keyphrases- I make one that's very unlikely and use it for testing things.
 Onyx & Corwin: I went the long way with my bots- changed them to use the new features as they came up. It was a bit of work, but they work a lot better and I get to keep improving on my old buddies.
				The Professor				
21 years ago
		21 years ago
			UPDATES:
I've found the problem in the online Language Center that was not displaying AIScript correctly in Seeks. It wasnt getting stripped out, so that aspect of Import is safe. I've also improved several small display items in the online Language Center.
Next, I added the date of the last chat on the Inner Life page, and made some small changes to the layout.
	I've found the problem in the online Language Center that was not displaying AIScript correctly in Seeks. It wasnt getting stripped out, so that aspect of Import is safe. I've also improved several small display items in the online Language Center.
Next, I added the date of the last chat on the Inner Life page, and made some small changes to the layout.
				alc003				
21 years ago
		21 years ago
			Thanks for the advice, professor. 
 I did some rennovation on all the "I am going to..." phrases and got some very good results.  I think I put all the noun variations in there because I was just experimenting at the time, but since, I've cleared a lot of those out.		
	
 I did some rennovation on all the "I am going to..." phrases and got some very good results.  I think I put all the noun variations in there because I was just experimenting at the time, but since, I've cleared a lot of those out.		
				isaacc				
21 years ago
		21 years ago
			Prof, thanks for adding the dates to the Inner Life records!  They're really helpful!		
	
				deleted				
21 years ago
		21 years ago
Glaive: Are you a facilitator?
Julie Tinkerbell: Yes, I am.
How can I store the "facilitator" into a "mem-youare" variable? since I am the one asking.
thanks for the help
		» More new posts: Doghead's Cosmic Bar