Skip to content

Commit

Permalink
update prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
abeatrix committed Jul 28, 2023
1 parent 504900a commit 457a3a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shared/src/prompt/prompt-mixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class PromptMixin {
*/
public static mixInto(humanMessage: InteractionMessage): InteractionMessage {
const rules =
"Rules: Provide full workable code as code snippets. Reference only verified file names/paths. Don't make assumptions or fabricate information. Think step-by-step. Answer only if certain or tell me you don't know."
"Answer questions using the shared context without making assumptions or fabricating additional details. If my request requires you to generate new code snippets, make sure to include complete workable code, not fragments. If you do not have enough information to answer, tell me you don't know."
const mixins = [...this.mixins, ...this.customMixin].map(mixin => mixin.prompt).join('\n\n')
if (mixins) {
// Stuff the prompt mixins at the start of the human text.
Expand Down

0 comments on commit 457a3a2

Please sign in to comment.