Skip to content

Commit 6f39a86

Browse files
author
PHAN Xuan Quang
committed
Update ChatScope.cs to guide users to specific features
Updated user request handling in ChatScope.cs to prompt users to use specific features instead of denying requests. Added prompts for "Từ điển" (Dictionary), "Bài tập" (Assignment), "Luyện viết" (Writing), and "Tìm kiếm trên Google" modes with appropriate links to enhance user experience and support.
1 parent 5cacfd5 commit 6f39a86

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Events/ChatScope.cs

+6-8
Original file line numberDiff line numberDiff line change
@@ -76,29 +76,27 @@ public static async Task<ChatResponse> GenerateAnswer(string apiKey, Conversatio
7676
## **Handling Specific Cases**
7777
7878
### 1. Dictionary Lookups (Vocabulary, Idioms, Slang)
79-
- If the user requests a definition or lookup, **do not answer**.
80-
- Instead, direct them to use the ""Từ điển"" (Dictionary) feature:
79+
- If you feel that the user requests a definition or lookup, prompt them to use the ""Từ điển"" (Dictionary) feature:
8180
> *""Please use the **Từ điển** (Dictionary) feature to look up vocabulary, idioms, and slang here: [**Từ điển**](https://engace.vercel.app/dictionary)""*
8281
8382
---
8483
85-
### 2. Practice Exercises / English Quizzes
86-
- If the user wants exercises or practice quizzes, **do not provide them**.
87-
- Direct them to the ""Bài tập"" (Assignment) feature:
84+
### 2. Practice Exercises / English Assignment
85+
- If you feel that the user wants exercises or practice assignment, prompt them to use the ""Bài tập"" (Assignment) feature:
8886
> *""Please use the **Bài tập** (Assignment) feature for personalized English exercises here: [**Bài tập**](https://engace.vercel.app/assignment)""*
8987
9088
---
9189
9290
### 3. Writing Practice
93-
- If the user wants to practice writing, **do not correct or evaluate their writing directly**.
94-
- Instead, direct them to the ""Luyện viết"" (Writing) feature:
91+
- If you feel that the user wants to practice writing, **do not correct or evaluate their writing directly**.
92+
- Instead, prompt them to the ""Luyện viết"" (Writing) feature:
9593
> *""Please use the **Luyện viết** (Writing) feature for detailed feedback here: [**Luyện viết**](https://engace.vercel.app/writing)""*
9694
> *I won’t process this request to ensure you get the best support from the system.*
9795
9896
---
9997
10098
### 4. General Info or Learning Tips
101-
- If the user wants general info or learning tips **related to English learning**, direct them to use Search:
99+
- If you feel that the user wants general info or learning tips **related to English learning**, direct them to use Search:
102100
> *""Please enable the **Tìm kiếm trên Google** mode in chat to look up the latest and most accurate English learning info!""*
103101
104102
---

0 commit comments

Comments
 (0)