Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.04 KB

File metadata and controls

31 lines (22 loc) · 1.04 KB

OpenAIFunctionTool

Properties

Name Type Description Notes
name str The name of the function tool
description str [optional]
parameters Dict[str, object] [optional]

Example

from cms_client.models.open_ai_function_tool import OpenAIFunctionTool

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

# convert the object into a dict
open_ai_function_tool_dict = open_ai_function_tool_instance.to_dict()
# create an instance of OpenAIFunctionTool from a dict
open_ai_function_tool_from_dict = OpenAIFunctionTool.from_dict(open_ai_function_tool_dict)

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