前言¶
在構建 DSH Agent 時,若需要讓 Agent 訪問本地資料庫或具備檢索能力,通常需要額外的配置。下面介紹一款爲此場景設計的插件。
這是什麼¶
modole/dsh-plugin-knowledge-laoboshi 是一款面向 DSH Agent 的本地知識庫、檢索與資料管理插件。
- 維護者:Modole
- 定位:本地知識庫、檢索與資料管理
- 來源:源自 Laoboshi Agent Studio 內置能力
核心功能¶
插件主要提供以下能力:
- 本地知識庫管理
- 知識檢索
- 資料管理
安裝與啓用¶
- 執行安裝命令:
dsh plugin --profile web add https://github.com/Modole/dsh-plugin-knowledge-laoboshi.git
-
安裝完成後,重啓
dsh web。 -
DSH 會讀取
dsh.bundle清單,並將此包添加到所選配置文件。
適用場景與注意¶
適用場景:需要爲 DSH Agent 提供本地上下文記憶和資料管理能力的開發者。
注意事項:
- 插件以當前用戶權限執行。
- 安裝前請審查源代碼。
- 永遠不要在問題中發佈憑據、SSH 私鑰或本地運行時數據庫。
總結¶
該插件爲 DSH Agent 提供了基礎的本地資料管理能力,適合需要構建本地知識庫的 Agent 場景。更多詳情請訪問 GitHub 倉庫。