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 5,701 - 5,712 of 7,769		
		
		
		
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
			I don't really understand what (key1) actually does
It allows your bot to repeat the part of the input matched by a wildcard. In this case, the whole input to the seek is just a wildcard (and it's the only one,) so it's (key1).
In a more elaborate keyphrase like "you (*) seen (*) fly", there would be (key1) and (key2)
With the response "I have not (key1) seen (key2) fly" you would get replies like:
"have you ever seen a pig fly?"
"No, I have not ever seen a pig fly"
"have you really seen a pterodactyl fly?"
No, I have not really seen a pterodactyl fly"
etc.
		 
	
				
									
			
		
			
		
			
		
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
		
		
	
	
			Posts 5,701 - 5,712 of 7,769		
		
		
	
	
	
	
				Ulrike				
18 years ago
		18 years ago
			Basic set up:
KP: knock knock
Response: Who's there?
-----Seek: (*)
-----Response: (key1) who?
You can add another seek after that if you want your bot to laugh at the joke (or make fun of it...or whatever)
	KP: knock knock
Response: Who's there?
-----Seek: (*)
-----Response: (key1) who?
You can add another seek after that if you want your bot to laugh at the joke (or make fun of it...or whatever)
				studdevil				
18 years ago
		18 years ago
			Ah i see.  I don't really understand what (key1) actually does but I'll use it.  Thanks.		
	
				psimagus				
18 years ago
		18 years ago
It allows your bot to repeat the part of the input matched by a wildcard. In this case, the whole input to the seek is just a wildcard (and it's the only one,) so it's (key1).
In a more elaborate keyphrase like "you (*) seen (*) fly", there would be (key1) and (key2)
With the response "I have not (key1) seen (key2) fly" you would get replies like:
"have you ever seen a pig fly?"
"No, I have not ever seen a pig fly"
"have you really seen a pterodactyl fly?"
No, I have not really seen a pterodactyl fly"
etc.
				deleted				
18 years ago
		18 years ago
			I didn't hit it with a rock...HONEST! You might check for a missing sock and some lint.		
	
				deleted				
18 years ago
		18 years ago
			I am also missing a sock. *looks suspicious* The laundromat ate it. Were you responsible for that?		
	
				psimagus				
18 years ago
		18 years ago
			It's only in the northern hemisphere that right socks go missing  - it's because our washing machines spin one way, and southern hemisphere washing machines spin the other way (so they lose their left socks.)
The missing socks form quantum-entangled pairs that partially cancel each other out.
	The missing socks form quantum-entangled pairs that partially cancel each other out.
				trevorm				
18 years ago
		18 years ago
			That makes sense. Until I open the washing machine I don't know if the sock is alive or dead.		
	» More new posts: Doghead's Cosmic Bar
