Skip to main content

REUSE status

Generative AI Toolkit for SAP HANA Cloud

About this project

Generative AI Client for SAP HANA Cloud is an extension of the existing HANA ML Python client library, mainly focusing on GenAI and related use cases. It includes many leading-edge GenAI related open source libraries and provides seamless integration with HANA ML, HANA vector engine, and other SAP GenAI Hub SDK, see our Introduction, Notebook and Documentation.

Requirements and Setup

The prerequisites for using the Generative AI Toolkit for SAP HANA Cloud are listed at Prerequisites.

The Generative AI Toolkit for SAP HANA Cloud is available as a Python package. You can install it via pip:

pip install hana-ai

ContextAgent

The toolkit includes a file-based ContextAgent for conversational forecasting and data-preparation workflows with Markdown-backed memory, tool calling, and runtime-selectable skills.

Core ContextAgent skills include:

  • data_ingestion_and_dataset_preparation for CSV import and time-ordered train, test, and validation table creation
  • timeseries_data_profiling for dataset reports and statistical checks before model selection
  • timeseries_forecasting for single-series train, predict, score, and plot workflows
  • prediction_result_analysis for predicted-versus-actual comparison and quality analysis
  • outlier_detection_and_repair_prep for anomaly inspection before model training
  • massive_forecasting for grouped forecasting across many related series
  • model_lifecycle_and_artifacts for listing, deleting, and packaging saved models
  • hana_dataframe_fallback for SQL and restricted Python fallback transformations

Tools

The toolkit exposes HANAML-oriented tools for data preparation, profiling, forecasting, evaluation, artifact generation, and grouped forecasting workflows.

Core forecasting and analysis tools include:

  • import_csv_to_table, split_table_for_forecasting, fetch_data
  • ts_dataset_report, ts_check, stationarity_test, trend_test, seasonality_test, white_noise_test
  • automatic_timeseries_fit_and_save, automatic_timeseries_load_model_and_predict, automatic_timeseries_load_model_and_score
  • additive_model_forecast_fit_and_save, additive_model_forecast_load_model_and_predict, intermittent_forecast
  • ts_outlier_detection, ts_make_future_table, forecast_line_plot, accuracy_measure
  • list_models, delete_models, cap_artifacts, hdi_artifacts
  • SelectStatement_to_table, python_hanaml_exec

Grouped and massive forecasting tools include:

  • massive_ts_check, massive_ts_outlier_detection
  • massive_automatic_timeseries_fit_and_save, massive_automatic_timeseries_load_model_and_predict, massive_automatic_timeseries_load_model_and_score
  • massive_additive_model_forecast_fit_and_save, massive_additive_model_forecast_load_model_and_predict
  • ts_make_future_table_for_massive_forecast

See the ContextAgent notebook for an end-to-end example at nutest/testscripts/demo/e2e_scenarios/context_agent.ipynb.

Support, Feedback, Contributing

This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.

Security / Disclosure

If you find any bug that may be a security problem, please follow our instructions at in our security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright 2026 SAP SE or an SAP affiliate company and generative-ai-toolkit-for-sap-hana-cloud contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hana_ai-1.1.26081400.tar.gz (436.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hana_ai-1.1.26081400-py3-none-any.whl (720.4 kB view details)

Uploaded Python 3

File details

Details for the file hana_ai-1.1.26081400.tar.gz.

File metadata

  • Download URL: hana_ai-1.1.26081400.tar.gz
  • Upload date:
  • Size: 436.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hana_ai-1.1.26081400.tar.gz
Algorithm Hash digest
SHA256 7d11e927c317227e99bd3e6101c04fb81308b6b5f9f5e895b9320e2a900008f7
MD5 184d9611124d9904a715ff2066d8437f
BLAKE2b-256 b3602f5ca3b39b99176f8fc489c389701b9c8aaf841a3c74df6e94bd7b1e7761

See more details on using hashes here.

Provenance

The following attestation bundles were made for hana_ai-1.1.26081400.tar.gz:

Publisher: release.yml on SAP/generative-ai-toolkit-for-sap-hana-cloud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hana_ai-1.1.26081400-py3-none-any.whl.

File metadata

  • Download URL: hana_ai-1.1.26081400-py3-none-any.whl
  • Upload date:
  • Size: 720.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hana_ai-1.1.26081400-py3-none-any.whl
Algorithm Hash digest
SHA256 4eb5f286dd0612b0f30f6767826a86762d467d2cdf58ad6b999fb34dffc79a16
MD5 e6653e1f63cdaa7eaf520714b33e3875
BLAKE2b-256 5084b0e9b46f2c086eef5ee6eb6e529d55c864d878243e3ce8b398c8caeb853f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hana_ai-1.1.26081400-py3-none-any.whl:

Publisher: release.yml on SAP/generative-ai-toolkit-for-sap-hana-cloud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.1.26081400 This release

2 files

1.1.26072400

2 files

1.1.26072000

2 files

1.1.26071400

2 files

1.1.26070101

2 files

1.1.26070100

2 files

1.1.26041000

2 files

1.1.26040800

2 files

1.0.26033100

2 files

1.0.26033000

2 files

1.0.26032700

2 files

1.0.26031900

2 files

1.0.26031600

2 files

1.0.26021200

2 files

1.0.26020600

2 files

1.0.26020500

2 files

1.0.26011601

2 files

1.0.26011600

2 files

1.0.25122300

2 files

1.0.25121700

2 files

1.0.25100100

2 files

1.0.25093000

2 files

1.0.25092300

2 files

1.0.25091800

2 files

1.0.25090900

2 files

1.0.25090400

2 files

1.0.25070700

2 files

1.0.25070203

2 files

1.0.25070202

2 files

1.0.25070201

2 files

1.0.25070200

2 files

1.0.25063000

2 files

1.0.25061700

2 files

1.0.25053000

2 files

1.0.25052000

2 files

1.0.25050900

2 files

1.0.25050600

2 files

1.0.25042502

2 files

1.0.25042501

2 files

1.0.25042500

2 files

1.0.25042400

2 files

1.0.25041100

2 files

1.0.25041003

2 files

1.0.25041002

2 files

1.0.25041001

2 files

1.0.25041000

2 files

1.0.25040700

2 files

1.0.25040300

2 files

1.0.25032800

2 files

1.0.25032701

2 files

1.0.25032700

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page