Skip to content

Commit aa6ab24

Browse files
authored
Merge pull request #802 from nminaya/gemini-improvements
Gemini prompt improvement
2 parents 74ace9f + 6c237f2 commit aa6ab24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GrammarNazi.Core/Services/GrammarServices/GeminiApiService.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ private string GetCorrectionPrompt(string text)
5454
: $"The language is {SelectedLanguage.GetDescription()}";
5555

5656
return @$"Analyze the following text for any grammar, spelling, or orthographic errors. For each mistake, provide the result in the JSON format below. {languageSection}.
57-
Build the results in that same language. If the word doesn't have possibleReplacements, don't add it to the results.
57+
Build the results in that same language. Only provide a RFC8259 compliant JSON response without deviation.
5858
5959
[{{
6060

0 commit comments

Comments
 (0)