You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Some models must be told they can use external functions in the system prompt. If you do not provide a system prompt when using tools, Scaleway will automatically add one that works best for that specific model.
149
156
</Message>
150
157
151
-
### Multi-turn conversation handling
158
+
### Call tool and provide final answer
152
159
153
-
For more complex interactions, you will need to handle multiple turns of conversation:
160
+
To provide the answer, or for more complex interactions, you will need to handle multiple turns of conversation:
154
161
155
162
```python
156
163
# Process the tool call
@@ -329,4 +336,4 @@ Function calling significantly extends the capabilities of language models by al
329
336
330
337
<Messagetype="note">
331
338
We can't wait to see what you will build with function calls. Tell us what you are up to, share your experiments on Scaleway's [Slack community](https://slack.scaleway.com/) #ai
0 commit comments