This topic describes how to set up SQL AI Assistant and connect to a model on the
OpenAI platform.
You must have created an account with the OpenAI platform.
-
Log in to the CDP 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='openai'
You can specify the model_name (optional) and define the model. If no model is
defined, the default model (gpt-3.5-turbo-16k) will be used.
-
Click Save Changes.
You see Assistant on the Hue SQL editor, and the
SQL AI Assistant will connect to the specified model on the OpenAI platform.