Skip to content

DO NOT MERGE -- AI-Powered Support Operations Quickstart (WIP)#3399

Draft
jamescha-earley wants to merge 3 commits into
Snowflake-Labs:masterfrom
jamescha-earley:quickstart/support-ops-ai-functions
Draft

DO NOT MERGE -- AI-Powered Support Operations Quickstart (WIP)#3399
jamescha-earley wants to merge 3 commits into
Snowflake-Labs:masterfrom
jamescha-earley:quickstart/support-ops-ai-functions

Conversation

@jamescha-earley

Copy link
Copy Markdown
Contributor

DO NOT MERGE

This PR is a work-in-progress draft for internal review only.

Summary

  • New quickstart: AI-Powered Support Operations with Cortex AI Functions and Dynamic Tables
  • End-to-end pipeline: AI_TRANSCRIBE, AI_CLASSIFY, AI_COMPLETE (sentiment + recommendations), Dynamic Table, Streamlit dashboard
  • Includes setup SQL, synthetic data generator, and Streamlit app code

What is unique vs. existing quickstarts

  • First quickstart combining AI Functions with Dynamic Tables for auto-refresh
  • Demonstrates numeric sentiment scoring via AI_COMPLETE (not just categorical)
  • Shows TRY_TO_DOUBLE for safe LLM output casting
  • CTE-based Dynamic Table pattern to avoid column-alias errors
  • AI_REDACT for PII handling in the pipeline

Status

  • Quickstart markdown (sfquickstarts format)
  • Setup SQL with sample data
  • Streamlit dashboard code
  • Synthetic data generator
  • Architecture diagram screenshot
  • Dashboard screenshot
  • Companion sfguide repo

@github-actions

Copy link
Copy Markdown
Contributor

👋 Helpful Information

💡 Non-Image Files in Assets Folder

Non-image files found in /assets folders will NOT be uploaded to snowflake.com. If you are referencing them in your guide, you should link to them directly (e.g. using permanent GitHub links).

  • site/sfguides/src/support-ops-ai-functions-dynamic-tables/assets/generate_data.sql
  • site/sfguides/src/support-ops-ai-functions-dynamic-tables/assets/setup.sql
  • site/sfguides/src/support-ops-ai-functions-dynamic-tables/assets/streamlit_app.py

These are informational messages and will not block your PR from being merged.

@github-actions

Copy link
Copy Markdown
Contributor

🔗 Staging Preview Ready

Quickstart: support-ops-ai-functions-dynamic-tables
Language: en

👉 Preview URL: https://publish-p57963-e462098.adobeaemcloud.com/en/developers/guides/support-ops-ai-functions-dynamic-tables-8af92d5fb773c6d81661a1bc13b69b256f042a95

Note: Images are uploaded asynchronously. If images are missing, wait a few minutes and refresh.


Generated by GitHub Actions

@github-actions

Copy link
Copy Markdown
Contributor

👋 Helpful Information

💡 Non-Image Files in Assets Folder

Non-image files found in /assets folders will NOT be uploaded to snowflake.com. If you are referencing them in your guide, you should link to them directly (e.g. using permanent GitHub links).

  • site/sfguides/src/support-ops-ai-functions-dynamic-tables/assets/generate_data.sql
  • site/sfguides/src/support-ops-ai-functions-dynamic-tables/assets/setup.sql
  • site/sfguides/src/support-ops-ai-functions-dynamic-tables/assets/streamlit_app.py

These are informational messages and will not block your PR from being merged.

@github-actions

Copy link
Copy Markdown
Contributor

🔗 Staging Preview Ready

Quickstart: support-ops-ai-functions-dynamic-tables
Language: en

👉 Preview URL: https://publish-p57963-e462098.adobeaemcloud.com/en/developers/guides/support-ops-ai-functions-dynamic-tables-9c31308f10ba6b403bc636ad50b49c456ca8d0f7

Note: Images are uploaded asynchronously. If images are missing, wait a few minutes and refresh.


Generated by GitHub Actions

…s & Dynamic Tables

End-to-end guide for building an automated support ticket enrichment pipeline
using AI_TRANSCRIBE, AI_CLASSIFY, AI_COMPLETE, Dynamic Tables, and Streamlit
in Snowflake. All code is inline in the markdown — no separate asset files needed.

.... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code)

Co-Authored-By: Cortex Code <noreply@snowflake.com>
@jamescha-earley jamescha-earley force-pushed the quickstart/support-ops-ai-functions branch from 9c31308 to f06f0f5 Compare June 25, 2026 21:39
@github-actions

Copy link
Copy Markdown
Contributor

🔗 Staging Preview Ready

Quickstart: support-ops-ai-functions-dynamic-tables
Language: en

👉 Preview URL: https://publish-p57963-e462098.adobeaemcloud.com/en/developers/guides/support-ops-ai-functions-dynamic-tables-f06f0f5a9547db9928f0f6fd1a1a8384fb30ace6

Note: Images are uploaded asynchronously. If images are missing, wait a few minutes and refresh.


Generated by GitHub Actions

Include 50 MP3 call recordings (zipped) in assets for the transcription
step. Update quickstart to reference the zip and use DIRECTORY() to
register audio files as phone tickets.

.... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code)

Co-Authored-By: Cortex Code <noreply@snowflake.com>
@github-actions

Copy link
Copy Markdown
Contributor

👋 Helpful Information

💡 Non-Image Files in Assets Folder

Non-image files found in /assets folders will NOT be uploaded to snowflake.com. If you are referencing them in your guide, you should link to them directly (e.g. using permanent GitHub links).

  • site/sfguides/src/support-ops-ai-functions-dynamic-tables/assets/audio_files.zip

These are informational messages and will not block your PR from being merged.

@github-actions

Copy link
Copy Markdown
Contributor

🔗 Staging Preview Ready

Quickstart: support-ops-ai-functions-dynamic-tables
Language: en

👉 Preview URL: https://publish-p57963-e462098.adobeaemcloud.com/en/developers/guides/support-ops-ai-functions-dynamic-tables-5ea071a26efff082fdda13bd6ce8be8ea23d30d6

Note: Images are uploaded asynchronously. If images are missing, wait a few minutes and refresh.


Generated by GitHub Actions

…handling

- FAIL-1: Add DIRECTORY = (ENABLE = TRUE) to stage creation
- FAIL-2: Add ALTER STAGE REFRESH before DIRECTORY() query
- FAIL-3: Add duration: 30 to YAML frontmatter
- WARN-2: Use COALESCE for NULL sentiment in recommended_action prompt
- WARN-3: Add USE WAREHOUSE before Dynamic Table creation
- WARN-5: Add note about first refresh taking 5-10 minutes

.... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code)

Co-Authored-By: Cortex Code <noreply@snowflake.com>
@github-actions

Copy link
Copy Markdown
Contributor

👋 Helpful Information

💡 Non-Image Files in Assets Folder

Non-image files found in /assets folders will NOT be uploaded to snowflake.com. If you are referencing them in your guide, you should link to them directly (e.g. using permanent GitHub links).

  • site/sfguides/src/support-ops-ai-functions-dynamic-tables/assets/audio_files.zip

These are informational messages and will not block your PR from being merged.

@github-actions

Copy link
Copy Markdown
Contributor

🔗 Staging Preview Ready

Quickstart: support-ops-ai-functions-dynamic-tables
Language: en

👉 Preview URL: https://publish-p57963-e462098.adobeaemcloud.com/en/developers/guides/support-ops-ai-functions-dynamic-tables-8e6897a264ec3c6f55988a88c5d57efac42cb117

Note: Images are uploaded asynchronously. If images are missing, wait a few minutes and refresh.


Generated by GitHub Actions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant