HDIArtifactsTool

class hana_ai.tools.hana_ml_tools.hdi_artifacts_tools.HDIArtifactsTool(connection_context: ConnectionContext, return_direct: bool = False)

This tool generates HDI artifacts for a given model.

Parameters:
connection_contextConnectionContext

Connection context to the HANA database.

Returns:
str

The directory to the generated HDI artifacts.

Note

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

Field

Description

name

The name of the model in model storage. If not provided, ask the user. Do not guess.

version

The version of the model in model storage. If not provided, ask the user. Do not guess.

project_name

The name of the project for HDI project. If not provided, ask the user. Do not guess.

output_dir

The output directory for HDI project. If not provided, ask the user. Do not guess.

namespace

The namespace for HDI project, it is optional.

archive

Whether to archive the output directory if output_dir has content, default is True.

name: str

Name of the tool.

description: str

Description of the tool.

connection_context: ConnectionContext

Connection context to the HANA database.