@youdotcom-oss/ai-sdk-plugin 1.0.0 → 1.0.2
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/main.d.ts +8 -1
- package/dist/main.js +435 -180
- package/package.json +8 -14
- package/templates/generate-text.ts +0 -78
- package/templates/streaming-text.ts +0 -123
package/dist/main.d.ts
CHANGED
|
@@ -137,10 +137,17 @@ export declare const youExpress: (config?: YouToolsConfig) => import("ai").Tool<
|
|
|
137
137
|
*/
|
|
138
138
|
export declare const youContents: (config?: YouToolsConfig) => import("ai").Tool<{
|
|
139
139
|
urls: string[];
|
|
140
|
-
|
|
140
|
+
formats?: ("markdown" | "html" | "metadata")[] | undefined;
|
|
141
|
+
format?: "markdown" | "html" | undefined;
|
|
142
|
+
crawl_timeout?: number | undefined;
|
|
141
143
|
}, {
|
|
142
144
|
url: string;
|
|
143
145
|
title?: string | undefined;
|
|
144
146
|
html?: string | undefined;
|
|
145
147
|
markdown?: string | undefined;
|
|
148
|
+
metadata?: {
|
|
149
|
+
jsonld?: Record<string, unknown>[] | undefined;
|
|
150
|
+
opengraph?: Record<string, string> | undefined;
|
|
151
|
+
twitter?: Record<string, string> | undefined;
|
|
152
|
+
} | undefined;
|
|
146
153
|
}[]>;
|