@ai-sdk/openai 2.0.26 → 2.0.27
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/CHANGELOG.md +6 -0
- package/dist/index.d.mts +67 -1
- package/dist/index.d.ts +67 -1
- package/dist/index.js +42 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +42 -12
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +0 -12
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +0 -12
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/internal/index.js
CHANGED
|
@@ -377,23 +377,11 @@ var compoundFilterSchema = import_v43.z.object({
|
|
|
377
377
|
});
|
|
378
378
|
var filtersSchema = import_v43.z.union([comparisonFilterSchema, compoundFilterSchema]);
|
|
379
379
|
var fileSearchArgsSchema = import_v43.z.object({
|
|
380
|
-
/**
|
|
381
|
-
* List of vector store IDs to search through. If not provided, searches all available vector stores.
|
|
382
|
-
*/
|
|
383
380
|
vectorStoreIds: import_v43.z.array(import_v43.z.string()).optional(),
|
|
384
|
-
/**
|
|
385
|
-
* Maximum number of search results to return. Defaults to 10.
|
|
386
|
-
*/
|
|
387
381
|
maxNumResults: import_v43.z.number().optional(),
|
|
388
|
-
/**
|
|
389
|
-
* Ranking options for the search.
|
|
390
|
-
*/
|
|
391
382
|
ranking: import_v43.z.object({
|
|
392
383
|
ranker: import_v43.z.enum(["auto", "default-2024-08-21"]).optional()
|
|
393
384
|
}).optional(),
|
|
394
|
-
/**
|
|
395
|
-
* A filter to apply based on file attributes.
|
|
396
|
-
*/
|
|
397
385
|
filters: filtersSchema.optional()
|
|
398
386
|
});
|
|
399
387
|
var fileSearch = (0, import_provider_utils3.createProviderDefinedToolFactory)({
|