Skip to content

Commit

Permalink
fix done
Browse files Browse the repository at this point in the history
  • Loading branch information
PHAN Xuan Quang committed Nov 16, 2024
1 parent 3ea5d13 commit 95e120e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion EngAce.Api/Controllers/DictionaryController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public async Task<ActionResult<string>> Search(string keyword, string? context,
catch (Exception ex)
{
_logger.LogError(ex, "Cannot search for the explaination of '{Keyword}' in the context '{Context}'", keyword, context);
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 á!");
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 á!");
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Events/HealthcheckScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public static class HealthcheckScope
{
public static async Task<string> Healthcheck(string apiKey)
{
var prompt = "Say 'Hello World' to me!";
var prompt = "Say `I am Gemini` to me!";
return await Gemini.Generator.GenerateContent(apiKey, "You are my helpful assistant", prompt, false, 10);
}
}
Expand Down
2 changes: 1 addition & 1 deletion Events/QuizScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public static async Task<List<string>> SuggestTopcis(string apiKey, EnglishLevel
promptBuilder.AppendLine("This is the decription of my English proficiency according to the CEFR standard:");
promptBuilder.AppendLine(GetLevelDescription(level));
promptBuilder.AppendLine();
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.");
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.");
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.");
promptBuilder.AppendLine();
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.");
Expand Down

0 comments on commit 95e120e

Please sign in to comment.