A chat completion message generated by the model.
| Name | Type | Description | Notes |
|---|---|---|---|
| content | object | The contents of the message. | |
| refusal | object | The refusal message generated by the model. | |
| role | object | The role of the author of this message. | |
| audio | ChatCompletionMessageAudio | [optional] | |
| function_call | ChatCompletionMessageFunctionCall | [optional] | |
| tool_calls | object | The tool calls generated by the model, such as function calls. | [optional] |
from wallet.models.chat_completion_message import ChatCompletionMessage
# TODO update the JSON string below
json = "{}"
# create an instance of ChatCompletionMessage from a JSON string
chat_completion_message_instance = ChatCompletionMessage.from_json(json)
# print the JSON string representation of the object
print ChatCompletionMessage.to_json()
# convert the object into a dict
chat_completion_message_dict = chat_completion_message_instance.to_dict()
# create an instance of ChatCompletionMessage from a dict
chat_completion_message_form_dict = chat_completion_message.from_dict(chat_completion_message_dict)