Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.07 KB

File metadata and controls

30 lines (21 loc) · 1.07 KB

OpenAIResponseFormat

Properties

Name Type Description Notes
type str The response format type
json_schema OpenAIJsonSchemaWrapper The JSON schema wrapper

Example

from cms_client.models.open_ai_response_format import OpenAIResponseFormat

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

# convert the object into a dict
open_ai_response_format_dict = open_ai_response_format_instance.to_dict()
# create an instance of OpenAIResponseFormat from a dict
open_ai_response_format_from_dict = OpenAIResponseFormat.from_dict(open_ai_response_format_dict)

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