interop
autogen.interop.Interoperable
Interoperable
A Protocol defining the interoperability interface for tool conversion.
This protocol ensures that any class implementing it provides the method
convert_tool
to convert a given tool into a desired format or type.
Name | Description |
---|---|
*args | |
**kwargs |
Static Methods
convert_tool
Converts a given tool to a desired format or type.
This method should be implemented by any class adhering to the Interoperable
protocol.
Name | Description |
---|---|
tool | The tool object to be converted. Type: Any |
**kwargs | Additional parameters to pass during the conversion process. Type: Any |
Type | Description |
---|---|
Tool | Tool: The converted tool in the desired format or type. |
get_unsupported_reason
Returns the reason for the tool being unsupported.
This method should be implemented by any class adhering to the Interoperable
protocol.
Returns:
str: The reason for the interoperability class being unsupported.
Type | Description |
---|---|
str | None | str: The reason for the interoperability class being unsupported. |