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
The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
name
object
The name of the function to call.
Example
fromwallet.models.chat_completion_message_function_callimportChatCompletionMessageFunctionCall# TODO update the JSON string belowjson="{}"# create an instance of ChatCompletionMessageFunctionCall from a JSON stringchat_completion_message_function_call_instance=ChatCompletionMessageFunctionCall.from_json(json)
# print the JSON string representation of the objectprintChatCompletionMessageFunctionCall.to_json()
# convert the object into a dictchat_completion_message_function_call_dict=chat_completion_message_function_call_instance.to_dict()
# create an instance of ChatCompletionMessageFunctionCall from a dictchat_completion_message_function_call_form_dict=chat_completion_message_function_call.from_dict(chat_completion_message_function_call_dict)