Skip to content

Commit b2465b2

Browse files
committed
refactor: toolStoreDialog
1 parent b971a2c commit b2465b2

29 files changed

+172
-45
lines changed

ui/public/fx/bochaai/detail.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## 概述
2+
3+
博查工具是一个支持自然语言搜索的 Web Search API,从近百亿网页和生态内容源中搜索高质量世界知识,包括新闻、图片、视频、百科、机酒、学术等。
4+
5+
6+
## 配置
7+
8+
1. 获取API Key 
9+
[博查开放平台](https://open.bochaai.com/overview) 上申请 API 密钥。
10+
![API Key](/ui/fx/img/bocha_APIKey.jpg)
11+
2. 在函数库中配置
12+
在函数库的博查函数面板中,点击 … > 启用参数,填写 API 密钥,并启用该函数。
13+
![启动参数](/ui/fx/img/bocha_setting.jpg)
14+
3. 在应用中使用
15+
在高级编排应用中,点击添加组件->函数库->博查,设置使用参数。
16+
![应用中使用](/ui/fx/img/bocha_app_used.jpg)

ui/public/fx/bochaai/icon.png

13 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## 概述
2+
3+
Google 搜索工具是一个实时 API,可提取搜索引擎结果,提供来自 Google 的结构化数据。它支持各种搜索类型,包括 Web、图像、新闻和地图。
4+
5+
## 配置
6+
7+
1. 创建 Google Custom Search Engine
8+
[Programmable Search Engine](https://programmablesearchengine.google.com/)中 添加 Search Engine
9+
![google 创建引擎](/ui/fx/img/google_AddSearchEngine.jpg)
10+
2. 获取cx参数
11+
进入添加的引擎详情中,在【基本】菜单中获取搜索引擎的ID,即cx。
12+
![google cx ](/ui/fx/img/google_cx.jpg)
13+
3. 获取 API Key
14+
打开 https://developers.google.com/custom-search/v1/overview?hl=zh-cn 获取API Key。
15+
![google API Key](/ui/fx/img/google_APIKey.jpg)
16+
4. 配置启动参数
17+
在Google 搜索函数的启动参数中填写配置以上参数,并启用该函数。
18+
![启动参数](/ui/fx/img/google_setting.jpg)
19+
5. 在应用中使用
20+
在高级编排应用中,点击添加组件->函数库->Google搜索,设置使用参数。
21+
![应用中使用](/ui/fx/img/google_app_used.jpg)
6.41 KB
Loading
587 KB
Loading

ui/public/fx/img/MySQL_setting.jpg

274 KB
Loading
567 KB
Loading
284 KB
Loading

ui/public/fx/img/bocha_APIKey.jpg

236 KB
Loading
586 KB
Loading

0 commit comments

Comments
 (0)