urig✔️<p>I'm on the hunt for a <a href="https://mastodon.online/tags/TextToSql" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TextToSql</span></a> package for <a href="https://mastodon.online/tags/Node" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Node</span></a>. That is, an <a href="https://mastodon.online/tags/npm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>npm</span></a> package that takes an <a href="https://mastodon.online/tags/SQL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SQL</span></a> database, analyzes its structure, and can then transform natural language input into a query, run it, and bring me back the results.</p><p>Although it's <a href="https://mastodon.online/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> and so not relevant for me, I've found a very impressive solution in the form of VannaAI (<a href="https://github.com/vanna-ai/vanna" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/vanna-ai/vanna</span><span class="invisible"></span></a>).</p><p>Their core is available in PyPI under MIT and the code looks clean and shin!</p>