This topic describes configuring the SQL AI Assistant using the Cloudera AI Inference
service.
-
Upon installing and setting up the Cloudera AI Inference service, log in to the
Data Warehouse service.
-
Go to the Virtual Warehouses tab, locate the Virtual
Warehouse on which you want to enable this feature, and click .
-
Go to , select hue-safety-valve from the
Configuration files drop-down menu, and add the
following lines :
[[ai_interface]]
service='caii'
model_name='[***Place MODEL name here***]'
base_url="https://[***RESOURCE***]/v1"
-
Click Apply Changes.
You see Assistant on the Hue SQL editor, where the
SQL AI Assistant utlizes the model hosted in Cloudera AI Inference service.