Open approach for passing a token
In this approach, you specify the token value in the hue-safety-valve field in Cloudera Data Warehouse. The credentials are saved in a configuration file in the plain text format.
Here’s a list of the open token values in the hue-safety-valve
field
to configure the SQL AI Assistant:
- Microsoft Azure OpenAI
-
[desktop] [[ai_interface]] service='azure' model_name='[***DEPLOYMENT-NAME***]' base_url="https://[***RESOURCE***].openai.azure.com/" token="[***RESOURCE-KEY***]”
- AWS
-
[aws] [[bedrock_account]] access_key_id='[***ACCESS-KEY***]' secret_access_key='[***SECRET-KEY***]' region='us-east-1' [desktop] [[ai_interface]] service='bedrock' model='claude'
- OpenAI
-
[desktop] [[ai_interface]] service='openai' token='[***API-KEY***]'