DeleteModels
- class hana_ai.tools.hana_ml_tools.model_storage_tools.DeleteModels(*, name: str = 'delete_models', description: str = 'Delete models from the model storage.', args_schema: ~typing.Type[~hana_ai.tools.hana_ml_tools.model_storage_tools.DeleteModelInput] = <class 'hana_ai.tools.hana_ml_tools.model_storage_tools.DeleteModelInput'>, return_direct: bool = False, verbose: bool = False, callbacks: list[~langchain_core.callbacks.base.BaseCallbackHandler] | ~langchain_core.callbacks.base.BaseCallbackManager | None = None, tags: list[str] | None = None, metadata: dict[str, ~typing.Any] | None = None, handle_tool_error: bool | str | ~collections.abc.Callable[[~langchain_core.tools.base.ToolException], str] | None = False, handle_validation_error: bool | str | ~collections.abc.Callable[[~pydantic_core._pydantic_core.ValidationError | ~pydantic.v1.error_wrappers.ValidationError], str] | None = False, response_format: ~typing.Literal['content', 'content_and_artifact'] = 'content', extras: dict[str, ~typing.Any] | None = None, connection_context: ~hana_ml.dataframe.ConnectionContext)
Tool to delete a model from the model storage.
- Parameters:
- connection_contextConnectionContext
Connection context to the HANA database.
- Returns:
- str
Confirmation message indicating the model has been deleted.
- name: str
The unique name of the tool that clearly communicates its purpose.
- description: str
Used to tell the model how/when/why to use the tool.
You can provide few-shot examples as a part of the description.