You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Brand/BrandRetrieveParams.php
+23-1Lines changed: 23 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
useContextDev\Core\Contracts\BaseModel;
14
14
15
15
/**
16
-
* Retrieve logos, backdrops, colors, industry, description, and more. Provide exactly one lookup identifier in the request body: a domain, company name, email address, stock ticker, or transaction descriptor.
16
+
* Retrieve logos, backdrops, colors, industry, description, and more. Provide exactly one lookup identifier in the request body: a domain, company name, email address, stock ticker, transaction descriptor, or direct URL. Note: `by_direct_url` fetches brand data only from the provided URL — not from the entire internet.
Copy file name to clipboardExpand all lines: src/Monitors/MonitorCreateParams/ChangeDetection/MonitorsSemanticChangeDetection.php
+4-33Lines changed: 4 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -10,10 +10,10 @@
10
10
useContextDev\Core\Contracts\BaseModel;
11
11
12
12
/**
13
-
* Detect meaning-level changes that match a natural language query.
13
+
* Detect meaning-level changes to the extracted data, ignoring cosmetic or paraphrase-only differences. What is watched is determined by the extract target's `schema` and `instructions`.
Copy file name to clipboardExpand all lines: src/Monitors/MonitorCreateParams/Target/MonitorsExtractTarget.php
+27-27Lines changed: 27 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@
10
10
useContextDev\Core\Contracts\BaseModel;
11
11
12
12
/**
13
-
* Watch a site's extracted structured data.
13
+
* Watch the monitor-relevant pages of a site for meaningful changes. A crawl guided by `schema`/`instructions` selects up to `max_pages` relevant pages to track; each run re-checks exactly those pages, and confirmed content changes are judged against the monitor's instructions. The tracked page set is refreshed by a periodic re-discovery crawl.
@@ -31,6 +31,12 @@ final class MonitorsExtractTarget implements BaseModel
31
31
#[Required]
32
32
publicstring$type = 'extract';
33
33
34
+
/**
35
+
* Natural-language instructions guiding which pages and facts to track and which changes to report.
36
+
*/
37
+
#[Required]
38
+
publicstring$instructions;
39
+
34
40
/**
35
41
* Root URL to extract structured data from.
36
42
*/
@@ -40,26 +46,20 @@ final class MonitorsExtractTarget implements BaseModel
40
46
#[Optional('follow_subdomains')]
41
47
public ?bool$followSubdomains;
42
48
43
-
/**
44
-
* Optional natural-language instructions guiding what to extract.
45
-
*/
46
-
#[Optional]
47
-
public ?string$instructions;
48
-
49
49
/**
50
50
* Optional maximum link depth from the starting URL (0 = only the starting page).
51
51
*/
52
52
#[Optional('max_depth')]
53
53
public ?int$maxDepth;
54
54
55
55
/**
56
-
* Maximum number of pages to analyze during extraction.
56
+
* Maximum number of pages to track.
57
57
*/
58
58
#[Optional('max_pages')]
59
59
public ?int$maxPages;
60
60
61
61
/**
62
-
* JSON Schema describing the structured data to extract and watch for changes. If omitted, a default summary + key-points schema is used.
62
+
* JSON Schema describing the data you care about. It guides which pages are selected for tracking and gives the change judge context on what matters. If omitted, a default summary + key-points schema is used.
63
63
*
64
64
* @var array<string,mixed>|null $schema
65
65
*/
@@ -71,13 +71,13 @@ final class MonitorsExtractTarget implements BaseModel
* Optional maximum link depth from the starting URL (0 = only the starting page).
159
159
*/
@@ -166,7 +166,7 @@ public function withMaxDepth(int $maxDepth): self
166
166
}
167
167
168
168
/**
169
-
* Maximum number of pages to analyze during extraction.
169
+
* Maximum number of pages to track.
170
170
*/
171
171
publicfunctionwithMaxPages(int$maxPages): self
172
172
{
@@ -177,7 +177,7 @@ public function withMaxPages(int $maxPages): self
177
177
}
178
178
179
179
/**
180
-
* JSON Schema describing the structured data to extract and watch for changes. If omitted, a default summary + key-points schema is used.
180
+
* JSON Schema describing the data you care about. It guides which pages are selected for tracking and gives the change judge context on what matters. If omitted, a default summary + key-points schema is used.
Copy file name to clipboardExpand all lines: src/Monitors/MonitorCreateParams/Target/MonitorsSitemapTarget.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@
10
10
useContextDev\Core\Contracts\BaseModel;
11
11
12
12
/**
13
-
* Watch a sitemap for URL additions and removals. Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. A new URL set must be observed on two consecutive runs before a change is reported, suppressing one-run crawl flaps.
13
+
* Watch a sitemap for URL additions and removals. Crawled URLs are normalized (lowercased host, no trailing slash/fragment) and scoped to the monitored site and its subdomains before comparison. On a detected difference the sitemap is re-fetched within the same run and only URLs both observations agree on are reported, suppressing transient crawl flaps.
0 commit comments