databricks-parsing

Parse PDF, DOCX, PPTX, and images into structured text with ai_parse_document.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/slysik/databricks-claude-coding --skill databricks-parsing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-parsing
Source: https://github.com/slysik/databricks-claude-coding/tree/main/.agents/skills/databricks-parsing
Command: npx skills add https://github.com/slysik/databricks-claude-coding --skill databricks-parsing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the extraction of text and structured data from various document types (PDF, DOCX, PPTX, images), enabling efficient data processing and the foundation for custom RAG pipelines.

Core Features & Use Cases

  • Document Parsing: Use ai_parse_document to convert binary documents into structured text.
  • Data Extraction: Extract specific fields from documents using ai_query in conjunction with parsed text.
  • RAG Pipeline Foundation: Parse, chunk, and index documents for advanced search and analysis.
  • Use Case: Ingesting and processing a collection of research papers stored in a Databricks Volume to build a searchable knowledge base.

Quick Start

Parse all PDF and DOCX documents in the '/Volumes/catalog/schema/volume/docs/' directory using the ai_parse_document function.

Frequently Asked Questions about databricks-parsing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse PDF and DOCX files for a RAG pipeline in Databricks?

You can parse PDF and DOCX files for a RAG pipeline in Databricks by using the ai_parse_document SQL function to convert binary documents stored in Unity Catalog Volumes into structured text.

Can I extract specific fields from unstructured documents using Databricks SQL?

Yes, you can extract specific fields from unstructured documents in Databricks SQL by combining the ai_parse_document function to parse the content with ai_query to pull the targeted data.

Do I need a Serverless SQL Warehouse to parse documents with ai_parse_document?

Yes, executing the ai_parse_document function requires a Serverless SQL Warehouse and Databricks Runtime 17.1 or higher to process unstructured files like PDFs and images.

What is the best way to extract text from images stored in a Databricks Volume?

The best way to extract text from images in a Databricks Volume is using the ai_parse_document SQL function, which parses binary image files into structured text for downstream processing.

Does ai_parse_document support PPTX files stored in Unity Catalog Volumes?

Yes, ai_parse_document supports parsing PPTX files alongside PDF, DOCX, and images when the files are stored in a Unity Catalog Volume directory within your Databricks environment.

Why does document parsing fail when using a standard Databricks SQL Warehouse?

Document parsing with ai_parse_document fails on standard SQL Warehouses because the function specifically requires a Serverless SQL Warehouse and Databricks Runtime 17.1+ for execution.