feat: add managed Granite embedding models
GoodBuddy previously required an external OpenAI-compatible endpoint for vector retrieval. It can now install, verify, import, remove, and run the built-in Granite multilingual embedding model in an isolated local inference process, while retaining custom embedding connections and migrating existing settings. The model connection UI now manages built-in and custom vector connections consistently, reports the actual retrieval path, preserves credentials across failed saves, and renders the vector tab synchronously. Related settings copy, switch styling, metadata typography, and renderer bundle guardrails are aligned with the resulting workflow. Release note: 新增可管理的内置 Granite 多语言向量模型,支持本地下载、离线导入、连接切换与诊断;同时优化向量设置及相关界面的文案、开关和状态显示。
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -232,8 +232,7 @@
|
||||
|
||||
[ 通用设置 ] [ 魔法笔记 ]
|
||||
|
||||
┌ 本地模型 ──────────────────────────────────────────────┐
|
||||
│ 模型下载源 │
|
||||
┌ 模型下载源 ────────────────────────────────────────────┐
|
||||
│ 选择 GoodBuddy 托管本地模型后续下载使用的平台。 │
|
||||
│ 已安装模型和 ZIP 导入不受影响。 │
|
||||
│ │
|
||||
@@ -243,7 +242,6 @@
|
||||
│ ○ Hugging Face │
|
||||
│ 适合可以稳定访问 Hugging Face 的网络环境 │
|
||||
│ │
|
||||
│ 当前选择:ModelScope │
|
||||
└────────────────────────────────────────────────────────┘
|
||||
```
|
||||
|
||||
@@ -299,14 +297,10 @@
|
||||
- 当前模型切换。
|
||||
- 活动下载取消。
|
||||
|
||||
### 7.5 活动下载说明
|
||||
### 7.5 活动下载
|
||||
|
||||
来源选项下方持续说明:
|
||||
|
||||
> 正在进行的模型下载会继续使用启动时的来源;新的下载使用当前选择。
|
||||
|
||||
首期不为这段说明新增跨语音、OCR 和向量管理器的活动任务聚合 IPC。具体活动操作继续在
|
||||
对应模型卡显示冻结来源、进度和取消入口。
|
||||
不常驻展示活动下载说明。具体下载操作在对应模型卡显示进度和取消入口;需要显示来源时
|
||||
必须使用任务启动时冻结的来源。切换全局来源不改变已经开始的操作。
|
||||
|
||||
---
|
||||
|
||||
@@ -651,12 +645,12 @@ resolveModelDownloadPackage(files, source)
|
||||
|
||||
### 12.1 来源状态
|
||||
|
||||
语音、OCR、向量和后续模型卡统一显示:
|
||||
语音和 OCR 的当前模型详情各保留一个全局下载源标签。向量内置连接不重复显示平台功能中
|
||||
已经明确的全局来源,也不显示固定本地安装路径;下载仍使用已保存的全局来源。
|
||||
|
||||
- 当前全局下载源。
|
||||
- 当前模型在该来源是否可下载。
|
||||
- 活动操作的冻结来源。
|
||||
- 已安装模型的安装和校验状态。
|
||||
所有模型管理界面都显示当前模型是否可下载、活动操作的进度与取消入口,以及已安装模型
|
||||
的安装和校验状态。活动操作需要显示来源时,使用任务启动时冻结的来源,不能读取后来
|
||||
切换的全局值。
|
||||
|
||||
未安装且来源可用:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user