HNHacker News
TopNewBestAskShowJobs

me_vinayakakv

43 karma · joined April 26, 2024

submissionscomments
me_vinayakakv··on Why we no longer use LangChain for building our AI agents
Vercel AI SDK[1] shines in this aspect in JS ecosystem.

They have the concept of providers [2] and switching between them is easy as changing parameters of a function[3]

[1]:https://sdk.vercel.ai/docs/introduction

[2]: https://sdk.vercel.ai/docs/foundations/providers-and-models

[3]: https://sdk.vercel.ai/docs/ai-sdk-core/overview#ai-sdk-core

me_vinayakakv··on Is there a BNF grammar of the TeX language? (2010)
Typst[1] is another tool which implements document generation from the ground up.

Zerodha had a great article [2] how they migrated from LaTeX based pdf generation to Typst, which ended up saving time and compute.

[1]: https://typst.app/ [2]: https://zerodha.tech/blog/1-5-million-pdfs-in-25-minutes/

me_vinayakakv··on GPT-4o is consistently hallucinating
I am using GPT 4o and have observed both 1 and 2.

Based on a tweet in X[1], I had to add "I REPEAT" to the instruction to get the model to not to ignore instructions.

[1]: https://x.com/btibor91/status/1796077902959640893

← PreviousPage 2 of 2