@parallel-web/ai-sdk-tools 0.1.1-canary.776023d → 0.1.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/README.md +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,12 @@ Add `PARALLEL_API_KEY` obtained from [Parallel Platform](https://platform.parall
|
|
|
20
20
|
|
|
21
21
|
`searchTool` uses [Parallel's web search API](https://docs.parallel.ai/api-reference/search-api/search) to get fresh relevant search results.
|
|
22
22
|
|
|
23
|
-
###
|
|
23
|
+
### Extract Tool
|
|
24
|
+
|
|
25
|
+
`extractTool` uses [Parallel's extract API](https://docs.parallel.ai/api-reference/search-and-extract-api-beta/extract) to extract a web-page's content, for a given objective.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### With AI SDK v5 (Default exports)
|
|
24
29
|
|
|
25
30
|
```typescript
|
|
26
31
|
import { openai } from '@ai-sdk/openai';
|