Skip to content

Commit 9da72b8

Browse files
author
Fabien Ric
committed
wip function calling guide
1 parent fcef22b commit 9da72b8

File tree

1 file changed

+1
-1
lines changed
  • pages/public_cloud/ai_machine_learning/endpoints_guide_06_function_calling

1 file changed

+1
-1
lines changed

pages/public_cloud/ai_machine_learning/endpoints_guide_06_function_calling/guide.en-gb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Follow the following instructions in the [AI Endpoints - Getting Started](/pages
4545
The workflow to use function calling is described below:
4646
1. **Define tools**: tell the model what tools it can use, with a JSON schema for each tool.
4747
2. **Call the model with tools**: pass tools along with your system and user messages to the model, which will eventually generate tool calls.
48-
3. **Process tools calls**: for each tool calls returned by the model, execute the actual implementation of the tool in your code.
48+
3. **Process tools calls**: for each tool call returned by the model, execute the actual implementation of the tool in your code.
4949
4. **Call the model with tools responses**: send a new request to the model, with the conversation updated with tool calls results.
5050
4. **Final response**: process the final generated answer, which takes the tools results into account.
5151

0 commit comments

Comments
 (0)