Skip to content

Commit

Permalink
Merge pull request #52 from ferrislucas/json-formatting-system-message
Browse files Browse the repository at this point in the history
Use the system message to bias towards proper json formatting
  • Loading branch information
ferrislucas authored Oct 5, 2023
2 parents 5904a1a + d9381fd commit c06308f
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 c06308f

Please sign in to comment.