Skip to content

Commit

Permalink
Merge pull request #7 from patrykkopycinski/fix/langgraph-esql-dry-run-2
Browse files Browse the repository at this point in the history
Reverts change to x-pack/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/prompts.ts
  • Loading branch information
andrew-goldstein authored Aug 2, 2024
2 parents ead4f3c + 899b1c8 commit d68fd93
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 d68fd93

Please sign in to comment.