News for hackers. Stuff that matters.
Re:ChatGPT turned generative AI into an “anything tool” by lakomen on Wednesday August 23, 2023 @01:33PM (#37239427)
I'd like to have LawGPT, where it reads all laws of a certain country, and I can ask it things like, "what are my options when the neighbors tree crosses over into my property?"
Re:ChatGPT turned generative AI into an “anything tool” by consumer451 on Wednesday August 23, 2023 @07:00PM (#37243026)
> I'd like to have LawGPT

I tried ChatGPT 4 for a specific TX county's laws. This was after I had spent hours doing traditional search. ChatGPT got everything correct, and even gave me some more direction.

Re:ChatGPT turned generative AI into an “anything tool” by Alupis on Wednesday August 23, 2023 @08:04PM (#37243508)
> ChatGPT got everything correct

My anecdote with technical information is exactly the opposite, unfortunately.

I routinely use it to help guide my research - generally about topics I know something about but want to know more.

It often will provide some response that is entirely wrong but looks very good. When called out, it apologizes, then proceeds to produce more information that's also not entirely correct. There's an artform to teasing out the right answer... but of course you have to be knowledgeable enough to know what is right in the first place.

The subtleties of correct or wrong can be very difficult to determine for a layperson. Without deep knowledge, one might be inclined to believe the first response it provides.

That's pretty terrifying when you think of the possible implications revolving around research, law, etc.

Re:ChatGPT turned generative AI into an “anything tool” by LouisSayers on Wednesday August 23, 2023 @09:19PM (#37244008)
I'm having the same issues with it getting things confidently incorrect.

The flow I've been going through:

* Do this task with this constraint > GPT4 Does task

* Analyse all of the items and whether they adhere to the constraint > GPT4 "Apologies, I got some things wrong, here's what I did incorrect"

* Fix the things you did wrong, remember the constraint is of upmost importance > GPT4 "I have completed the task and fixed the constraint

* Analyse all of the items and whether they adhere to the constraint > GPT4 "Apologies, I got some things wrong, here's what I did incorrect"

...

At least it can analyse the results, but even then if you don't ask in the right way it will blatantly lie to you and tell you it's all correct when it's not.

Re:ChatGPT turned generative AI into an “anything tool” by consumer451 on Wednesday August 23, 2023 @08:09PM (#37243553)
I have had similar experiences in other areas, that's why I didn't try an LLM before spending hours researching. But I must say that I was shocked at the accuracy in that one particular area... Harris County estate law.

What is the difference here? No hallucinations, everything correct… is it just random chance?

Re:ChatGPT turned generative AI into an “anything tool” by nicce on Wednesday August 23, 2023 @09:47PM (#37244139)
I have found the very similar issues.

But on programming language and other logical question areas it does not matter much, as you can verify with logic if something is correct, and then it is incredible useful

Re:ChatGPT turned generative AI into an “anything tool” by shriek on Thursday August 24, 2023 @01:29AM (#37245361)
Likewise, same result for me too but I get it. It's a language model. It makes a best guess based on the information it was provided so I trust it on the things I'm familiar with but verify on those that I'm not.
Re:ChatGPT turned generative AI into an “anything tool” by earth-adventure on Thursday August 24, 2023 @01:38AM (#37245395)
I'm really stunned by the fact that, it seems, so few people get this. It's not a robot in the dense of Commander Data from Star Trek. It's a recursive software method that just has unfathomable amounts of data to base it's guess for some correct sentences on.

There is no logic, no reasoning, no nothing. Yet people complain it's 'giving me wrong answers'. Well, it doesn't know what's it's giving you either way. It only knows the statistics or odds about the sentences it creates being similar to what others have said before.

Re:ChatGPT turned generative AI into an “anything tool” by tropicalbeach on Thursday August 24, 2023 @08:47AM (#37248140)
You could say the same about your brain. You predict the best thing to say at the moment all the time. You make predictions off everything you do.
Re:ChatGPT turned generative AI into an “anything tool” by hnfong on Thursday August 24, 2023 @11:56AM (#37250394)
And "Free Will" is the observation of one's inability to predict one's own actions.

As an aside, the claims that people are willing to make about language models are quite astounding considering that they never seem to realize that most of those claims apply to humans also...

Re:ChatGPT turned generative AI into an “anything tool” by renewiltord on Thursday August 24, 2023 @05:06AM (#37246612)
Yeah, it's true. Even today, I notice that I can often find things using Google while other people can't. I guess it's just a skill and some people lack it.
Re:ChatGPT turned generative AI into an “anything tool” by xmprt on Wednesday August 23, 2023 @07:53PM (#37243439)
This only shows that ChatGPT is as good as or better than your traditional search and not that it's gotten the law right. Unless you go to a lawyer and confirm this doesn't say a whole lot especially considering how prone LLMs are to hallucinating incorrect answers that look correct (even if you found it matched up with Google search, the answers might still be wrong in whatever blog or article you read).
Re:ChatGPT turned generative AI into an “anything tool” by consumer451 on Wednesday August 23, 2023 @07:58PM (#37243480)
That's a fair point. This happened to all be in an area of the law, estate law, which was heavily documented for the public in that jurisdiction.

The estate was tiny, and the actual legal advice was locked behind a paywall ($7k minimum in legal fees) which would have otherwise taken the majority of the estate.

Still a huge win for $20/month.

Re:ChatGPT turned generative AI into an “anything tool” by xmprt on Thursday August 24, 2023 @01:23PM (#37251823)
Yeah. The results are impressive and I can't deny the value when ChatGPT is able to get things like this right. But especially given how much disinformation is starting to be spread on the internet these days and how it's all being scraped for training LLMs (and especially in the case of law where different jurisdictions can have very different laws but ChatGPT could easily get its wires crossed), I'm worried that it might lead to more harm than good when people make decisions based on incorrect outputs of LLMs.
Re:ChatGPT turned generative AI into an “anything tool” by Turskarama on Wednesday August 23, 2023 @08:33PM (#37243723)
The issue is that you cannot _guarantee_ it will get everything correct, the fact that it managed it in your case is largely a matter of luck.

In law, being correct 99% of the time is not really good enough.

Re:ChatGPT turned generative AI into an “anything tool” by skissane on Wednesday August 23, 2023 @11:42PM (#37244771)
> I tried ChatGPT 4 for a specific TX county's laws. This was after I had spent hours doing traditional search. ChatGPT got everything correct, and even gave me some more direction.

Some months back, I tried asking it detailed questions about Australian drug laws. Initially it responded accurately, but then told me some absolute crazy nonsense (that LSD was a completely legal drug in Australia). I just tried it again and it isn't doing that any more. I still wouldn't trust anything it says about legal topics.

IBM mainframe assembly language remains a topic on which ChatGPT (the GPT-3.5 version at least) rather consistently hallucinates. For example, I just asked it to explain the difference between SVC (Supervisor Call) and PC (Program Call) instructions. It wrongly claimed PC is used to make calls within the current program. On the contrary, the PC instruction is basically an LPC/IPC mechanism, it is used to make a call to another process running in a different address space.

Re:ChatGPT turned generative AI into an “anything tool” by tbrownaw on Wednesday August 23, 2023 @11:52PM (#37244827)
Re:ChatGPT turned generative AI into an “anything tool” by menro2 on Thursday August 24, 2023 @02:35AM (#37245724)
We are working on LawGPT. Today's foundational models like GPT 4 have some Laws, but not all. Sadly some US States still require the purchase of printed copies and others are blocked by TOS.
Re:ChatGPT turned generative AI into an “anything tool” by bronco21016 on Thursday August 24, 2023 @08:41AM (#37248085)
I’m curious of methods other commenters to you are using.

I recently vectorized a PDF of material that contains a lot of complex scheduling language. It covers legal regulations as well as contractual constraints. Using langchain’s QA function I queried the vector DB. I then tested it against a sample of questions from a Facebook group on the subject. It did shockingly well.

It seems so much has to do with feeding it the right chunks of source material. When I experimented with just copy and paste small chunks on my own it rarely provided useful feedback.

I love the law idea. I just bought a house and would like to do an addition. Feeding local code and regulation for QA could be a god send in navigating this stuff for a non-expert.

Re:ChatGPT turned generative AI into an “anything tool” by PeterisP on Wednesday August 23, 2023 @07:08PM (#37243098)
Lots and lots of organizations would want a strong ChatGPT-like tool which is trained on a specific (likely not open) dataset of their choosing in addition to all the large general data that grants "common sense" and language understanding. Your example for all laws of a certain country is a good one, and the legal department of some (for example) chemical megacorp would want that and also all the court cases that are even so slightly relevant, and all their contracts they have made since 1900, and all their internal policy documents - and that has quite some potential. But it really does need to be a large language model, for such scenarios, the differences between e.g. ChatGPT 3.5 or ChatGPT 4 or Llama or Llama 2 are meaningful.
Re:ChatGPT turned generative AI into an “anything tool” by yreg on Wednesday August 23, 2023 @11:55PM (#37244844)
How do you build that in a way that you can rely on the results?

The safest approach currently is to use GPT-4 and tell it something like:

"I will give you a block of text and a question. Please answer the question using only the information in the provided text. Don't make any guesses and admit if you are not sure about your answer. If you don't know the answer, say you don't know the answer.

Question: X

Text: Y"

Trouble is that you cannot put the entire books of law into Y because the context is limited. So currently you need to do something else to sieve through the law material and find only the passages most relevant to the question through embeddings or full text search or some other method. It's not very reliable.

Re:ChatGPT turned generative AI into an “anything tool” by shagie on Thursday August 24, 2023 @10:12AM (#37248979)
There was an example project a bit ago... https://www.chatpdf.com - https://news.ycombinator.com/item?id=35626312 and also https://askyourpdf.com https://news.ycombinator.com/item?id=35430409

I don't recall which one it was (or if it might have been another one) that had a rental contract as the example document. The interesting part (to me) was the ability to ask it questions like "can you bring a dog to a party" and have it answer and show the passages that restricted pets and parties.

Re:ChatGPT turned generative AI into an “anything tool” by hnfong on Thursday August 24, 2023 @11:57AM (#37250420)
I suspect having a database of legislation and case law, and a good vector database, then feeding relevant context into a language model with a large context window will work best.