UNPKG

@promptbook/azure-openai

Version:

Promptbook: Run AI apps in plain human language across multiple models and platforms

22 lines (21 loc) 986 B
import type { ExecutionTools } from '../../execution/ExecutionTools'; import type { PrepareAndScrapeOptions } from '../../prepare/PrepareAndScrapeOptions'; import { LegacyDocumentScraper } from './LegacyDocumentScraper'; /** * Creates a scraper for legacy document formats (.doc, .rtf, etc). * Uses LibreOffice for conversion to extract content from older document formats. * * @public exported from `@promptbook/legacy-documents` */ export declare const createLegacyDocumentScraper: ((tools: Pick<ExecutionTools, 'llm'>, options: PrepareAndScrapeOptions) => LegacyDocumentScraper) & import("type-fest/source/readonly-deep").ReadonlyObjectDeep<{ title: string; packageName: string; className: string; mimeTypes: string[]; documentationUrl: "https://github.com/webgptorg/promptbook/discussions/@@"; isAvailableInBrowser: false; requiredExecutables: ("Pandoc" | "LibreOffice")[]; }>; /** * TODO: [🎶] Naming "constructor" vs "creator" vs "factory" */