1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "criteria": "Find independent dental practices that appear to be real clinics rather than chains or suppliers. Prioritize practices whose website indicates potential need for modernization.",
12 "inlineItems": [
13 {
14 "name": "Oakfield Family Dental Care",
15 "category": "Dental Clinic",
16 "description": "Example independent family-run dental practice in Bristol. Its website was last refreshed in 2014 and asks patients to call to book appointments."
17 },
18 {
19 "name": "Harbour Street Dentistry",
20 "category": "Dental Clinic",
21 "description": "Example owner-operated general dental clinic in Portsmouth. The practice has no online booking and an outdated mobile website."
22 },
23 {
24 "name": "Willow Grove Dental",
25 "category": "Dental Clinic",
26 "description": "Example independent two-dentist practice serving local families. Its site advertises paper forms and telephone-only appointment requests."
27 },
28 {
29 "name": "Apex Dental Supplies",
30 "category": "Medical Equipment Supplier",
31 "description": "Example wholesale distributor of dental instruments and sterilization equipment."
32 },
33 {
34 "name": "SmileCo UK",
35 "category": "Dental Chain",
36 "description": "Example national chain of dental practices with centralised branding and online booking."
37 },
38 {
39 "name": "BrightLab Prosthetics",
40 "category": "Dental Laboratory",
41 "description": "Example dental laboratory manufacturing crowns and dentures for clinics."
42 },
43 {
44 "name": "Northside Orthodontics Group",
45 "category": "Dental Chain",
46 "description": "Example multi-site orthodontic group operated by a regional healthcare company."
47 },
48 {
49 "name": "Cedar Veterinary Surgery",
50 "category": "Veterinary Clinic",
51 "description": "Example independent veterinary practice for companion animals."
52 },
53 {
54 "name": "Pearl Dental Marketing",
55 "category": "Marketing Agency",
56 "description": "Example agency that builds websites and advertising campaigns for dentists."
57 },
58 {
59 "name": "City Centre Dental School",
60 "category": "University Clinic",
61 "description": "Example teaching clinic operated by a university dental school."
62 },
63 {
64 "name": "Moorland Dental Practice",
65 "category": "Dental Clinic",
66 "description": "Example local private dental clinic that uses current online booking, a modern responsive site, and automated reminders."
67 },
68 {
69 "name": "DentalPlan Insurance",
70 "category": "Insurance Provider",
71 "description": "Example provider of dental insurance and membership plans."
72 },
73 {
74 "name": "Riverside Oral Health",
75 "category": "Dental Clinic",
76 "description": "Example independent oral-health clinic with a recently redesigned website and online patient portal."
77 },
78 {
79 "name": "Precision Imaging Centre",
80 "category": "Diagnostic Imaging",
81 "description": "Example radiology provider offering CBCT scans to dental practices."
82 },
83 {
84 "name": "Greenhill Family Dentistry",
85 "category": "Dental Clinic",
86 "description": "Example locally owned family dental practice. The website has broken contact forms and says new patients must download and post a PDF form."
87 },
88 {
89 "name": "National Dental Association",
90 "category": "Professional Association",
91 "description": "Example membership body for dental professionals."
92 },
93 {
94 "name": "Whitebridge Implant Centre",
95 "category": "Dental Clinic",
96 "description": "Example specialist implant clinic owned by a national healthcare group with a modern booking system."
97 },
98 {
99 "name": "ClinicOS Software",
100 "category": "Software Vendor",
101 "description": "Example provider of practice-management software for dentists."
102 },
103 {
104 "name": "Old Mill Dental Care",
105 "category": "Dental Clinic",
106 "description": "Example independent rural dental practice. Its website lists fax as the preferred contact method and has no mobile layout or online appointments."
107 },
108 {
109 "name": "Bristol Dental Recruitment",
110 "category": "Recruitment Agency",
111 "description": "Example recruiter specialising in dental nurses and hygienists."
112 }
113 ]
114};
115
116
117const run = await client.actor("oscar.smith-owner/chevet-semantic-filter-ranker").call(input);
118
119
120console.log('Results from dataset');
121console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
122const { items } = await client.dataset(run.defaultDatasetId).listItems();
123items.forEach((item) => {
124 console.dir(item);
125});
126
127