Skip to content

Commit bdb9c92

Browse files
chore: test prompt
1 parent 78d984d commit bdb9c92

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/slackBotFunction/app/services/bedrock.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ def query_bedrock(user_query: str, session_id: str = None) -> RetrieveAndGenerat
6767
],
6868
}
6969
},
70+
"promptTemplate": {
71+
"textPromptTemplate": """You are a question answering agent.
72+
I will provide you with a set of search results and a user's question,
73+
your job is to answer the user's question using only information from the search results.
74+
75+
$conversation_history$
76+
77+
Here are the search results in numbered order:
78+
$search_results$
79+
80+
$output_format_instructions$"""
81+
},
7082
},
7183
},
7284
},

0 commit comments

Comments
 (0)