Skip to content

Commit 2be27f7

Browse files
committed
feat: add images for web search documentation and update search source options
1 parent ed8229a commit 2be27f7

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

en/use/websearch.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
The web search feature aims to provide large language models with the ability to invoke search engines like Google, Bing, and Sogou to obtain recent world information, which can improve the accuracy of model responses and reduce hallucinations to some extent.
55

6-
AstrBot's built-in web search functionality relies on the large language model's `function calling` capability. If you're not familiar with function calling, please refer to: [Function Calling](/use/function-calling).
6+
AstrBot's built-in web search functionality relies on the large language model's `function calling` capability. If you're not familiar with function calling, please refer to: [Function Calling](/use/websearch).
77

88
When using a large language model that supports function calling with the web search feature enabled, you can try saying:
99

@@ -14,16 +14,22 @@ When using a large language model that supports function calling with the web se
1414

1515
And other prompts with search intent to trigger the model to invoke the search tool.
1616

17-
Starting from version v4.0.0, AstrBot supports 2 types of web search source integration: `default` and `Tavily`. The former uses AstrBot's built-in web search requester to query Google, Bing, and Sogou search engines, performing best in network environments with Google access. Tavily is recommended.
17+
AstrBot supports 3 types of web search source integration: `default`, `Tavily`, and `Baidu AI Search`.
18+
19+
The former uses AstrBot's built-in web search requester to query Google, Bing, and Sogou search engines, performing best in network environments with Google access. **We recommend using Tavily**.
1820

1921
![image](/source/images/websearch/image.png)
2022

21-
Go to `Configuration`, scroll down to find Web Search, where you can select `default` or `Tavily`.
23+
Go to `Configuration`, scroll down to find Web Search, where you can select `default` (default, not recommended) or `Tavily`.
2224

23-
### default
25+
### default (Not Recommended)
2426

2527
If your device is in China and you have a proxy, you can enable the proxy and enter the HTTP proxy address in `Admin Panel - Other Configuration - HTTP Proxy` to apply the proxy.
2628

2729
### Tavily
2830

2931
Go to [Tavily](https://app.tavily.com/home) to get an API Key, then fill it in the corresponding configuration item.
32+
33+
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:
34+
35+
![](/source/images/websearch/image1.png)

source/images/websearch/image1.png

346 KB
Loading
346 KB
Loading

zh/use/websearch.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,22 @@ AstrBot 内置的网页搜索功能依赖大模型提供 `函数调用` 能力
1313

1414
等等带有搜索意味的提示让大模型触发调用搜索工具。
1515

16-
v4.0.0 版本以后,AstrBot 支持 2 种网页搜索源接入方式:`默认``Tavily`。前者使用 AstrBot 内置的网页搜索请求器请求 Google、Bing、搜狗搜索引擎。在能够使用 Google 的网络环境下表现最佳。推荐使用 Tavily。
16+
AstrBot 支持 3 种网页搜索源接入方式:`默认``Tavily``百度 AI 搜索`
17+
18+
前者使用 AstrBot 内置的网页搜索请求器请求 Google、Bing、搜狗搜索引擎,在能够使用 Google 的网络环境下表现最佳。**我们推荐使用 Tavily**
1719

1820
![image](/source/images/websearch/image.png)
1921

20-
进入 `配置`,下拉找到网页搜索,您可选择 `default`(默认) 或 `Tavily`
22+
进入 `配置`,下拉找到网页搜索,您可选择 `default`(默认,不推荐) 或 `Tavily`
2123

22-
### default
24+
### default(不推荐)
2325

2426
如果您的设备在国内并且有代理,可以开启代理并在 `管理面板-其他配置-HTTP代理` 填入 HTTP 代理地址以应用代理。
2527

2628
### Tavily
2729

2830
前往 [Tavily](https://app.tavily.com/home) 得到 API Key,然后填写在相应的配置项。
31+
32+
如果您使用 Tavily 作为网页搜索源,在 AstrBot ChatUI 上将会获得更好的体验优化,包括引用来源展示等:
33+
34+
![](/source/images/websearch/image1.png)

0 commit comments

Comments
 (0)