shuttle-3
and shuttle-3-mini
, support it even during streaming.type
of tool, a “function”; this is subject to change in the future.
A “function” lets you give certain information of your function and its requiremnts, and then receive a formatted response ready for that function.
get_current_weather
function
json
module with import json
and using json.loads(response['choices'][0]['message']['tool_calls']['function']['arguments'])
to get the required properties for your function.