Skip to content

Commit

Permalink
[Simulated function calling] specify that only one tool call can be p…
Browse files Browse the repository at this point in the history
…erformed at a time (elastic#193556)

## Summary

Title.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
pgayvallet and elasticmachine authored Sep 20, 2024
1 parent cf6e8b5 commit 374351a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export function getSystemMessageInstructions({
IMPORTANT: make sure you start and end a tool call with the ${TOOL_USE_START} and ${TOOL_USE_END} markers, it MUST
be included in the tool call.
You can only call A SINGLE TOOL at a time. Do not call multiple tools, or multiple times the same tool, in the same
response.
You may call tools like this:
${TOOL_USE_START}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ export function getSystemMessageInstructions({
IMPORTANT: make sure you start and end a tool call with the ${TOOL_USE_START} and ${TOOL_USE_END} markers, it MUST
be included in the tool call.
You can only call A SINGLE TOOL at a time. Do not call multiple tools, or multiple times the same tool, in the same
response.
You may call tools like this:
${TOOL_USE_START}
Expand Down

0 comments on commit 374351a

Please sign in to comment.