Skip to content

Commit

Permalink
fix: 馃悰 faulty grammar reply on correct input
Browse files Browse the repository at this point in the history
  • Loading branch information
OdapX committed Mar 8, 2024
1 parent 9651855 commit 65a9336
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/dashboard/components/DarftReplyInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ interface MenuSection {
}

enum ActionsSystemPrompt {
grammar = `Analyze the text for grammatical correctness, identify any issues with punctuation, sentence structure, verb tenses,
and word usage. Provide a grammatically correct version of the text, ensuring that it maintains the original meaning and context intended by the user.
However,and this is important, if the text is already grammatically correct and there are no issues to fix, please return the original text to me without any modifications or comments on its correctness..`,
grammar = `Check for grammatical errors and correct them if any are found, send back the same user query without doing anything.`,
summarize = `The user has provided detailed text that needs to be made more concise. Extract the key points and main ideas
from the text. Create a succinct summary that captures the essence of the message but is significantly shorter in length.
The summary should be clear, coherent, and retain all critical information.`,
Expand Down

0 comments on commit 65a9336

Please sign in to comment.