We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5038b48 commit 64caf88Copy full SHA for 64caf88
function_calling.py
@@ -69,6 +69,6 @@
69
tools=tools,
70
)
71
72
-print(f"Response from {API_HOST}: \n")
+print(f"Response from {MODEL_NAME} on {API_HOST}: \n")
73
print(response.choices[0].message.tool_calls[0].function.name)
74
print(response.choices[0].message.tool_calls[0].function.arguments)
function_calling_multiple.py
@@ -91,7 +91,7 @@
91
tool_choice="auto",
92
93
94
95
for message in response.choices[0].message.tool_calls:
96
print(message.function.name)
97
print(message.function.arguments)
0 commit comments