4 ms·
I'm glad I wasn't the only one that felt Langchain had a ton of redundant abstractions engineered to gain clout for vc money. Here is an example: AnalyzeDocume
by zyang 3y ago
I'm glad I wasn't the only one that felt Langchain had a ton of redundant abstractions engineered to gain clout for vc money. Here is an example:
AnalyzeDocumentChain[1] just wraps RecursiveCharacterTextSplitter[2]. It serves no real purpose except padding the api doc.
[1] https://js.langchain.com/docs/modules/chains/other_chains/analyze_document https://js.langchain.com/docs/modules/chains/other_chains/an...
[2] https://js.langchain.com/docs/modules/chains/other_chains/summarization https://js.langchain.com/docs/modules/chains/other_chains/su...
- crazyedgar 3y agoIt's worse than that. The documentation is a confusing mess that completely omits the explanation of key default parameters and details. And the abstractions are horrendously brittle. And difficult to fix, because there are too many layers. The best use of LangChain is probably just looking at the included prompts in the source code for inspiration.