News for hackers. Stuff that matters.
Re:LangChain: Build AI apps with LLMs through composability by bob29 on Tuesday January 17, 2023 @11:42PM (#34423508)
>but... we could already do that? that sums up so much. the emperor has no clothes. few see it. its inferior to the modern purpose built tools. we act impressed a simple program can be created from a prompt, what has every programmer been doing already for the last 10 years with google search and stackoverflow?
Re:LangChain: Build AI apps with LLMs through composability by motoxpro on Wednesday January 18, 2023 @12:00AM (#34423584)
Another comment from this thread seems pretty cool to me. https://github.com/approximatelabs/sketch
Re:LangChain: Build AI apps with LLMs through composability by yunwal on Tuesday January 17, 2023 @11:54PM (#34423561)
I think building regexes is a good example of where chatgpt/copilot is useful. It’s not that it’s particularly difficult or requires much understanding, just very time consuming compared to writing an English language description and walking through an example.
Re:LangChain: Build AI apps with LLMs through composability by bob29 on Wednesday January 18, 2023 @09:24AM (#34426913)
Useful compared to writing a regex in notepad yeah.

Last time I was challenged by regex I easily found very fancy web page with so many nice features. Actual documentation, ability to select a specific regex engine (or implementation or whatever you call it) , real-time results on test data, highlighting that shows how the regex works, etc. and that was years ago I’m sure there’s even better web apps now.

I can’t imagine having a better experience asking AI chat than using a web app made for the purpose

Re:LangChain: Build AI apps with LLMs through composability by yunwal on Wednesday January 18, 2023 @10:13AM (#34427591)
Do you have a link to the site?

Being able give some examples and just state in plain English what you want the capture groups to be is pretty much my ideal regex experience (in other words, I don’t want to think about the semantics of regex ever).

Re:LangChain: Build AI apps with LLMs through composability by sandkoan on Wednesday January 18, 2023 @01:38PM (#34430924)
This might be what they're referring to: https://regex101.com/.
Re:LangChain: Build AI apps with LLMs through composability by yunwal on Thursday January 19, 2023 @11:19AM (#34441981)
That’s what I figured. Maybe it’s just me but for complicated use-cases this still takes me forever to get the right regex string, especially with capture groups.