Open approach for passing a token to configure Hue SQL AI Assistant

In this approach, you specify the token value in the Hue Advanced Configuration Snippet field in Cloudera Manager.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***]'