@ai-sdk/azure 3.0.93 → 3.0.94
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 +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/04-azure.mdx +5 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED
package/docs/04-azure.mdx
CHANGED
|
@@ -432,6 +432,7 @@ const result = await generateText({
|
|
|
432
432
|
},
|
|
433
433
|
filters: {
|
|
434
434
|
allowedDomains: ['sfchronicle.com', 'sfgate.com'],
|
|
435
|
+
blockedDomains: ['example.com'],
|
|
435
436
|
},
|
|
436
437
|
}),
|
|
437
438
|
},
|
|
@@ -458,7 +459,10 @@ The web search tool supports the following configuration options:
|
|
|
458
459
|
- **searchContextSize** _'low' | 'medium' | 'high'_ - Controls the amount of context used for the search. Higher values provide more comprehensive results but may have higher latency and cost.
|
|
459
460
|
- **userLocation** - Optional location information to provide geographically relevant results. Includes `type` (always `'approximate'`), `country`, `city`, `region`, and `timezone`.
|
|
460
461
|
- **filters** - Optional filter configuration to restrict search results.
|
|
461
|
-
- **allowedDomains** _string[]_ -
|
|
462
|
+
- **allowedDomains** _string[]_ - Up to 100 allowed domains for the search.
|
|
463
|
+
- **blockedDomains** _string[]_ - Up to 100 blocked domains for the search.
|
|
464
|
+
|
|
465
|
+
Omit the HTTP or HTTPS prefix from domain filters. Subdomains of configured domains are automatically included or excluded.
|
|
462
466
|
|
|
463
467
|
For detailed information on configuration options see the [Azure OpenAI Web Search Tool documentation](https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/web-search).
|
|
464
468
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/azure",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.94",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@ai-sdk/deepseek": "2.0.50",
|
|
33
|
-
"@ai-sdk/openai": "3.0.
|
|
33
|
+
"@ai-sdk/openai": "3.0.89",
|
|
34
34
|
"@ai-sdk/provider": "3.0.14",
|
|
35
35
|
"@ai-sdk/provider-utils": "4.0.40"
|
|
36
36
|
},
|