Add Quickstart: Build an AI Matching App with Snowflake ML#3075
Add Quickstart: Build an AI Matching App with Snowflake ML#3075sfc-gh-abannerjee wants to merge 24 commits intoSnowflake-Labs:masterfrom
Conversation
10-step guide covering Dynamic Tables, Feature Store, Model Registry, SPCS real-time inference, Cortex Search, and Streamlit dashboard. Guide ID: build-an-ai-matching-app-with-snowflake-ml Co-Authored-By: Cortex Code <noreply@snowflake.com>
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
…s template - Move title to after frontmatter with # prefix (template pattern) - Add missing What You Will Need subsection in Overview - Separate Prerequisites (knowledge) from What You Will Need (tools) - Fixes wrong title rendering in staging preview (PR Snowflake-Labs#3075) Co-Authored-By: Cortex Code <noreply@snowflake.com>
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
The AEM-based sfquickstarts renderer does not consume Duration: metadata lines (a Google Codelabs artifact). They were rendering as literal body text in the staging preview. Removed all 12 occurrences to match the official sfquickstarts template format. Co-Authored-By: Cortex Code <noreply@snowflake.com>
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
- Update page count from 5 to 6 throughout (summary, overview, dashboard section) - Add Page 6 description: Model Monitor status, PSI drift, prediction volume, version comparison - Add Model Monitoring to tags, summary frontmatter, conclusion, and What You Learned - Add Model Monitoring docs link to Related Resources Co-Authored-By: Cortex Code <noreply@snowflake.com>
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
- Replace broken WITH MV AS MODEL syntax with direct !PREDICT invocation - Replace mv.run() batch inference with SQL-based pattern (avoids cartesian product bug when CREATOR_ID is not in model output) - Update CDP tier thresholds to match V1 model: >=0.50 PREMIUM, >=0.30 STANDARD (was >=0.7/>=0.2) - Update expected tier distribution: ~18/25/57% (was ~12/41/48%) - Fix notebook filename: creator_brand_match.py (was snowflake_ml_demo.py) .... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code) Co-Authored-By: Cortex Code <noreply@snowflake.com>
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
…mpanion repo refs - Copy 7 source files from commercial_ML into assets/ subfolder - Add assets/README.md with sparse clone instructions - Update fork repo link to point to assets folder (Iceberg V3 pattern) - Remove Git prerequisite (no longer needed) - Replace git clone with sparse checkout + direct download links - Add GitHub blob links for setup SQL and data generator - Fix predict_ranked: remove stale top_k kwarg, use reset_index(drop=True) - Update Streamlit section to reference assets folder with direct links Co-Authored-By: Cortex Code <noreply@snowflake.com>
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
- Fix conda env name: snowflake-ml-demo → creator_brand_match (matches environment.yml) - Add xgboost import to CustomModel code block (was missing, needed for xgb.DMatrix) - Add type annotations to predict_match_score and predict_with_features (match notebook) - Match predict_with_features body to notebook: separate booster variable, no inline import Co-Authored-By: Cortex Code <noreply@snowflake.com>
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
Sync remaining 7 divergences between guide and notebook source of truth: - Entity/FeatureView descriptions match notebook exactly - Add attach_feature_desc() call with 6 column descriptions - Replace simplified XGBClassifier with GridSearchCV + baseline - Add try/except to log_model + version alias setting - Fix Cortex Search: lowercase columns, add creator_id attr, TARGET_LAG='1 day', add EMBEDDING_MODEL - Fix Cortex Search Python SDK: match notebook query/columns/iteration - Replace CDP enrichment with notebook two-step approach (MATCH_PREDICTIONS + CREATOR_PROFILES with interaction_stats CTE) - Fix SPCS max_instances=3 .... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code) Co-Authored-By: Cortex Code <noreply@snowflake.com>
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
…yout engine Switch architecture diagram generator from custom A* pathfinding (909 lines) to ELK/elkjs compound-graph layout (665 lines). ELK handles orthogonal edge routing, crossing minimization, and hierarchical group containment natively. Post-layout vertical alignment with smart edge route reconstruction keeps RAW Events aligned with the main pipeline row. .... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code) Co-Authored-By: Cortex Code <noreply@snowflake.com>
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
…acing Fixes two edge routing issues: (1) RAW Events→Cortex Search dashed edge no longer crosses intermediate nodes — long-span edges are now routed below all groups via a 4-bend-point path. (2) Increased ELK spacing parameters (edgeNode: 35, edgeNodeBetweenLayers: 40) for better edge-to-boundary clearance on batch score and SPCS/Monitor edges. .... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code) Co-Authored-By: Cortex Code <noreply@snowflake.com>
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
…ssets The ELK-based diagram generator is a development tool, not customer content. Moved to SnowGram project (backend/elk_diagram/). The output PNG stays. Co-Authored-By: Cortex Code <noreply@snowflake.com>
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
… routing Fixes e9 crossing CDP Profiles icon, ensures all edges are strictly orthogonal, and restores the missing "Serve" column label. .... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code) Co-Authored-By: Cortex Code <noreply@snowflake.com>
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
Adds creator_brand_match.ipynb alongside the existing .py source. The .ipynb has 56 cells, correct python3 kernelspec, and no outputs. Readers can import directly into Snowflake Notebooks without conversion. .... Generated with [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code) Co-Authored-By: Cortex Code <noreply@snowflake.com>
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
…ck unblock, monitoring Sync enriched notebook from commercial_ML. Cell 26 now includes: - Common Network Rule Hosts reference (HuggingFace, PyPI) - Privilege Requirements matrix - Quick Unblock pattern for dev/test - Egress Monitoring query (SPCS_EGRESS_ACCESS_HISTORY) Co-Authored-By: Cortex Code <noreply@snowflake.com>
👋 Helpful Information💡 Non-Image Files in Assets FolderNon-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).
These are informational messages and will not block your PR from being merged. |
🔗 Staging Preview ReadyQuickstart:
Generated by GitHub Actions |
Summary
build-an-ai-matching-app-with-snowflake-mlWhat This Guide Covers
Companion Repository
Companion code repo request pending DevRel approval:
sfguide-build-an-ai-matching-app-with-snowflake-mlChecklist
assets/folder (to be added before merging).... Generated with Cortex Code