We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e42bd42 commit f7cf64cCopy full SHA for f7cf64c
packages/cdk/resources/BedrockPrompts.ts
@@ -13,7 +13,11 @@ export class BedrockPrompts extends Construct {
13
14
this.queryReformulationPrompt = new BedrockPrompt(this, "QueryReformulationPrompt", {
15
promptName: `${props.stackName}-queryReformulation`,
16
- promptText: "PLACEHOLDER",
+ 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}}`,
21
description: "Prompt for reformulating user queries to improve RAG retrieval"
22
})
23
}
0 commit comments