This documentation details the `toMarkdown` utility within Cloudflare Workers AI, which converts various file formats like PDF, HTML, and images into structured Markdown. This process is designed to optimize data for large language models (LLMs), retrieval-augmented generation (RAG) pipelines, and AI Agents.
Highlights
Supports a wide range of formats including PDF, XML, Microsoft Office, CSV, Apple documents, and common image types.
Facilitates better LLM performance by providing structured, semantic, and machine-readable input.
Image conversion utilizes specialized Workers AI models for automated object detection and summarization.
Provides detailed output metadata including filename, MIME type, estimated token count, and the converted content.
RAG PipelinesLarge Language ModelsAI AgentsDocument ProcessingObject Detection
Discover Similar Content
github.com
GitHub - microsoft/markitdown: Python tool for converting files and office documents to Markdown.
Python tool for converting files and office documents to Markdown. - microsoft/markitdown
github.com
GitHub - BrowserCash/teracrawl: High-performance web crawler API optimized for LLMs. Turn any search or website into clean Markdown using remote browsers.
High-performance web crawler API optimized for LLMs. Turn any search or website into clean Markdown using remote browsers. - BrowserCash/teracrawl
github.com
GitHub - steipete/summarize: Point at any URL/YouTube/Podcast or file. Get the gist. CLI and Chrome Extension.
Point at any URL/YouTube/Podcast or file. Get the gist. CLI and Chrome Extension. - steipete/summarize