From 2ad2f3db4a705c622d80ee2252f92dd925a22b82 Mon Sep 17 00:00:00 2001 From: kritzl Date: Fri, 15 May 2026 11:37:41 +0200 Subject: [PATCH] add english dict --- app/src/assets/chatDict_en.ts | 66 ++++++++++++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/app/src/assets/chatDict_en.ts b/app/src/assets/chatDict_en.ts index 43cc35d..efcb319 100644 --- a/app/src/assets/chatDict_en.ts +++ b/app/src/assets/chatDict_en.ts @@ -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 😕
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 😕
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!
How can I help you? 🤓", priority: -1, }, + { + response: "Sorry, I didn't understand that 😕", + priority: -2, + }, ]