ListModels

class hana_ai.tools.hana_ml_tools.model_storage_tools.ListModels(connection_context: ConnectionContext, return_direct: bool = False)

Tool to list all models in the model storage.

Parameters:
connection_contextConnectionContext

Connection context to the HANA database.

Returns:
pandas.DataFrame

The list of models in the model storage.

Note

args_schema is used to define the schema of the inputs as follows:

Field

Description

name

Name of the model to search for, it is optional.

version

Version of the model to search for, it is optional.

display_type

Display type of the searched model information chosen from {'complete', 'simple', 'no_reports'}, it is optional.

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.