News for hackers. Stuff that matters.
Re:ChatGPT Plugins by nextworddev on Thursday March 23, 2023 @04:16PM (#35280706)
Unpopular Opinion: Having used Langchain, I felt it was a big pile of spaghetti code / framework with poor dev experience. It tries to be too cute and it’s poorly documented so you have to read the source almost all the time. Extremely verbose to boot
Re:ChatGPT Plugins by drusepth on Thursday March 23, 2023 @05:04PM (#35281236)
In a very general sense, this isn't different from any other open vs walled garden debate: the hackable, open project will always have more functionality at the cost of configuration and ease of use; the pretty walled garden will always be easier to use and probably be better at its smaller scope, at the cost of flexibility, customizability, and transparency.
Re:ChatGPT Plugins by xyzzy123 on Thursday March 23, 2023 @05:04PM (#35281247)
Yep, if you look carefully a lot of the demos don't actually work because the LLM hallucinates tool answers and the framework is not hardened against this.

In general there is not a thoughtful distinction between "control plane" and "data plane".

On the other hand, tons of useful "parts" and ideas in there, so still useful.

Re:ChatGPT Plugins by nextworddev on Thursday March 23, 2023 @08:35PM (#35283544)
Yeah I primarily like Langchain as an aggregator of stuff, so I can keep up with literature
Re:ChatGPT Plugins by nmcela on Friday March 24, 2023 @06:53AM (#35287391)
I had the exact same impression. Is anyone working on similar projects and planning to open source it soon? If not, I'm gonna start building one myself.
Re:ChatGPT Plugins by thorax on Friday March 24, 2023 @08:38AM (#35288218)
Yeah I wrote my own plunkylib (which I don't have great docs for yet) which is more about having the LLM and prompts in (nestable) yaml/txt rather than how so many people hard code those in their source. I do like some of the features in langchain, but it doesn't really fit my coding style.

Pretty sure there will be a thousand great libraries for this soon.

Re:ChatGPT Plugins by kerbal on Friday March 24, 2023 @09:31AM (#35288808)
Same impression here. Rolling my own to learn more in the process.
Re:ChatGPT Plugins by msikora on Friday March 24, 2023 @08:21PM (#35297553)
I've found it extremely useful but also you are not wrong at all. It feels like it wants to do too much and the API is not intuitive at all. Also I've found out the docs are already outdated (at least for LangChainJS). Any good alternatives? Especially interested in JS libs.