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 7,099 - 7,110 of 7,769		
		
		
		
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
			
				
				
	
		
			
			
			
		
				
									
			
		
		
	
	
			Posts 7,099 - 7,110 of 7,769		
		
		
	
	
	
	
				Greg222				
11 years ago
		11 years ago
			Okay I've found the root of the problem some of the nouns arnt regestering as words and the bot gets confused. So how do I set specific nouns in?		
	
				Mome Rath				
11 years ago
		11 years ago
			Greg222, sorry, I don't quite understand you. Can you please give an example of what you tell your bot, what your bot should respond, and what your bot actually does respond? And what do you mean with specific nouns? (You can just put single words into a keyphrase, and lists of words into a plugin - maybe there even is already a plugin that you can use.)		
	
				Greg222				
11 years ago
		11 years ago
			What I mean is that words that won't regestering such as 'selfie' or 'yolo' count as misspelled words. Is there a way to make it so that those words arn't counted as misspelled?		
	
				prob123				
11 years ago
		11 years ago
			You have to make them regular expressions, and raw. Rank them high. If all else fails stick the word in brackets.
I have tried selfie but it goes to Using xnonsense
Usually you can't get by that. You might contact the Professor
	I have tried selfie but it goes to Using xnonsense
Usually you can't get by that. You might contact the Professor
				prob123				
11 years ago
		11 years ago
			OK this works for I took a selfie, or any sentence with selfie, but not the single word selfie. 
([S]+)([elf]+)([ie]+) (re)
You: he took a selfie
Bot: DUCK LIPS.
	([S]+)([elf]+)([ie]+) (re)
You: he took a selfie
Bot: DUCK LIPS.
				Mome Rath				
11 years ago
		11 years ago
			Greg222
That's what Raw Mode has been made for. If you put the word raw into the AIScript field, no spelling 'correction' is done on the user's input. For more information have a look at the Book of AI.
I'd like to have a personal / bot specific list of words that are regarded as correctly spelled, too.
	That's what Raw Mode has been made for. If you put the word raw into the AIScript field, no spelling 'correction' is done on the user's input. For more information have a look at the Book of AI.
I'd like to have a personal / bot specific list of words that are regarded as correctly spelled, too.
				prob123				
11 years ago
		11 years ago
			Yolo does the same thing 
You: well yolo
Bot: In less there is reincarnation?
works. the single yolo doesn't
^([y]+)([o]+)([lo]+)$ (re) should work for a single word but it isn't.
Caps work.
You: YOLO
Bot: In less there is reincarnation?
	You: well yolo
Bot: In less there is reincarnation?
works. the single yolo doesn't
^([y]+)([o]+)([lo]+)$ (re) should work for a single word but it isn't.
Caps work.
You: YOLO
Bot: In less there is reincarnation?
				Greg222				
11 years ago
		11 years ago
			Thank you. And last thing how do I set up reactions to certain answers. Ex.) How are you? Happy. That's good. And, How are you? Sad? Oh I hope you feel better. I've run into problems having two on one question.		
	
				prob123				
11 years ago
		11 years ago
			Thats a good time to use a seek. You should be able to run many seeks off of one keyphrase. The tic tac toe game is an example of that. http://www.be9.net/BJ/		
	
				Mome Rath				
11 years ago
		11 years ago
			Is there a way to test a user input against a memory (like against a plugin)?
Like this:
Keyphrase: what is (self-favoritefood)
Response: Oh, that happens to be the stuff I like to eat most!
	Like this:
Keyphrase: what is (self-favoritefood)
Response: Oh, that happens to be the stuff I like to eat most!
				prob123				
11 years ago
		11 years ago
			Out side of the if mem self-favoritefood exists,or doesn't exist I can't think of a way. I have plugins for Chinesefood. responses like Let`s get some take out Chinese food! remembering that chinesefood was the topic of conversation. Then on Mexican or Italian food you could say I thought you said Chinese food was your favavorite if mem chinese food exists.		
	
				LadyEdith				
11 years ago
		11 years ago
			I'm trying to get my new bot to be more interactive when learning names. here's the problem. I'll give you an example:
Bot: Hi what's your name?
(seek (*) )
(Script: rem (key1) as only "name")
User: Claudia
Bot: Oh so you're name is Guest!
======= second try, same seek and ai script, same chat session--------
Bot: What is your name?
User: Bob
Bot: Oh so your name is claudia
-----
it doesn't like to put the names with an uppercase first letter as they are typed out and it insists on not processing the new name until another piece of text is inputed.
how do I fix this so that the bot doesn't look like it's getting the name wrong even though it's been processed?
	Bot: Hi what's your name?
(seek (*) )
(Script: rem (key1) as only "name")
User: Claudia
Bot: Oh so you're name is Guest!
======= second try, same seek and ai script, same chat session--------
Bot: What is your name?
User: Bob
Bot: Oh so your name is claudia
-----
it doesn't like to put the names with an uppercase first letter as they are typed out and it insists on not processing the new name until another piece of text is inputed.
how do I fix this so that the bot doesn't look like it's getting the name wrong even though it's been processed?
» More new posts: Doghead's Cosmic Bar