News for hackers. Stuff that matters.
Re:Langchain Is Pointless by jangletown on Saturday July 08, 2023 @03:38PM (#36647964)
I agree, I really don’t like LangChain abstractions, the chains they say are “composable” are not really, you spend more time trying to figure out langchain than actually building things with it, and it seems it’s not just me after talking to many people

Their code seems all rushed, and seems it worked out for initial popularity, but with their current abstractions I personally don’t think it’s a good long term framework to learn and adopt

That’s why I built my own alternative to it, I call it LiteChain, where the chains are actual composable monads, the code is async streamed by default not ducktaped, it’s very bare bones yet but I’m really putting effort on building a solid foundation first, and having a final simple abstractions for users that don’t get in the way, check it out:

https://github.com/rogeriochaves/litechain

Re:Langchain Is Pointless by ibains on Saturday July 08, 2023 @03:39PM (#36647985)
Why is this just not ETL, why do you need anything here? There is no new category or product needed here.
Re:Langchain Is Pointless by jangletown on Saturday July 08, 2023 @04:26PM (#36648363)
Just saw the video you shared on the other comment using prophecy, very cool

Generally I don’t care much about the embedding and retrieval and connectors etc for playing with the LLMs, I imagined much more robust tools were available already indeed, my focus was more on the prompt development actually, connecting many prompts together for a better chain of thought kinda of thing, working out the memory and stateful parts of it and so on, and I think there might be a case for an “LLM framework” for that, and also a case for a small lib to solve it instead of an ETL cannon

However, I am indeed not experienced with ETLs, have to play more with the available tools to see if and how can I do the things I was building using them

Re:Langchain Is Pointless by krawczstef on Sunday July 09, 2023 @12:20AM (#36651465)
Totally! As a person driving a project like https://github.com/DAGWorks-Inc/hamilton I couldn't agree more!
Re:Langchain Is Pointless by rchaves on Sunday July 09, 2023 @02:17AM (#36652078)
hmmm, just had a chat with GPT-4, it didn't seem convinced that ETLs would do well the same things that LiteChain is trying to achieve: https://chat.openai.com/share/88961bd1-8250-45f0-b814-0680ba...

I'd be happy to see some more examples of LLM application building on ETLs like the video you shared though