diff --git a/README.md b/README.md index 93d0445ce..2d31c9388 100644 --- a/README.md +++ b/README.md @@ -32,15 +32,17 @@ The high-level architecture and main process flow is as follows: -- **Schema Mapper:** identifies references to schema elements(metrics/dimensions/entities/values) in user queries. It matches the query text against a knowledge base constructed from the semantic models. +- **Knowledge Base:** extracts schema information periodically from the semantic models and build dictionary and index to facilitate schema mapping. -- **Semantic Parser:** understands user queries and extract semantic information. It consists of a combination of rule-based and model-based parsers, each of which deals with specific scenarios. +- **Schema Mapper:** identifies references to schema elements(metrics/dimensions/entities/values) in user queries. It matches the query text against the knowledge base. + +- **Semantic Parser:** understands user queries and extracts semantic information. It consists of a combination of rule-based and model-based parsers, each of which deals with specific scenarios. - **Semantic Corrector:** checks validity of extracted semantic information and performs correction and optimization if needed. - **Semantic Layer:** performs execution according to extracted semantic information. It generates SQL queries and executes them against physical data models. -- **Chat Plugin:** extends functionality with third-party tools. Given all configured plugins with function description and sample questions, the LLM is going to select the most suitable one. +- **Chat Plugin:** extends functionality with third-party tools. The LLM is going to select the most suitable one, given all configured plugins with function description and sample questions. ## Quick Demo @@ -61,3 +63,9 @@ Pull the source code and run script "assembly/bin/build-standalone.sh" to build ### Build for Distributed Mode Pull the source code and run scripts "assembly/bin/build-chat.sh" and "assembly/bin/build-semantic.sh" separately to build packages. + +## WeChat Contact + +Please join the chat group to suggest feedbacks or ideas: + + \ No newline at end of file diff --git a/README_CN.md b/README_CN.md index e4e0b60e1..eaf754888 100644 --- a/README_CN.md +++ b/README_CN.md @@ -30,7 +30,9 @@ -- **模式映射器(Schema Mapper):** 基于语义模型构建知识库,然后将自然语言文本在知识库中进行匹配,为后续的语义解析提供相关信息。 +- **知识库(Knowledge Base):** 定期从语义模型中提取相关的模式信息,构建词典和索引,以便后续的模式映射。 + +- **模式映射器(Schema Mapper):** 将自然语言文本在知识库中进行匹配,为后续的语义解析提供相关信息。 - **语义解析器(Semantic Parser):** 理解用户查询并抽取语义信息,其由一组基于规则和基于模型的解析器组成,每个解析器可应对不同的特定场景。 @@ -59,3 +61,9 @@ ### Distributed模式构建 下载源码包,分别运行脚本"assembly/bin/build-chat.sh"、"assembly/bin/build-semantic.sh",为问答层服务和语义层服务编译打包 + +## 微信联系方式 + +欢迎加入微信群反馈建议: + + \ No newline at end of file diff --git a/docs/images/supersonic_components.png b/docs/images/supersonic_components.png index 4c237eb74..07ebe188d 100644 Binary files a/docs/images/supersonic_components.png and b/docs/images/supersonic_components.png differ diff --git a/docs/images/wechat_contact.jpeg b/docs/images/wechat_contact.jpeg new file mode 100644 index 000000000..1d913ecc0 Binary files /dev/null and b/docs/images/wechat_contact.jpeg differ