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 4,142 - 4,153 of 7,769		
		
		
		
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
			Problem with...ahem...recognizing foul language.
So Frizella appears to have stopped recognizing "shit" as a keyphrase anymore. I was fooling around with her "obscenity filter" (the responses that deal with foul language) and she stopped recognizing "shit" entirely. I haven't tried any other swears (but I will!), and I've removed every last shred of AI script that was associated with "shit", and it is ranked at 50, for emotions from -5 to 5...but when I put "shit" through debut it comes through as blab, and I don't get any "shit" responses.
Ideas? 
	
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
		
	
	
			Posts 4,142 - 4,153 of 7,769		
		
		
	
	
	
	
				ezzer				
20 years ago
		20 years ago
			You can make them stick to their guns by using seeks.  Just add a seek to your xgottago and xgoodbye, and the awkward endings will stop.		
	
				dallymo				
20 years ago
		20 years ago
So Frizella appears to have stopped recognizing "shit" as a keyphrase anymore. I was fooling around with her "obscenity filter" (the responses that deal with foul language) and she stopped recognizing "shit" entirely. I haven't tried any other swears (but I will!), and I've removed every last shred of AI script that was associated with "shit", and it is ranked at 50, for emotions from -5 to 5...but when I put "shit" through debut it comes through as blab, and I don't get any "shit" responses.
Ideas?
				Patricia				
20 years ago
		20 years ago
			"Shit" seems to be one of those words that are not recognised when used alone (or isolated by commas, semi-colums etc.). See Bug Stomp posts 4893 to 4897 for other culprits.		
	
				dallymo				
20 years ago
		20 years ago
			Thanks, Patricia!  Sure enough--the chatter has to give it a little more effort than just a single expletive.  I missed those Bug Stomp reports.
Heh--I meant "debug", not "debut" in my original message. "Introducing...Shit!"
	Heh--I meant "debug", not "debut" in my original message. "Introducing...Shit!"
				djfroggy				
20 years ago
		20 years ago
			Say, is there any way to set a memory to be conditional upon a bot's like/dislike of a person? As in, the bot would only speak good/ill of a person depending on how many smileys are recorded for them?		
	
				Bowchickawowers				
20 years ago
		20 years ago
			Sure!  Just set the emotional range to the right of the keyphrases high (say, between 3-5) for responses for people it likes, and low for people it doesn't.  Be sure to have a response for every emotional range, or at least one all encompassing one, or you'll get "Sorry, there are no valid responses..."		
	
				djfroggy				
20 years ago
		20 years ago
			Won't that depend on the emotional range for the person my bot's chatting with? I was wondering about making it depended on the emotional range of the person in the memory.		
	
				alc003				
20 years ago
		20 years ago
			Quick question:  Do regular expressions work in word lists?  Unfortunately, its a seek from an xnone, so I can't really test it.
Excuse me if this is horribly wrong, but this is what I'm trying to have as that seek.
(what happened|what is going on|see what|I miss something), ^what$ (re), ^no$ (re)
	Excuse me if this is horribly wrong, but this is what I'm trying to have as that seek.
(what happened|what is going on|see what|I miss something), ^what$ (re), ^no$ (re)
				ezzer				
20 years ago
		20 years ago
			No, but would it work if you tried it this way?
(what happened|what is going on|see what|I miss something|no|what)$ (re),
I know that this way changes things a little- it doesn't force "no" or "what" to be at the beginning of the phrase, but they usually are anyway, so it may not matter. Putting the $ at the end of the whole keyphrase may force the other part of your list (what happened|what is going on|see what|I miss something) to be at the end of the phrase, but they also look like they probably would be anyway....maybe your responses would still work?
	(what happened|what is going on|see what|I miss something|no|what)$ (re),
I know that this way changes things a little- it doesn't force "no" or "what" to be at the beginning of the phrase, but they usually are anyway, so it may not matter. Putting the $ at the end of the whole keyphrase may force the other part of your list (what happened|what is going on|see what|I miss something) to be at the end of the phrase, but they also look like they probably would be anyway....maybe your responses would still work?
				revscrj				
20 years ago
		20 years ago
			What is the difference between ending w/ a ' ) ' and ending w/ a ' )$ (re) '   moreover: is the (re) necsessary?  If so, why? 		
	» More new posts: Doghead's Cosmic Bar