Chat With Your SQL Database Using LLM (adrelien.com)
from adrelien@lemmy.radio to technology@lemmy.world on 13 Aug 2024 09:41
https://lemmy.radio/post/4061193

Unlock the power of LLMs like ChatGPT and Ollama to effortlessly query and analyze your SQL database using natural language. Learn to set up and use LangChain for complex queries, making data-driven decisions easier and accessible to all, even without technical expertise.

#technology

threaded - newest

breadsmasher@lemmy.world on 13 Aug 2024 09:48 next collapse

Put my entire dataset into an LLM so whoever developed the LLM can steal it and use it for training? No. Thank. You.

massive security / data protection issue.

Scipitie@lemmy.dbzer0.com on 13 Aug 2024 09:54 next collapse

Both langchain as well as ollama run locally and are open source.

To be very frank: your post sounds like fear mongering without having even clicked on the link.

breadsmasher@lemmy.world on 13 Aug 2024 09:55 collapse

I did read the article. Do you arbitrarily trust any code you run locally without reviewing it?

tal@lemmy.today on 13 Aug 2024 10:09 collapse

I have reviewed the tiniest fraction of code that I have ever used.

$  dpkg -l|wc -l
4526
$

That’s about 4500 software packages I have installed on one Linux system, to say nothing of other computing devices I’ve used or the other packaging systems in use on this system alone. I have probably looked at any portion of…I don’t know, maybe 20 of those? And that’s to work on a small portion of any one’s codebase, certainly not to audit the software package.

Nobody using any kind of a remotely normal and modern computing environment, even if they are a software developer and know at least one programming language used by some of the software on their system and if they have the relevant domain knowledge to assess security concerns, has the realistic ability to conduct a review of the code that runs on their system, even in environments, like Linux, where the code is available.

It’s like asking a mechanical engineer to validate the design correctness of every mechanical device they’ve ever used prior to using it.

breadsmasher@lemmy.world on 13 Aug 2024 11:15 collapse

So yes, is the answer. No matter the code; you happily run it

BaroqueInMind@lemmy.one on 13 Aug 2024 11:29 next collapse

Are you trying to tell us that before installing anything on your computer, you read every single line of code in Ghidra? You must be a Gentoo user.

[deleted] on 13 Aug 2024 11:34 next collapse

.

eager_eagle@lemmy.world on 13 Aug 2024 14:50 collapse

if you review the source of everything you run, you must have a very stressful life

adrelien@lemmy.radio on 13 Aug 2024 12:54 collapse

But I mentioned llama, which is self hosted

neclimdul@lemmy.world on 13 Aug 2024 10:10 next collapse

Misread the summary to say data driven delusions and that seems accurate.

conciselyverbose@sh.itjust.works on 13 Aug 2024 13:58 next collapse

Just learn the syntax? It’s not super complicated, and the whole reason we have strict syntax is because you can’t reliably convey intent without it.

Or build a better front end.

technocrit@lemmy.dbzer0.com on 13 Aug 2024 15:07 collapse

And their directions for setting this up are vastly more complicated than a basic SQL query.

technocrit@lemmy.dbzer0.com on 13 Aug 2024 15:05 collapse

There’s almost nothing I want less than chatting with my database(s). These people are desperate.

adrelien@lemmy.radio on 16 Aug 2024 08:32 collapse

I mean you kinda of looking at from the wrong way, In the company I work for, it was a time saver. A department of engineers in embedded systems can upload some measurements then another department can quicky run some questions to write the findings for a customer. They both don’t know anything about SQL and ti is even faster than the tool we built for them. Since they have to filter through 1TB of data. Yes it needs a lot of optimization to get it perfect.