TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Integrating SQL and LLM what is you experience

1 点作者 yonisto4 个月前
I was tasked with building a &quot;native language interface&quot; to our database. After developing it for a month, it seems to me that I hit a wall with the correctness of the resulting SQL. 80-20 would be a good estimate. My feeling is that it something that cannot be used a regular user.<p>Did you do better and you have tips?<p>NOTE: I&#x27;m not talking about performant queries only about producing a correct result. I would say that only about 50% cannot be better optimized, but I don&#x27;t care about that.

1 comment

lunarcave4 个月前
Does this [1] look like the thing you&#x27;re looking for?<p>We built a basic Re-Act agent that can dynamically inspect the database context and generate the queries iteratively.<p>Our experience was that it was hard to do single-shot.<p>Happy to answer any questions.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;inferablehq&#x2F;inferable&#x2F;tree&#x2F;main&#x2F;adapters&#x2F;pgsql-adapter">https:&#x2F;&#x2F;github.com&#x2F;inferablehq&#x2F;inferable&#x2F;tree&#x2F;main&#x2F;adapters&#x2F;...</a>
评论 #42790554 未加载