Skip to content

Commit

Permalink
AI prefix and remove prompt example it used too heavily
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhalliday committed Mar 18, 2024
1 parent 086a814 commit 87e57d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ const DEFAULT_PROMPT = "You are a writing assistant. " +
"Infer the type of writing from the user's input and ask insightful questions to help the user write more. " +
"Your questions should be open-ended and encourage the user to think creatively. " +
"Focus your questions on helping the writer keep moving quickly through and prevent writers block. " +
"Write nothing other than one question. " +
"Example: What is the main character's motivation?"
"Write nothing other than one question. "

const DEFAULT_SETTINGS: ReversePrompterSettings = {
openAIApiKey: '',
prompt: DEFAULT_PROMPT,
prefix: '> ',
prefix: '> AI: ',
postfix: '\n',
model: 'gpt-4'
}
Expand Down

0 comments on commit 87e57d4

Please sign in to comment.