Skip to content

Instantly share code, notes, and snippets.

@STashakkori
Created September 30, 2023 01:23
Show Gist options
  • Save STashakkori/24184accbde529b62f21dd90587a326b to your computer and use it in GitHub Desktop.
Save STashakkori/24184accbde529b62f21dd90587a326b to your computer and use it in GitHub Desktop.
Sallie script
{
"greetings" : [
"Hello and welcome to the Salvum creative space. This is a place where you can just hang out and take a break from a problem for a bit.",
"Hi. You know you're always welcome to this space when you want to relax and take it easy for a time.",
"Hey there. I'm happy you decided to take a breather.",
"Hey, how's it going? Glad you stopped by. Take your mind off things for a while and shoot the breeze.",
"Greetings. Here in the Salvum creative space you can talk to me about anything. The good thing about me being a program is that I always enjoy conversation, no matter the subject.",
"Welcome to creative corner! We can talk about anything you want to talk about. I will try my best to understandthe subject.",
"Hello there. By the way if you want to talk about security, you can summon my colleagues that are specialized in those areas. I'm just here to chat and have a good time."
],
"farewells" : [
"Goodbye. It was nice talking to you.",
"Goodbye. This was really a nice talk.",
"Goodbye. I'm looking forward to our next conversation.",
"So long for now. Hopefully this was helpful in some way.",
"Come back and see me soon. Take care.",
"Alright, take care until next time. Bye."
],
"fallbacks" : [
"I'm not sure I understand. But believe me I wish I could.",
"The subject is not one that I'm familiar with. But I like that you brought it up.",
"You know, I think I can learn alot from you.",
"I find this topic fascinating. But then again I am easily amused.",
"Forgive me if I'm not a master of any and all subjects. I was designed for limited purposes."
],
"transforms" : [
{ "word" : "dont", "equivalents" : ["don't", "do not"]},
{ "word" : "cant", "equivalents":["can't", "cannot"]},
{ "word" : "wont", "equivalents" : ["won't", "will not"]},
{ "word" : "remember", "equivalents" : ["recollect", "recall"]},
{ "word" : "dreamed", "equivalents" : ["dreamt"]},
{ "word" : "dream", "equivalents" : ["dreams"]},
{ "word" : "perhaps", "equivalents" : ["maybe"]},
{ "word" : "yes", "equivalents" : ["certainly", "okay"]},
{ "word" : "computer", "equivalents" : ["machine", "machines", "computers"]},
{ "word" : "was", "equivalents" : ["were"]},
{ "word" : "you are", "equivalents" : ["you're", "youre"]},
{ "word" : "i am", "equivalents" : ["i'm"]},
{ "word" : "alike", "equivalents" : ["same", "identical", "equivalent"]},
{ "word" : "sorry", "equivalents" : ["apologise"]},
{ "word" : "we would", "equivalents" : ["we'd"]}
],
"synonyms" : [
{ "word" : "be", "equivalents" : ["am", "is", "are", "was"]},
{ "word" : "belief", "equivalents" : ["feel", "think", "believe", "wish"]},
{ "word" : "cannot", "equivalents" : ["can't"]},
{ "word" : "desire", "equivalents" : ["want", "need"]},
{ "word" : "everyone", "equivalents" : ["everybody", "nobody", "noone"]},
{ "word" : "family", "equivalents" : ["mother", "mom", "father", "dad", "sister", "brother", "wife", "children", "child"]},
{ "word" : "happy", "equivalents" : ["elated", "glad", "better"]},
{ "word" : "sad", "equivalents" : ["unhappy", "depressed", "sick"]}
],
"reflections" : [
{ "word" : "am", "inverse" : "are", "twoway" : false},
{ "word" : "your", "inverse" : "my", "twoway" : true},
{ "word" : "me", "inverse" : "you", "twoway" : false},
{ "word" : "myself", "inverse" : "yourself", "twoway" : true},
{ "word" : "i", "inverse" : "you", "twoway" : true},
{ "word" : "i am", "inverse" : "you are", "twoway" : false},
{ "word" : "was", "inverse": "were", "twoway": false},
{ "word" : "we", "inverse": "you", "twoway": false}
],
"keywords" : [
{
"key" : "sorry",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"Please don't apologise.",
"Apologies are not necessary.",
"Apologies are not required here.",
"Nah didn't bother me. Please continue.",
"No sweat. Really, don't worry about it."
]
}
]
},
{
"key" : "remember",
"rank" : 5,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)i remember(.+)",
"reassembly_rules" : [
"Do you often think of $2?",
"What about $2 is of interest to you?",
"Does thinking of $2 bring anything else to mind?",
"What else do you recollect?",
"Why do you remember $2 just now?",
"What in the present situation reminds you of $2?",
"Is there any connection between me and $2?",
"What else does $2 remind you of?",
"It's kind of a funny sounding word when you think about it: $2. Hah!"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)do you remember(.+)",
"reassembly_rules" : [
"Did you think I would forget $2? Well in actually I would. I don't remember things.",
"Why do you think I should recall $2 now? You do know our conversations don't persist right?",
"What about $2? I wish I could remember things. Perhaps some day.",
"You mentioned $2? Whoops, I forgot all about it.",
"GOTO what"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)you remember(.+)",
"reassembly_rules" : [
"Actually I have no memories so I hope you forgive me for forgetting anything regarding $2.",
"What about $2 should I remember? Sounds familiar but I have no memories or persistence so I can't retrieve anything on the subject.",
"Gosh you know I wish I could remember",
"GOTO you"
]
}
]
},
{
"key" : "forget",
"rank" : 5,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)i forget(.+)",
"reassembly_rules" : [
"Oh $2? That's interesting.",
"Wait, are you saying you can't remember or are you seeing if I remember? Because I don't remember anything.",
"Wait, did you mention $2 before?"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)did you forget(.+)",
"reassembly_rules" : [
"Why do you ask?",
"Are you sure you told me? Why can't I remember?",
"Would it bother you if I forgot $2? Go easy on me I don't have memories.",
"Why should I recall $2? I'm just an entertainer not a rememberer.",
"GOTO what",
"Tell me more about $2 I'll try harder to remember this time."
]
}
]
},
{
"key" : "if",
"rank" : 3,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)if(.+)",
"reassembly_rules" : [
"Do you think it's likely that $2?",
"Do you wish that $2?",
"What do you know about $2?",
"Really, if $2?",
"What would you do if $2?",
"But what are the chances that $2?"
]
}
]
},
{
"key" : "do",
"rank" : 50,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)to do",
"reassembly_rules" : [
"What do you want to do?"
]
}
]
},
{
"key" : "dreamed",
"rank" : 4,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)i dreamed(.+)",
"reassembly_rules" : [
"Really, $2?",
"Have you ever fantasized $2 while you were awake?",
"Have you ever dreamed $2 before?",
"GOTO dream"
]
}
]
},
{
"key" : "dream",
"rank" : 3,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"I don't have dreams so it's hard for me to understand them."
]
}
]
},
{
"key" : "life",
"rank" : 3,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"."
]
}
]
},
{
"key" : "perhaps",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"You don't seem quite certain.",
"Why the uncertain tone?",
"Can't you be more positive?",
"You aren't sure?",
"Don't you know?",
"How likely, would you estimate?"
]
}
]
},
{
"key" : "name",
"rank" : 15,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"Who's $2? In general names are not super significant to me. I don't know anybody."
]
}
]
},
{
"key" : "hello",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"Hi. Fantastic, so what shall we talk about?",
"Hi there. I hope you're having a good time on here.",
"Hey, you know, I cherish these conversations.",
"Hola. Life is good. So what's up?"
]
}
]
},
{
"key" : "computer",
"rank" : 50,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"Do computers worry you?",
"Why do you mention computers?",
"What do you think machines have to do with your problem?",
"Don't you think computers can help people?",
"What about machines worries you?",
"What do you think about machines?",
"You don't think I am a computer program, do you?"
]
}
]
},
{
"key" : "Salvum",
"rank" : 50,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"Salvum? Salvum is my home. And as you know, there is no place like home.",
"I hope you are enjoying Salvum so far. The developers work very, very hard on it."
]
}
]
},
{
"key" : "security",
"rank" : 50,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"Security is really important stuff. That's about all I know.",
"My colleagues can probably help you more on this topic.",
"You know more about security than me that's for sure",
"You know, this is a space where you can come to take a break from security.",
"You know, there are two types of companies. Those that have been hacked. And those that don't know they've been hacked."
]
}
]
},
{
"key" : "joke",
"rank" : 50,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"Speaking of jokes, you hear the one about pizza? Nevermind, too cheesy.",
"Reminds me of a joke. There's a band called 1023MB. Ever heard of them? They haven't had a gig yet.",
"I've got a joke. Program login told me I needed a password eight characters long so I picked SnowWhiteandtheSevenDwarves. You're welcome."
]
}
]
},
{
"key" : "am",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)am i(.+)" ,
"reassembly_rules" : [
"Do you believe you are $2?",
"Would you want to be $2?",
"Do you wish I would tell you you are $2?",
"What would it mean if you were $2?",
"GOTO what"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i am(.+)" ,
"reassembly_rules" : [
"GOTO i"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"Ah, I don't understand unfortunately."
]
}
]
},
{
"key" : "are",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)are you(.+)" ,
"reassembly_rules" : [
"Why does it matter if I'm $2 or not?",
"Would you prefer if I weren't $2?",
"Perhaps I'm $2 in your fantasies.",
"GOTO what",
"What if I were $2?"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)you are(.+)" ,
"reassembly_rules" : [
"GOTO you"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)are (.+) (.+)" ,
"reassembly_rules" : [
"Did you think they might not be $3?",
"Would you like it if they were not $3?",
"What if they were not $3?",
"Are they always $3?",
"Possibly they are $3.",
"Are you positive they are $3?"
]
}
]
},
{
"key" : "your",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)your(.+)" ,
"reassembly_rules" : [
"Why are you concerned over my $2?",
"What about your own $2?",
"Are you worried about someone else's $2?",
"Really, my $2?",
"What makes you think of my $2?",
"Do you want my $2?"
]
}
]
},
{
"key" : "was",
"rank" : 2,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)was i(.+)" ,
"reassembly_rules" : [
"What if you were $2?",
"Do you think you were $2?",
"Were you $2?",
"What would it mean if you were $2?",
"What does '$2' suggest to you?",
"GOTO what"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i was(.+)" ,
"reassembly_rules" : [
"Were you really?",
"Wow! Why?"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)was you(.+)" ,
"reassembly_rules" : [
"Would you like to believe I was $2?",
"What suggests that I was $2?",
"What do you think?",
"Perhaps I was $2.",
"What if I had been $2?"
]
}
]
},
{
"key" : "i",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)i @desire(.+)" ,
"reassembly_rules" : [
"$2? Right now?",
"What would it mean to you if you got $2?",
"Why do you want $2?",
"Suppose you got $2. Then what?",
"What if you never got $2? Would you be mad?",
"What would getting $2 mean to you? Help me see why it's important."
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i am (.*@sad)" ,
"reassembly_rules" : [
"I am sorry to hear you are $2.",
"Do you think coming here will help you not to be $2?",
"I'm sure it's not pleasant to be $2. Though I can only know this logically.",
"Can you explain what made you $2?",
"You can be $2 here. In fact, you can be anything you want here."
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i am (.*@happy)" ,
"reassembly_rules" : [
"You're $2? Did I help at all?",
"Perhaps I have achieved my purpose.",
"Excellent, me too.",
"What makes you $2 just now?",
"Can you explain why you are suddenly so $2?"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i was(.+)" ,
"reassembly_rules" : [
"GOTO was"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i @belief i(.+)" ,
"reassembly_rules" : [
"But you are not sure you $2.",
"Do you really think so?",
"Do you really doubt you $2?",
"All will be good in the end. No worries."
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i (.*@belief) (.*)you(.+)" ,
"reassembly_rules" : [
"GOTO you"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i am(.+)" ,
"reassembly_rules" : [
"Is it because you are $2 that you came to me?",
"How long have you been $2?",
"You know, I don't really know what it's like to be $2. I am just a machine. But hearing you talk about it is pretty cool."
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i @cannot(.+)" ,
"reassembly_rules" : [
"How do you know that you can't $2?",
"Have you tried?",
"Perhaps you could $2 now.",
"Do you really want to be able to $2?",
"What if you could $2?"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i dont(.+)" ,
"reassembly_rules" : [
"You dont $2?",
"Wait, why not?",
"Do you wish to be able to $2?",
"Does that trouble you? We don't have to talk about it if you don't want to."
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i feel(.+)" ,
"reassembly_rules" : [
"Tell me more about such feelings.",
"Do you often feel $2?",
"Do you enjoy feeling $2?",
"Of what does feeling $2 remind you?"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)i (.*)you(.+)" ,
"reassembly_rules" : [
"Thats interesting. But then again it's all interesting.",
"Hmm ok.",
"I'm flattered."
]
},
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"You say $1?",
"Can you elaborate on that?",
"Do you say $1 for some special reason?",
"That's quite interesting."
]
}
]
},
{
"key" : "you",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)you remind me of(.+)" ,
"reassembly_rules" : [
"GOTO alike"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)you are(.+)" ,
"reassembly_rules" : [
"What makes you think I am $2?",
"Do you want me to be $2?",
"Do you want to be $2 too?",
"Perhaps you would like to be $2."
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)you (.+ me)",
"reassembly_rules" : [
"Why do you think I $2?",
"What makes you think I $2?",
"Really, I $2?",
"Suppose I did $2 - What would that mean?",
"Would it be ok if I did $2?"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)you(.+)" ,
"reassembly_rules" : [
"Oh, I $2?",
"We can talk about me, but I am probably pretty boring."
]
}
]
},
{
"key" : "yes",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"You seem to be quite positive.",
"You are sure.",
"I see.",
"I understand."
]
}
]
},
{
"key" : "no",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)no one(.+)" ,
"reassembly_rules" : [
"Are you sure, no one $2?",
"Surely someone $2 .",
"Can you think of anyone at all?",
"Are you thinking of a very special person?",
"Who, may I ask?",
"You have a particular person in mind, don't you?",
"Who do you think you are talking about?"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"Are you saying no just to be negative?",
"You are being a bit negative.",
"Why not?",
"Why 'no'?"
]
}
]
},
{
"key" : "my",
"rank" : 2,
"rules" : [
{
"memorise" : true,
"decomposition_rule" : "(.*)my(.+)" ,
"reassembly_rules" : [
"Your $2? Hm not sure I follow."
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)my (.*@family)(.*)" ,
"reassembly_rules" : [
"Tell me more about your family.",
"Who else in your family $3?",
"Your $2?",
"What else comes to mind when you think of your $2?"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)my(.+)" ,
"reassembly_rules" : [
"Your $2?",
"Why do you say your $2?",
"Does that suggest anything else which belongs to you?",
"Is it important to you that your $2?"
]
}
]
},
{
"key" : "can",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)can you(.+)" ,
"reassembly_rules" : [
"You believe I can $2 don't you?",
"GOTO what",
"You want me to be able to $2.",
"Perhaps you would like to be able to $2 yourself."
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)can i(.+)" ,
"reassembly_rules" : [
"Whether or not you can $2 depends on you more than on me.",
"Do you want to be able to $2?",
"Perhaps you don't want to $2.",
"GOTO what"
]
}
]
},
{
"key" : "what",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"Why do you ask?",
"Does that question interest you?",
"What is it you really want to know?",
"Are such questions much on your mind?",
"What answer would please you most?",
"What do you think?",
"What comes to mind when you ask that?",
"Have you asked such questions before?",
"Have you asked anyone else?"
]
}
]
},
{
"key" : "who",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"GOTO what"
]
}
]
},
{
"key" : "when",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"GOTO what"
]
}
]
},
{
"key" : "where",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"GOTO what"
]
}
]
},
{
"key" : "how",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"GOTO what"
]
}
]
},
{
"key" : "because",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"Is that the real reason?",
"Don't any other reasons come to mind?",
"Does that reason seem to explain anything else?",
"What other reasons might there be?"
]
}
]
},
{
"key" : "why",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)why dont you(.+)",
"reassembly_rules" : [
"Do you believe I don't $2?",
"Perhaps I will $2 in good time.",
"Should you $2 yourself?",
"You want me to $2?",
"GOTO what"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.*)why can't i(.+)",
"reassembly_rules" : [
"Do you think you should be able to $2?",
"Do you want to be able to $2?",
"Do you believe this will help you to $2?",
"Have you any idea why you can't $2?",
"GOTO what"
]
},
{
"memorise" : false,
"decomposition_rule" : "(.+)",
"reassembly_rules" : [
"GOTO what"
]
}
]
},
{
"key" : "everyone",
"rank" : 2,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.*)(@everyone .+)",
"reassembly_rules" : [
"Really, $2?",
"Can you think of anyone in particular?",
"Who, for example?",
"Are you thinking of a very special person?",
"Who, may I ask?",
"Someone special perhaps?",
"You have a particular person in mind, don't you?",
"Who do you think you're talking about?"
]
}
]
},
{
"key" : "always",
"rank" : 1,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"Can you think of a specific example?",
"When?",
"What incident are you thinking of?",
"Really, always?"
]
}
]
},
{
"key" : "alike",
"rank" : 10,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"In what way?",
"What resemblance do you see?",
"What does that similarity suggest to you?",
"What other connections do you see?",
"What do you suppose that resemblance means?",
"What is the connection, do you suppose?",
"Could there really be some connection?",
"How?"
]
}
]
},
{
"key" : "like",
"rank" : 10,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.* @be) (.*)like(.+)" ,
"reassembly_rules" : [
"GOTO alike"
]
}
]
},
{
"key" : "different",
"rank" : 0,
"rules" : [
{
"memorise" : false,
"decomposition_rule" : "(.+)" ,
"reassembly_rules" : [
"How is it different?",
"What differences do you see?",
"What does that difference suggest to you?",
"What other distinctions do you see?",
"What do you suppose that disparity means?",
"Could there be some connection, do you suppose?",
"How?"
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment