Skip to content

Commit 95e120e

Browse files
author
PHAN Xuan Quang
committed
fix done
1 parent 3ea5d13 commit 95e120e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: EngAce.Api/Controllers/DictionaryController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public async Task<ActionResult<string>> Search(string keyword, string? context,
8989
catch (Exception ex)
9090
{
9191
_logger.LogError(ex, "Cannot search for the explaination of '{Keyword}' in the context '{Context}'", keyword, context);
92-
return Created("Success", "## CẢNH BÁO\n EngAce đang bận đi pha cà phê nên tạm thời vắng mặt. yêu vui lòng ngồi chơi 3 phút rồi tra lại thử nha.\nYêu bé yêu nhiều lắm luôn á!");
92+
return Created("Success", "## CẢNH BÁO\n EngAce đang bận đi pha cà phê nên tạm thời vắng mặt. Bạn yêu vui lòng ngồi chơi 3 phút rồi tra lại thử nha.\nYêu bạn hiền nhiều lắm luôn á!");
9393
}
9494
}
9595
}

Diff for: Events/HealthcheckScope.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public static class HealthcheckScope
44
{
55
public static async Task<string> Healthcheck(string apiKey)
66
{
7-
var prompt = "Say 'Hello World' to me!";
7+
var prompt = "Say `I am Gemini` to me!";
88
return await Gemini.Generator.GenerateContent(apiKey, "You are my helpful assistant", prompt, false, 10);
99
}
1010
}

Diff for: Events/QuizScope.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public static async Task<List<string>> SuggestTopcis(string apiKey, EnglishLevel
223223
promptBuilder.AppendLine("This is the decription of my English proficiency according to the CEFR standard:");
224224
promptBuilder.AppendLine(GetLevelDescription(level));
225225
promptBuilder.AppendLine();
226-
promptBuilder.AppendLine("Please suggest at least 40 completely different topics, each containing fewer than 5 words, that you think are most suitable and interesting for practicing English and match the description of my CEFR level as mentioned above.");
226+
promptBuilder.AppendLine("Please suggest at least 20 completely different topics, each containing fewer than 5 words, that you think are most suitable and interesting for practicing English and match the description of my CEFR level as mentioned above.");
227227
promptBuilder.AppendLine("The topics should cover a variety of themes, such as daily life, culture, education, environment, travel, etc., to keep the practice diverse and engaging.");
228228
promptBuilder.AppendLine();
229229
promptBuilder.AppendLine("The list of suggested topics should be returned as a JSON array corresponding to the List<string> data type in C# programming language.");

0 commit comments

Comments
 (0)