@spider-cloud/spider-client 0.0.28 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts +12 -0
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -129,6 +129,18 @@ export interface SpiderParams {
|
|
|
129
129
|
* Specifies whether to load all resources of the crawl target.
|
|
130
130
|
*/
|
|
131
131
|
full_resources?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Specifies whether to use the sitemap links.
|
|
134
|
+
*/
|
|
135
|
+
sitemap?: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Get page insights to determine information like request duration, accessibility, and other web vitals. Requires the `metadata` parameter to be set to `true`.
|
|
138
|
+
*/
|
|
139
|
+
page_insights?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Returns the OpenAI embeddings for the title and description. Other values, such as keywords, may also be included. Requires the `metadata` parameter to be set to `true`.
|
|
142
|
+
*/
|
|
143
|
+
return_embeddings?: boolean;
|
|
132
144
|
/**
|
|
133
145
|
* The timeout for the request, in milliseconds.
|
|
134
146
|
*/
|