This section provides reference information for the GenAI API supported by JavaScript stored routines in the MLE Component.
This API enables use of HeatWave GenAI, with which you can perform
natural-language searches using large language models (LLMs), as
described in HeatWave GenAI Overview. A large
language model is reflected in the JavaScript API as the
LLM
class and its attendant methods.
GenAI is supported only with MySQL HeatWave.
While MySQL provides SQL stored functions and procedures to invoke AutoML features, accessing these can be uninituitive for JavaScript developers. The JavaScript API described in this section acts as a wrapper which invokes these SQL stored programs.
The AutoML feature is supported only by MySQL HeatWave, and thus the JavaScript API described here is supported only when HeatWave is enabled. See HeatWave AutoML, for more information.