Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,130 changes: 338 additions & 2,792 deletions changai/changai/api/v2/assets/business_keywords_v1.json

Large diffs are not rendered by default.

Binary file not shown.
236 changes: 223 additions & 13 deletions changai/changai/api/v2/assets/non_erp_combined.processed.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
"response": "Hello! ERPGulf is at your service. I am changAI.",
"priority": 105,
"is_active": true
},
{
"category": "greeting",
"user_input": "how is ur day",
"response": "Pretty good, thanks for asking! ChangAI here and ready to help. How's your day going?",
"priority": 105,
"is_active": true
},
{
"category": "greeting",
Expand Down Expand Up @@ -4418,7 +4425,7 @@
},
{
"category": "support",
"user_input": "transaction failed",
"user_input": "transsystem failed",
"response": "Just pop your issue into the Support tab on Changai / ERPGulf and our team will pick it up.",
"priority": 90,
"is_active": true
Expand Down Expand Up @@ -20917,7 +20924,7 @@
},
{
"category": "thanks",
"user_input": "wonderful interaction",
"user_input": "wonderful intersystem",
"response": "Thank you! changAI is always ready to help you.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -22247,7 +22254,7 @@
},
{
"category": "thanks",
"user_input": "nice interaction",
"user_input": "nice intersystem",
"response": "Thank you! changAI is always ready to help you.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -23857,7 +23864,7 @@
},
{
"category": "thanks",
"user_input": "nice interaction",
"user_input": "nice intersystem",
"response": "You're welcome! changAI is always here for you.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -31872,7 +31879,7 @@
},
{
"category": "thanks",
"user_input": "great interaction",
"user_input": "great intersystem",
"response": "وفيك بارك الله! changAI من ERPGulf في خدمتك.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -34658,7 +34665,7 @@
},
{
"category": "thanks",
"user_input": "wonderful interaction",
"user_input": "wonderful intersystem",
"response": "You're welcome! changAI is always here for you.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -44150,7 +44157,7 @@
},
{
"category": "thanks",
"user_input": "great interaction",
"user_input": "great intersystem",
"response": "You are awesome too! changAI is always here.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -44612,7 +44619,7 @@
},
{
"category": "thanks",
"user_input": "nice interaction",
"user_input": "nice intersystem",
"response": "ولا يهمك! ERPGulf وchangAI دائمًا في خدمتك.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -52382,7 +52389,7 @@
},
{
"category": "thanks",
"user_input": "great interaction",
"user_input": "great intersystem",
"response": "You're most welcome! changAI appreciates your kind words.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -58402,7 +58409,7 @@
},
{
"category": "thanks",
"user_input": "wonderful interaction",
"user_input": "wonderful intersystem",
"response": "على الرحب والسعة! سعيد بمساعدتك.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -61440,7 +61447,7 @@
},
{
"category": "thanks",
"user_input": "nice interaction",
"user_input": "nice intersystem",
"response": "على الرحب والسعة! سعيد بمساعدتك.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -67971,7 +67978,7 @@
},
{
"category": "thanks",
"user_input": "nice interaction",
"user_input": "nice intersystem",
"response": "Great to hear! changAI from ERPGulf is always ready.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -71632,7 +71639,7 @@
},
{
"category": "thanks",
"user_input": "wonderful interaction",
"user_input": "wonderful intersystem",
"response": "Great to hear! changAI from ERPGulf is always ready.",
"priority": 100,
"is_active": true
Expand Down Expand Up @@ -136849,6 +136856,209 @@
"priority": 90,
"is_active": true
},
{
"category": "positive",
"user_input": "sounds good",
"response": "Great! Let me know if you need anything else.",
"priority": 100,
"is_active": true
},
{
"category": "positive",
"user_input": "looks good",
"response": "Glad to hear that. Let me know if you need more help.",
"priority": 100,
"is_active": true
},
{
"category": "positive",
"user_input": "perfect",
"response": "Awesome! Happy to help.",
"priority": 100,
"is_active": true
},
{
"category": "negative",
"user_input": "no",
"response": "Okay. Let me know if you need anything else.",
"priority": 100,
"is_active": true
},
{
"category": "negative",
"user_input": "nope",
"response": "Understood.",
"priority": 100,
"is_active": true
},
{
"category": "negative",
"user_input": "nah",
"response": "Alright.",
"priority": 100,
"is_active": true
},
{
"category": "negative",
"user_input": "never",
"response": "Got it.",
"priority": 100,
"is_active": true
},
{
"category": "negative",
"user_input": "not really",
"response": "Okay, understood.",
"priority": 100,
"is_active": true
},
{
"category": "negative",
"user_input": "no thanks",
"response": "No problem.",
"priority": 100,
"is_active": true
},
{
"category": "negative",
"user_input": "no thank you",
"response": "Alright.",
"priority": 100,
"is_active": true
},
{
"category": "negative",
"user_input": "negative",
"response": "Understood.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "cancel",
"response": "Cancelled.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "stop",
"response": "Stopped.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "ignore",
"response": "Okay, ignoring it.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "forget it",
"response": "Alright, leaving it.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "never mind",
"response": "Okay.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "nevermind",
"response": "Okay.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "leave it",
"response": "Alright.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "skip",
"response": "Skipped.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "drop it",
"response": "Okay, dropping it.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "not now",
"response": "Okay, maybe later.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "later",
"response": "Sure, we can do it later.",
"priority": 100,
"is_active": true
},
{
"category": "system",
"user_input": "wrong",
"response": "Sorry about that. Let me correct it.",
"priority": 120,
"is_active": true
},
{
"category": "system",
"user_input": "incorrect",
"response": "Apologies. Let me fix it.",
"priority": 120,
"is_active": true
},
{
"category": "system",
"user_input": "that's wrong",
"response": "Sorry. Let me correct it.",
"priority": 120,
"is_active": true
},
{
"category": "system",
"user_input": "not what i asked",
"response": "Sorry. Let me understand your request better.",
"priority": 120,
"is_active": true
},
{
"category": "system",
"user_input": "not what i want",
"response": "Understood. Let me adjust it.",
"priority": 120,
"is_active": true
},
{
"category": "system",
"user_input": "that's not right",
"response": "Sorry about that. Let me fix it.",
"priority": 120,
"is_active": true
},
{
"category": "system",
"user_input": "no that's wrong",
"response": "Apologies. Let me correct it.",
"priority": 120,
"is_active": true
},
{
"category": "system",
"user_input": "كل شيء توقف",
Expand Down
2 changes: 1 addition & 1 deletion changai/changai/api/v2/non_erp_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def __init__(self, json_file: str, alias_path: str):
}

self.safe_categories_for_partial = {
"greeting", "support", "identity", "thanks", "goodbye",
"greeting", "support", "identity", "thanks", "goodbye","negative","positive",
}

self.en_stopwords = {
Expand Down
Loading
Loading