Router reconstruct - #237
Open
yu-zhy wants to merge 2 commits into
Open
Conversation
- segmenter.yaml 独立配置文件(不污染 model.yaml) - embedder: onnx 启动语义模型 默认使用bge-small-zh-v1.5 支持自动下载 - topic_tracking: true 启动主题追踪 - onnx_model: xxx 支持手动配置下载模型 add TopicGraph feature with ollama fix: PR itmisx#219 issue 全部修复 1. modelPin 判断: m.modelPin == "" || m.modelPin == "auto" (原恒为 false) 2. activeModelID 兜底: else 分支加回退逻辑 3. CI: go vet self-assignment 删除 + TF-IDF 首篇文档向量全零修复 4. 话题切换冲突: 移除 TopicSwitch 提示(保留 TopicGraph 用于路由) 5. ONNX 路径: ortLibName build tag 分平台 + ORT 引擎路径改为 ~/.deepx/ocr/ 6. ONNX mean pooling: 按 attention_mask 加权平均 + 归一化 7. 阈值分档: adjustedNewTopicThreshold() 按 embedder 类型返回不同值 8. token_type_ids: 补充缺失的 ONNX 模型输入(全零张量)
1、建议重构模型路由策略实现,支持用户自定义模型路由语义元句 2、支持模型路由回降机制,进一步降低成本 Fixs itmisx#236
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.