const result = await extractor.extract({ text: `John Doe 123 Main St john@example.com (555) 123-4567`, template: 'contact' });
const result = await extractor.extract({ text: invoiceText, template: 'invoice' });