-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from mbektchiev/CHAT-1412-thai-support
[CHAT-1412]: Add Thai to `Empty` sample
- Loading branch information
Showing
3 changed files
with
190 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"conversations": { | ||
"welcome": { | ||
"type": "support", | ||
"steps": [ | ||
{ | ||
"type": "message", | ||
"messages": [ | ||
"นี่คือข้อความต้อนรับสำหรับ Chatbot" | ||
] | ||
}, | ||
{ | ||
"type": "conversation", | ||
"conversation": "help", | ||
"conditions": [ | ||
"{{$not ($has conversation) }}" | ||
] | ||
} | ||
] | ||
}, | ||
"help": { | ||
"type": "support", | ||
"steps": [ | ||
{ | ||
"type": "message", | ||
"messages": [ | ||
[ | ||
"หากพบปัญหาการใช้งาน คุณสามารถเริ่มต้นบทสนทนาใหม่ได้ โดยพิมพ์ว่า 'เริ่มใหม่'" | ||
] | ||
] | ||
} | ||
] | ||
}, | ||
"restart": { | ||
"type": "support", | ||
"steps": [ | ||
{ | ||
"type": "message", | ||
"messages": [ | ||
"บทสนทนาของคุณได้เริ่มต้นใหม่" | ||
] | ||
}, | ||
{ | ||
"type": "conversation", | ||
"conversation": "welcome" | ||
} | ||
] | ||
} | ||
}, | ||
"settings": { | ||
"invalid-replies": [ | ||
"ฉันไม่เข้าใจสิ่งที่คุณพูด" | ||
], | ||
"general-failure": [ | ||
"เรากำลังประสบปัญหาทางเทคนิคขณะนี้" | ||
], | ||
"previous-conversation-messages": [ | ||
"ฉันกำลังกลับไปที่ {{ conversationDisplayName }}" | ||
] | ||
}, | ||
"commands": { | ||
"NEXT-PAGE": [ | ||
"ถัดไป 5" | ||
], | ||
"RESTART": [ | ||
"เริ่มต้นใหม่", | ||
"restart" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"scenarios": [ | ||
{ | ||
"it": "introduces itself and enters into a conversation", | ||
"steps": [ | ||
{ | ||
"user": { | ||
"text": "สวัสดี" | ||
}, | ||
"bot": [ | ||
[ | ||
{ | ||
"text": "นี่คือข้อความต้อนรับสำหรับ Chatbot" | ||
}, | ||
{ | ||
"text": "หากพบปัญหาการใช้งาน คุณสามารถเริ่มต้นบทสนทนาใหม่ได้ โดยพิมพ์ว่า 'เริ่มใหม่'" | ||
} | ||
] | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
{ | ||
"entity-definitions": [ | ||
{ | ||
"name": "Conversation", | ||
"lookup-strategy": "trait", | ||
"data": [ | ||
{ | ||
"value": "restart", | ||
"expressions": [ | ||
"เริ่มใหม่", | ||
"เริ่มใหม่ได้ไหม", | ||
"โปรดเริ่มใหม่", | ||
"เริ่มใหม่อีกครั้ง", | ||
"เริ่มต้นบทสนทนาใหม่", | ||
"ฉันต้องการเริ่มใหม่", | ||
"เราสามารถเริ่มบทสนทนาใหม่ได้ไหม", | ||
"ฉันต้องการเริ่มบทสนทนาใหม่" | ||
] | ||
}, | ||
{ | ||
"value": "help", | ||
"expressions": [ | ||
"รายการความช่วยเหลือ", | ||
"ไม่แน่ใจว่าต้องทำอะไร", | ||
"คุณมีประโยชน์หรือเปล่า", | ||
"คุณถูกสร้างมาเพื่ออะไร", | ||
"วิธีทำ", | ||
"คุณสามารถทำอะไรได้บ้าง", | ||
"ต้องการคำแนะนำ", | ||
"มีตัวเลือกอะไรบ้าง", | ||
"ช่วยฉัน", | ||
"ฉันรู้สึกสับสน", | ||
"คุณฉลาดหรือเปล่า", | ||
"อะไรทำให้คุณพิเศษ", | ||
"คำสั่ง", | ||
"ฉันงง", | ||
"ฉันไม่รู้ต้องทำอย่างไร ฉันต้องการความช่วยเหลือ", | ||
"หยุด", | ||
"เมนู" | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "SmallTalk", | ||
"lookup-strategy": "QnA", | ||
"data": [ | ||
{ | ||
"value": "goodbye", | ||
"expressions": [ | ||
"ลาก่อน", | ||
"โอเค ลาก่อน", | ||
"เยี่ยม ลาก่อน", | ||
"ขอให้วันนี้เป็นวันที่ดี", | ||
"ขอให้เป็นวันหยุดที่ดี", | ||
"ไว้คุยกันครั้งหน้า", | ||
"ฉันอยู่บ้างนอก", | ||
"ฉันต้องไปแล้ว", | ||
"ฉันต้องไปแล้ว ขอบคุณ", | ||
"ไว้พบกันใหม่", | ||
"แล้วพบกันใหม่", | ||
"เยี่ยม แล้วพบกันใหม่", | ||
"โชคดี", | ||
"ด้วยความเคารพ", | ||
"ฝันดี" | ||
], | ||
"answers": [ | ||
"แล้วพบกันใหม่", | ||
"ลาก่อน" | ||
] | ||
}, | ||
{ | ||
"value": "thanks", | ||
"expressions": [ | ||
"ขอบคุณ", | ||
"ขอบคุณเช่นกัน", | ||
"ขอบคุณ bot", | ||
"โอเค ขอบคุณ", | ||
"เยี่ยม ขอบคุณ", | ||
"ขอบคุณสำหรับความช่วยเหลือ", | ||
"ขอบคุณอีกครั้ง", | ||
"ขอบคุณมาก", | ||
"ฉันรู้ ขอบคุณ", | ||
"ขอบคุณที่แสดงสิ่งนั้น", | ||
"คุณเยี่ยมจริง ๆ", | ||
"คุณช่วยฉันไว้" | ||
], | ||
"answers": [ | ||
"ด้วยความยินดี", | ||
"เป็นหน้าที่ของฉันอยู่แล้ว" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |