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

OpenAIJsonSchemaWrapper

Properties

Name Type Description Notes
name str [optional]
var_schema Dict[str, object] The actual JSON schema definition

Example

from cms_client.models.open_ai_json_schema_wrapper import OpenAIJsonSchemaWrapper

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

# convert the object into a dict
open_ai_json_schema_wrapper_dict = open_ai_json_schema_wrapper_instance.to_dict()
# create an instance of OpenAIJsonSchemaWrapper from a dict
open_ai_json_schema_wrapper_from_dict = OpenAIJsonSchemaWrapper.from_dict(open_ai_json_schema_wrapper_dict)

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