SnowflakeCortexを用いたエージェントの認証形式よる機能の制限について

Koji
Koji Partner, Dataiku DSS Core Designer, Registered Posts: 54 Partner

Snowflakeのコネクション設定において、User/Passwordの形式にしているとSnowflakeCortexの設定画面で以下のようなメッセージが表示されると思います。 

The connection 'hoge' is configured with the 'User/Password' authentication method. This is not compatible with the Snowflake Cortex REST API. Models will be queried using SQL, therefore streaming and tools will not be supported.

上記踏まえて2点質問です。
User/Passwordの形式ですと基本的にエージェントの機能としてTool Useが使えない(dataset lookupなどが使えない)という認識であってますでしょうか?またパスワードの形式がtoken認証でも同様でしょうか?

Cortexを利用してエージェントの機能をフルで使う場合(tool useなど)はOAuth2かKeypairどちらかの認証にする必要あるという認識でよろしいでしょうか?

Best Answers

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,337 Dataiker
    Answer ✓

    Hi,
    Yes that correct, you can switch from username and password to key pair :
    https://doc.dataiku.com/dss/latest/connecting/sql/snowflake.html#using-key-pair-authentication
    This is supported in DSS since 13.5.0
    https://doc.dataiku.com/dss/latest/release_notes/13.html#id25
    Thanks

  • Tsuyoshi
    Tsuyoshi Dataiker, PartnerAdmin, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 307 Dataiker
    Answer ✓

    @Koji さん、現状では、エージェントのツールでSnowflake Cortexを利用する場合、User/Password認証には対応していないという制約があるようです。

    将来のバージョンでこの制約が解消される可能性はありますが、現時点での対応方法として「User/Password以外の認証方式を利用する必要がある」というのは、ご認識の通りだと思います。

Setup Info
    Tags
      Help me…