From ac90b995b2d9b4e7a688dd394e8b534d93fdb002 Mon Sep 17 00:00:00 2001 From: Michael Irvine Date: Fri, 21 Mar 2025 11:26:29 -0400 Subject: [PATCH] docs(ai-api): adds Snowflake Cortex to BYOLLM --- .../product/apis-integrations/ai-api.mdx | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/docs/pages/product/apis-integrations/ai-api.mdx b/docs/pages/product/apis-integrations/ai-api.mdx index 6ca8c2d35eb5f..32a8eb400ecaa 100644 --- a/docs/pages/product/apis-integrations/ai-api.mdx +++ b/docs/pages/product/apis-integrations/ai-api.mdx @@ -246,6 +246,7 @@ deployment. - `mistral` - `openai` - `openai-compatible` (any provider with an OpenAI-compatible API; support may vary) + - `snowflake` - `together-ai` - `x-ai` @@ -340,6 +341,26 @@ See below for required variables by provider (required unless noted): - `CUBE_CLOUD_AI_OPENAI_COMPATIBLE_API_KEY` - `CUBE_CLOUD_AI_OPENAI_COMPATIBLE_BASE_URL` +#### Snowflake Cortex + + + We recommend using `claude-3-5-sonnet` (or any newer Claude models available) + on Snowflake Cortex with the Cube AI API. Other models may work but are not fully tested or supported. + + + +The Snowflake Cortex LLM REST API uses key pair authentication. +Please follow the steps in [Snowflake's documentation](https://docs.snowflake.com/en/user-guide/key-pair-auth#configuring-key-pair-authentication) to generate +a key and assign it to a Snowflake user. + +We recommend creating a separate Snowflake user with limited permissions for +use with the Cube AI API. + + +- `CUBE_CLOUD_AI_SNOWFLAKE_ACCOUNT` +- `CUBE_CLOUD_AI_SNOWFLAKE_USERNAME` +- `CUBE_CLOUD_AI_SNOWFLAKE_PRIVATE_KEY` + #### Together AI - `CUBE_CLOUD_AI_TOGETHER_API_KEY`