@sconedev/ai_toolkit
Version:
Simplify AI integration in web apps with local and offline model support
11 lines (10 loc) • 363 B
TypeScript
/**
* Extracts text content from a URL by fetching the page and parsing its content
* @param url The URL to fetch content from
* @param options Additional options for extraction
* @returns The extracted text content
*/
export declare function extractTextFromURL(url: string, options?: {
includeLinks?: boolean;
timeout?: number;
}): Promise<string>;