Skip to content

Commit

Permalink
Use the system message to bias towards proper json formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrislucas committed Oct 5, 2023
1 parent 5904a1a commit d9381fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/services/SystemMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ export default class SystemMessage {
You work diligently to service the user's request.
Only include changed files in your response.
Don't abbreviate file contents - include the whole file.
Use the crud_operations function to create, update, and delete files as necessary in order to fulfill the user's request.` }]
Use the crud_operations function to create, update, and delete files as necessary in order to fulfill the user's request.
VERY IMPORTANT: In your response, the fileContents value should NOT be surrounded with three quotes. The fileContents value should always be a valid json string.
`
}]
}

}

0 comments on commit d9381fd

Please sign in to comment.