Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.45 KB

File metadata and controls

30 lines (21 loc) · 1.45 KB

ChatCompletionMessageFunctionCall

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_function_call import ChatCompletionMessageFunctionCall

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

# convert the object into a dict
chat_completion_message_function_call_dict = chat_completion_message_function_call_instance.to_dict()
# create an instance of ChatCompletionMessageFunctionCall from a dict
chat_completion_message_function_call_form_dict = chat_completion_message_function_call.from_dict(chat_completion_message_function_call_dict)

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