mirror of
https://gitcode.com/JianFeeeee/HomeAgent.git
synced 2026-10-04 00:03:59 +00:00
v0.7.2: 根目录清理 + Agent 心跳重构 + 内嵌 ONNX 模型
- 根目录清理: branding/docs/knowledge -> assets/, package/tools/deploy -> deploy/ - meta.go: Version 0.7.2, SDKCompatibleVersion 语义改为最高兼容 - Makefile: 版本回退 0.7.2 - registry.go: 系统提示词改用 meta.Version 格式化 - Agent 心跳: reorgGraph 拆分为三个独立循环(archive/merge/review),各自可配间隔 - GraphDB: 新增 sentences 表 + 关系句子溯源 + ClearSentenceID + CleanupOrphanedSentences - Knowledge: 支持词嵌入向量化器 - NLP 四阶段流水线: Parse -> Extract -> Verify -> Fuse + SentenceRef - 移除远程 HTTP 解析器(remote_parser.go) - 新增内嵌 ONNX 模型(vocab + dep_parser.onnx): +build onnxruntime: 全量 ONNX Runtime 推理 !build onnxruntime: 内嵌词表规则式降级解析器 - config: core.agent.onnx_model_path 替代 dep_parser_url
This commit is contained in:
BIN
internal/nlp/models/dep_parser.onnx
Normal file
BIN
internal/nlp/models/dep_parser.onnx
Normal file
Binary file not shown.
20
internal/nlp/models/pos_vocab.json
Normal file
20
internal/nlp/models/pos_vocab.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"<bos>": 0,
|
||||
"ADJ": 1,
|
||||
"ADP": 2,
|
||||
"ADV": 3,
|
||||
"AUX": 4,
|
||||
"CCONJ": 5,
|
||||
"DET": 6,
|
||||
"INTJ": 7,
|
||||
"NOUN": 8,
|
||||
"NUM": 9,
|
||||
"PART": 10,
|
||||
"PRON": 11,
|
||||
"PROPN": 12,
|
||||
"PUNCT": 13,
|
||||
"SCONJ": 14,
|
||||
"SYM": 15,
|
||||
"VERB": 16,
|
||||
"X": 17
|
||||
}
|
||||
24949
internal/nlp/models/vocab.json
Normal file
24949
internal/nlp/models/vocab.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user