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
The web search feature gives large language models internet retrieval capability for recent information, which can improve response accuracy and reduce hallucinations to some extent.
@@ -19,120 +20,26 @@ AstrBot currently supports 5 web search providers: `Tavily`, `BoCha`, `Baidu AI
19
20
20
21
Go to `Configuration`, scroll down to find Web Search, where you can select `Tavily`, `BoCha`, `Baidu AI Search`, `Brave`, or `Exa`.
21
22
22
-
If you use Tavily as your web search source, you will get a better experience optimization on AstrBot ChatUI, including citation source display and more:
|`url`| string | Yes | - | The URL to extract content from |
53
-
|`extract_depth`| string | No |`basic`| Extraction depth. Must be `basic` or `advanced`|
54
-
|`timeout`| number | No | 30 | Request timeout in seconds. Minimum is 30 |
55
-
56
-
## Baidu AI Search
57
-
58
-
Go to the [BCE Console](https://console.bce.baidu.com/iam/#/iam/apikey/list) to get an API key, then fill it in the `websearch_baidu_app_builder_key` configuration item.
23
+
### Tavily
59
24
60
-
Baidu AI Search exposes one tool:
25
+
Go to [Tavily](https://app.tavily.com/home) to get an API Key, then fill it in the corresponding configuration item.
|`freshness`| string | No |`noLimit`| Time range filter. Supported values: `noLimit`, `oneDay`, `oneWeek`, `oneMonth`, `oneYear`, `YYYY-MM-DD..YYYY-MM-DD`, or `YYYY-MM-DD`|
84
-
|`summary`| boolean | No |`false`| Whether to include a summary for each result |
85
-
|`include`| string | No | - | Domains to include. Multiple domains separated by `\|` or `,`|
86
-
|`exclude`| string | No | - | Domains to exclude. Multiple domains separated by `\|` or `,`|
87
-
|`count`| number | No | 10 | Number of results to return. Range: 1-50 |
88
-
|`timeout`| number | No | 30 | Request timeout in seconds. Minimum is 30 |
39
+
### Exa
89
40
90
-
## Brave
41
+
Go to [Exa](https://dashboard.exa.ai) to get an API Key, then fill it in the corresponding configuration item.
91
42
92
-
Go to Brave Search to get an API key, then fill it in the corresponding configuration item.
|`url`| string | Yes | - | The URL to extract content from |
130
-
|`timeout`| number | No | 30 | Request timeout in seconds. Minimum is 30 |
131
-
132
-
### Find Similar (`exa_find_similar`)
43
+
If you use Tavily as your web search source, you will get a better experience optimization on AstrBot ChatUI, including citation source display and more:
0 commit comments