Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 979 Bytes

File metadata and controls

30 lines (21 loc) · 979 Bytes

OpenAITool

Properties

Name Type Description Notes
type str The type of the tool [optional] [default to 'function']
function OpenAIFunctionTool The function tool definition

Example

from cms_client.models.open_ai_tool import OpenAITool

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

# convert the object into a dict
open_ai_tool_dict = open_ai_tool_instance.to_dict()
# create an instance of OpenAITool from a dict
open_ai_tool_from_dict = OpenAITool.from_dict(open_ai_tool_dict)

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