You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/en/tools/parallel_ai.mdx
+21-15Lines changed: 21 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,20 +44,24 @@ Search the web using Parallel AI. Provides comprehensive search results with int
44
44
| Parameter | Type | Required | Description |
45
45
| --------- | ---- | -------- | ----------- |
46
46
|`objective`| string | Yes | The search objective or question to answer |
47
-
|`search_queries`| string | No | Optional comma-separated list of search queries to execute |
48
-
|`processor`| string | No | Processing method: base or pro \(default: base\)|
49
-
|`max_results`| number | No | Maximum number of results to return \(default: 5\)|
50
-
|`max_chars_per_result`| number | No | Maximum characters per result \(default: 1500\)|
47
+
|`search_queries`| string | No | Comma-separated list of search queries to execute |
48
+
|`mode`| string | No | Search mode: one-shot, agentic, or fast \(default: one-shot\)|
49
+
|`max_results`| number | No | Maximum number of results to return \(default: 10\)|
50
+
|`max_chars_per_result`| number | No | Maximum characters per result excerpt \(minimum: 1000\)|
51
+
|`include_domains`| string | No | Comma-separated list of domains to restrict search results to |
52
+
|`exclude_domains`| string | No | Comma-separated list of domains to exclude from search results |
51
53
|`apiKey`| string | Yes | Parallel AI API Key |
52
54
53
55
#### Output
54
56
55
57
| Parameter | Type | Description |
56
58
| --------- | ---- | ----------- |
59
+
|`search_id`| string | Unique identifier for this search request |
57
60
|`results`| array | Search results with excerpts from relevant pages |
58
61
| ↳ `url`| string | The URL of the search result |
59
62
| ↳ `title`| string | The title of the search result |
60
-
| ↳ `excerpts`| array | Text excerpts from the page |
63
+
| ↳ `publish_date`| string | Publication date of the page \(YYYY-MM-DD\)|
64
+
| ↳ `excerpts`| array | LLM-optimized excerpts from the page |
61
65
62
66
### `parallel_extract`
63
67
@@ -68,31 +72,33 @@ Extract targeted information from specific URLs using Parallel AI. Processes pro
68
72
| Parameter | Type | Required | Description |
69
73
| --------- | ---- | -------- | ----------- |
70
74
|`urls`| string | Yes | Comma-separated list of URLs to extract information from |
71
-
|`objective`| string |Yes| What information to extract from the provided URLs |
72
-
|`excerpts`| boolean |Yes| Include relevant excerpts from the content |
73
-
|`full_content`| boolean |Yes| Include full page content |
75
+
|`objective`| string |No| What information to extract from the provided URLs |
76
+
|`excerpts`| boolean |No| Include relevant excerpts from the content\(default: true\)|
77
+
|`full_content`| boolean |No| Include full page content as markdown \(default: false\)|
74
78
|`apiKey`| string | Yes | Parallel AI API Key |
75
79
76
80
#### Output
77
81
78
82
| Parameter | Type | Description |
79
83
| --------- | ---- | ----------- |
84
+
|`extract_id`| string | Unique identifier for this extraction request |
80
85
|`results`| array | Extracted information from the provided URLs |
81
86
| ↳ `url`| string | The source URL |
82
87
| ↳ `title`| string | The title of the page |
83
-
| ↳ `content`| string | Extracted content |
84
-
| ↳ `excerpts`| array | Relevant text excerpts |
88
+
| ↳ `publish_date`| string | Publication date \(YYYY-MM-DD\)|
89
+
| ↳ `excerpts`| array | Relevant text excerpts in markdown |
90
+
| ↳ `full_content`| string | Full page content as markdown |
85
91
86
92
### `parallel_deep_research`
87
93
88
-
Conduct comprehensive deep research across the web using Parallel AI. Synthesizes information from multiple sources with citations. Can take up to 15 minutes to complete.
94
+
Conduct comprehensive deep research across the web using Parallel AI. Synthesizes information from multiple sources with citations. Can take up to 45 minutes to complete.
89
95
90
96
#### Input
91
97
92
98
| Parameter | Type | Required | Description |
93
99
| --------- | ---- | -------- | ----------- |
94
100
|`input`| string | Yes | Research query or question \(up to 15,000 characters\)|
0 commit comments