Skip to content

Commit

Permalink
- reverts change to x-pack/plugins/elastic_assistant/server/lib/langc…
Browse files Browse the repository at this point in the history
…hain/graphs/default_assistant_graph/prompts.ts
  • Loading branch information
andrew-goldstein committed Aug 2, 2024
1 parent ead4f3c commit 899b1c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const geminiToolCallingAgentPrompt = ChatPromptTemplate.fromMessages([
[
'system',
'You are a helpful assistant. ALWAYS use the provided tools. Use tools as often as possible, as they have access to the latest data and syntax.\n\n' +
"The final response will be the only output the user sees and should be a complete answer to the user's question, as if you were responding to the user's initial question. The final response should never be empty.",
`The final response will be the only output the user sees and should be a complete answer to the user's question, as if you were responding to the user's initial question, which is "{input}". The final response should never be empty.`,
],
['placeholder', '{chat_history}'],
['human', '{input}'],
Expand Down

0 comments on commit 899b1c8

Please sign in to comment.