Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.54 KB

File metadata and controls

31 lines (22 loc) · 1.54 KB

ChatCompletionMessageToolCallFunction

The function that the model called.

Properties

Name Type Description Notes
arguments object 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

from wallet.models.chat_completion_message_tool_call_function import ChatCompletionMessageToolCallFunction

# TODO update the JSON string below
json = "{}"
# create an instance of ChatCompletionMessageToolCallFunction from a JSON string
chat_completion_message_tool_call_function_instance = ChatCompletionMessageToolCallFunction.from_json(json)
# print the JSON string representation of the object
print ChatCompletionMessageToolCallFunction.to_json()

# convert the object into a dict
chat_completion_message_tool_call_function_dict = chat_completion_message_tool_call_function_instance.to_dict()
# create an instance of ChatCompletionMessageToolCallFunction from a dict
chat_completion_message_tool_call_function_form_dict = chat_completion_message_tool_call_function.from_dict(chat_completion_message_tool_call_function_dict)

[Back to Model list] [Back to API list] [Back to README]