Skip to main content
Glama
index.ts685 B
/** * @doc-agent/extract * * Document extraction module for PDFs and images using Vision AI. * Supports Ollama (local) and Gemini (cloud) providers. */ // Main extraction function export { extractDocument } from './extract'; // Utilities (for testing/advanced usage) export { getMimeType } from './mime'; export { ocrImages } from './ocr'; export { pdfToImages } from './pdf'; // Providers (for direct access if needed) export { extractWithGemini, extractWithOllama } from './providers'; export { DocumentDataSchema, LineItemSchema } from './schemas'; // Types export type { ExtractOptions, LogLevel, OcrProgressCallback, StreamCallback, StreamChunk, } from './types';

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prosdevlab/doc-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server