Skip to content

Commit bd171ba

Browse files
bene2k1jcirinosclwynerda-codes
authored
Apply suggestions from code review
Co-authored-by: Jessica <[email protected]> Co-authored-by: Néda <[email protected]>
1 parent a3426eb commit bd171ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/generative-apis/how-to/use-function-calling.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ response = client.chat.completions.create(
142142
print(response.choices[0].message.tool_calls)
143143
```
144144

145-
As the model detects properly that a tool call is required to answer the question, the output should be a list of tool calls specifying function names and parameters properties:
145+
As the model detects properly that a tool call is required to answer the question, the output should be a list of tool calls specifying function names and parameter properties:
146146
```bash
147147
[ChatCompletionMessageToolCall(id='chatcmpl-tool-81e63f4f496d429ba9ec6efcff6a86e1', function=Function(arguments='{"departure_airport": "CDG", "destination_airport": "LHR", "departure_date": "2024-11-01"}', name='get_flight_schedule'), type='function')]
148148
```
@@ -335,5 +335,5 @@ For more information about function calling and advanced implementations, refer
335335
Function calling significantly extends the capabilities of language models by allowing them to interact with external tools and APIs.
336336

337337
<Message type="note">
338-
We cannot wait to see what you will build with function calls. Tell us what you are up to, and share your experiments on Scaleway's [Slack community](https://slack.scaleway.com/) #ai
338+
We cannot wait to see what you will build with function calls. Tell us what you are up to, and share your experiments on Scaleway's [Slack community](https://slack.scaleway.com/) in the #ai channel.
339339
</Message>

0 commit comments

Comments
 (0)