logoalt Hacker News

int_19hyesterday at 10:54 PM1 replyview on HN

I'll admit that I haven't looked it in a while, but as originally released, it was a textbook example on how to complicate a fundamentally simple and well-understood task (text templates, basically) with lots of useless abstractions that made it all sound more "enterprise". People would write complicated langchains, but then when you looked under the hood all it was doing is some string concatenation, and the result was actually less readable than a simple template with substitutions in it.


Replies

gcryesterday at 11:47 PM

What do you suggest instead? Handrolled code with “import openai”? BAML?

show 1 reply