ChatCompletion

Properties

Name

Type

Description

Notes

body

str

Example

from h2ogpte.rest.models.chat_completion import ChatCompletion

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

# convert the object into a dict
chat_completion_dict = chat_completion_instance.to_dict()
# create an instance of ChatCompletion from a dict
chat_completion_from_dict = ChatCompletion.from_dict(chat_completion_dict)