让聊天机器人同时处理企业数据中的结构化与非结构化信息。
Conversational Query Engine for Mixed-Modality Heterogeneous Enterprise Data Sources

- 将自然语言查询按模态分层处理,支持文本、表格、图表等混合数据。
- 在企业内部测试中,多跳查询准确率达91.0%,路由决策正确率93.8%。
- 适合需要跨系统查询的金融、运营类企业用户,降低使用门槛。
企业业务智能查询涉及结构化数据仓库与非结构化文档库——两类数据在访问方式、成本和正确性语义上存在本质差异。现有AI接口要求用户选择合适工具:NL2SQL无法推理幻灯片内容,RAG无法访问实时数据表。我们提出COGNI,一个面向生产环境的对话式商业智能系统,将自然语言分析视为异构查询处理问题,设计四层架构。第一层索引层采用自适应切块策略:纯文本幻灯片用递归切块,表格、图表、键值块等结构化内容采用层次化切块,在内部企业基准测试中达到88.3%准确率。第二层路由层基于微调后的Qwen-2.5-1.5B-Instruct模型,输出模态判断与复杂度评估,准确率达93.8%,成本较前沿模型降低约7倍。第三层检索层执行自适应管道:自纠错型NL2SQL代理在G-Eval上达93.9%;递归语言模型在多跳合成查询上达91.0%。第四层缓存层通过多维等价验证(超越嵌入相似性),实现零误命中,并使延迟降低8.4倍。
原文摘要 · Abstract (English)
Enterprise business intelligence queries span structured warehouses and unstructured document repositories -- modalities with fundamentally different access methods, cost profiles, and correctness semantics. Existing AI-enabled interfaces force users to select the right tool: NL2SQL systems cannot reason over slide decks, and RAG pipelines lack access to live warehouse tables. We present COGNI, a production conversational BI system that treats natural-language analytics as a heterogeneous query processing problem, organized as four architectural layers. First, an indexing layer implements slide-adaptive chunking -- recursive chunking for plain-text slides, hierarchical chunking for structured content such as tables, charts, and key-value blocks - achieving $88.3\%$ on our internal enterprise benchmark. Second, a routing layer built on a LoRA fine-tuned Qwen-2.5-1.5B-Instruct model that produces a dual output - modality decision and complexity assessment at $93.8\%$ accuracy and approximately $7\times$ lower cost than frontier-model. Third, a retrieval layer executes complexity-adaptive pipelines: a self-correcting NL2SQL agent at $93.9\%$ G-Eval, and Recursive Language Models reaching $91.0\%$ on multi-hop synthesis queries. Finally, a caching layer validates query equivalence across multiple dimensions beyond embedding similarity, achieving zero false cache hits and $8.4\times$ latency reduction.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。