Build, evaluate, and optimize custom AI functions powered by Snowflake Cortex Complete. Create LLM-powered UDFs from your data, measure performance with built-in or custom metrics, and automatically tune prompts and select models to balance quality and cost.
Copyright (c) Snowflake Inc. All rights reserved. This repo is source-available and licensed under these terms.
git clone git@github.com:snowflake-eng/custom-ai-function-skill.git
cortex skill add /path/to/custom-ai-function-skillcortex skill listYou should see custom-ai-function listed under Discovered skills → [EXTERNAL].
cortex skill remove custom-ai-functionOnce the skill is installed, start a Cortex Code session and ask it to create, evaluate, or optimize a custom AI function. For example:
- "Create a custom AI function that classifies support tickets"
- "Evaluate my AI function against labeled test data"
- "Optimize the prompt for my AI function"
- "Show me a demo of custom AI functions"
The skill will guide you through the full create → evaluate → optimize workflow.