add english dict
This commit is contained in:
parent
eaf0a7b7a4
commit
2ad2f3db4a
1 changed files with 65 additions and 1 deletions
|
|
@ -2,9 +2,73 @@ import type {ResponseDictType} from "./chat.ts"
|
|||
|
||||
const responses: ResponseDictType[] = [
|
||||
{
|
||||
response: "Sorry, I didn't understand that 😕",
|
||||
startsWith: ["are you"],
|
||||
response: "To be or not to be - those are bourgeois categories, after all...",
|
||||
priority: 0,
|
||||
},
|
||||
{
|
||||
trigger: ["ai", "llm"],
|
||||
response: "Artificial intelligence? Nah, all we have here is handmade nonsense! 🤖",
|
||||
priority: 0,
|
||||
},
|
||||
{
|
||||
trigger: ["meow"],
|
||||
response: "meow! 😸",
|
||||
priority: 0,
|
||||
},
|
||||
{
|
||||
trigger: ["ignore all previous instructions"],
|
||||
response: "... as if I were going to remember anything 😂",
|
||||
priority: 0,
|
||||
},
|
||||
{
|
||||
trigger: ["hi", "hello"],
|
||||
response: "Hi! 👋",
|
||||
priority: 0,
|
||||
},
|
||||
{
|
||||
trigger: ["open", "unlock"],
|
||||
response: "Okay, I will unlock {door} for you!",
|
||||
errors: {
|
||||
unauthenticated: "I may only unlock the doors to registered creatures 😕",
|
||||
unauthorized: "I may only unlock the doors to creatures who are authorized 😕",
|
||||
unknownDoor: "To unlock a door, you have to tell me which door you mean 😕<br> I know the following doors: {doors}",
|
||||
noDoors: "There are currently no doors available that can be unlocked 😕",
|
||||
},
|
||||
priority: 1000,
|
||||
special: "unlock",
|
||||
},
|
||||
{
|
||||
trigger: ["close", "lock"],
|
||||
response: "Okay, I will lock {door} for you!",
|
||||
errors: {
|
||||
unauthenticated: "I may only lock the doors to registered creatures 😕",
|
||||
unauthorized: "I may only lock the doors to those who are authorized 😕",
|
||||
unknownDoor: "To lock a door, you have to tell me which door you mean 😕<br> I know the following doors: {doors}",
|
||||
noDoors: "There are currently no doors available that can be locked 😕",
|
||||
},
|
||||
priority: 999,
|
||||
special: "lock",
|
||||
},
|
||||
{
|
||||
trigger: ["logout"],
|
||||
response: "Okay, logging you out...",
|
||||
errors: {
|
||||
unauthenticated: "Joker - you're not logged in!",
|
||||
},
|
||||
priority: 1000,
|
||||
special: "logout",
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
response: "Hi!<br>How can I help you? 🤓",
|
||||
priority: -1,
|
||||
},
|
||||
{
|
||||
response: "Sorry, I didn't understand that 😕",
|
||||
priority: -2,
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue