This topic describes how to deploy and configure the SQL AI Assistant using the Cloudera AI Workbench. With the added support for Cloudera AI Workbench, you can securely deploy and run your own models
within a virtual private cloud. This self-contained integration offers enhanced control and
privacy within your environment.
-
Upon succesuccessful completion of model deployment, log in to the Cloudera Management Console as an Administrator.
-
Go to Environments and select your environment.
-
Go to the Data Lake tab and click on the CM
URL to open Cloudera Manager.
-
Go to and select add the following lines in the Hue Service
Advanced Configuration Snippet (Safety Valve) for
hue_safety_valve.ini field:
[desktop]
[[ai_interface]]
service='cml'
model='llama'
model_ref='[***Place model access key here***]'
base_url='https://[***RESOURCE***].cloudera.site/model'
-
Click Save Changes.
You see
Assistant on the Hue SQL editor, where the
SQL AI Assistant utilizes the model hosted in the Cloudera AI Workbench.