mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-05-07 10:24:21 +08:00
Updated 超音数设计思路 (markdown)
@@ -47,6 +47,8 @@
|
||||
|
||||
当前的实现机制是,定期从semantic model中抽取名称、别名、取值来构建词典,形成内部的knowledge base。查询解析阶段,先对输入文本分词,再采用n-gram词典探测的机制。经过前期调研,中文NLP框架[HanLP](https://github.com/hankcs/HanLP)相对成熟,可以满足需要。
|
||||
|
||||
Schema mapper会将所有达到匹配阈值要求的schema项及其相似度得分一并保存到info对象,传递给后续semantic parsing环节引用,最终会由parser挑选输入给LLM。
|
||||
|
||||
### 引入Semantic Corrector
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user