Enable javascript in your browser for better experience. Need to know to enable it? Go here.
Last updated : Nov 05, 2025
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar. Understand more
Nov 2025
Hold ?

Text to SQL 利用大语言模型(LLM)将自然语言翻译为可执行的 SQL,但其可靠性往往低于预期。我们已将此技术的状态调整为 “Hold”,以劝阻在无人监督的工作流中使用——例如,动态转换用户生成的查询,而输出结果被隐藏或自动化。在这些情况下,LLM 由于对数据库模式或领域理解有限,常常会产生幻觉,导致错误的数据检索甚至意外的数据修改。此外,LLM 输出的非确定性特征也使得调试和审计错误变得更加困难。 我们建议Text to SQL,并要求对所有生成的查询进行人工审核。对于智能化商业分析场景,应避免直接访问数据库,而应通过受治理的数据抽象语义层来实现,例如 Cubedbt 的语义层;或者使用具有更强语义表达能力的访问层,如GraphQLMCP

Apr 2024
Trial ?

Text to SQL 是一种用于将自然语言查询转换为可以由数据库执行的 SQL 查询的技术。尽管大语言模型能够理解和转换自然语言,但在你自己的 schema 中创建准确的 SQL 仍然存在很大的挑战。为此可以引入 Vanna,它是一个在 Python 中用于 SQL 生成的检索增强生成(RAG)开源框架。Vanna 分两步工作:首先你需要使用数据定义语言语句(DDLs)和示范 SQL 描述你的结构,并为它们创建嵌入向量,然后再用自然语言提出问题。尽管 Vanna 可以与任何大语言模型协作,我们还是推荐你评估 NSQL,它是一个用于 Text to SQL 任务的领域特定大语言模型。 检索增强生成

Published : Apr 03, 2024

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Visit our archive to read previous volumes