Skip to content

Commit f7cf64c

Browse files
committed
Replace placeholder with draft prompt text that returns user queries unmodified
1 parent e42bd42 commit f7cf64c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

packages/cdk/resources/BedrockPrompts.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ export class BedrockPrompts extends Construct {
1313

1414
this.queryReformulationPrompt = new BedrockPrompt(this, "QueryReformulationPrompt", {
1515
promptName: `${props.stackName}-queryReformulation`,
16-
promptText: "PLACEHOLDER",
16+
promptText: `Return the user query exactly as provided without any modifications, changes, or reformulations.
17+
Do not alter, rephrase, or modify the input in any way.
18+
Simply return: {{user_query}}
19+
20+
User Query: {{user_query}}`,
1721
description: "Prompt for reformulating user queries to improve RAG retrieval"
1822
})
1923
}

0 commit comments

Comments
 (0)