What problem does it solve?
This Skill solves the problem of building AI-powered analysis, extraction, and document understanding directly inside Databricks SQL and PySpark without manually provisioning and managing model endpoints.
Core Features & Use Cases
- Task-specific AI functions for pipelines: Use built-in functions such as ai_classify, ai_extract, ai_summarize, and ai_mask to enrich columns with sentiment, entities, summaries, and PII redaction.
- Document parsing and enrichment: Use ai_parse_document to convert PDFs and other document binaries into structured page/element text for downstream processing.
- Fallback to general reasoning and structured outputs: Use ai_query for complex nested JSON extraction, multimodal inputs, and scenarios not covered by task-specific functions.
- Forecasting as a table-valued function: Use ai_forecast to generate confidence-bounded time series predictions when the environment supports it.
- End-to-end document processing & RAG patterns: Build batch pipelines (parse → classify → extract → validate → sidecar errors) and RAG workflows (parse → chunk → index → query) with guardrails for error handling.
Quick Start
Use this skill by running a Databricks SQL query that parses a document column with ai_parse_document, then extracts structured fields from the parsed text with ai_extract and summarizes results with ai_summarize.