Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/version3.x/integrations/skills.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,27 @@ PaddleOCR provides official Agent Skills that package the routing rules, calling

The `skills` CLI installs skills globally on the device so they can be used by supported AI apps. [Node.js](https://nodejs.org/en/download) is required.

Install multiple skills at once:

```shell
npx skills add PaddlePaddle/PaddleOCR -g \
--skill paddleocr-text-recognition \
--skill paddleocr-doc-parsing -y
```

Install skills individually:

```shell
npx skills add PaddlePaddle/PaddleOCR -g --skill paddleocr-text-recognition -y
npx skills add PaddlePaddle/PaddleOCR -g --skill paddleocr-doc-parsing -y
```

Install all skills and link to every agent (`--all` = `--skill '*' --agent '*' -y`):

```shell
npx skills add PaddlePaddle/PaddleOCR -g --all
```

> This repository is relatively large. On slower networks, `npx skills add` may time out. If that happens, clone the repository locally first and then install from the local path:
>
> ```shell
Expand Down
16 changes: 16 additions & 0 deletions docs/version3.x/integrations/skills.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,27 @@ PaddleOCR 提供官方 Agent Skills,将 OCR 与文档解析任务的触发规

`skills` CLI 可将 Skill 全局安装到设备上,安装后各 AI 应用均可使用。需要先安装 [Node.js](https://nodejs.org/en/download)。

同时安装多个 Skill:

```shell
npx skills add PaddlePaddle/PaddleOCR -g \
--skill paddleocr-text-recognition \
--skill paddleocr-doc-parsing -y
```

分别安装单个 Skill:

```shell
npx skills add PaddlePaddle/PaddleOCR -g --skill paddleocr-text-recognition -y
npx skills add PaddlePaddle/PaddleOCR -g --skill paddleocr-doc-parsing -y
```

安装全部 Skill,关联所有 agent:(`--all` = `--skill '*' --agent '*' -y`):

```shell
npx skills add PaddlePaddle/PaddleOCR -g --all
```

> 由于 PaddleOCR 仓库较大,在网络较慢的环境下 `npx skills add` 可能因超时而失败。如遇此情况,可先将仓库克隆到本地,再从本地路径安装:
>
> ```shell
Expand Down