News for hackers. Stuff that matters.
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.