Comment

Comment by raverbashing

> Langchain is a robust framework

Not really

> designed for incorporating Large Language Models (LLMs) into real-world applications

Just literally call the APIs you know?!

I feel langchain is targeted at the "5 min AI experts" but not much more than that

A great example there:

> PromptTemplate allows us to create prompts where placeholders can be replaced by specific input value

    const promptTemplate1 = new PromptTemplate({
    template: "What is a creative name for a company that 
    produces {product}?",
    inputVariables: ["product"],})
Why do you need a library when you can do this literally with string formatting. Literally

And me thinking left-pad was the epitome of stupidity

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton