News for hackers. Stuff that matters.
Re:Anthropic launches Tool Use (function calling) by rcarmo on Friday April 05, 2024 @07:57AM (#39941285)
Langchain, for all its popularity, is some of the worst, most brittle Python code I’ve ever seen or tried to use, so I’d prefer to have things sorted out for me at the API level.
Re:Anthropic launches Tool Use (function calling) by supafastcoder on Friday April 05, 2024 @08:44AM (#39941707)
I switched to using Instructor/Marvin which works really nicely with native pydantic models and gets out the way for everything else.
Re:Anthropic launches Tool Use (function calling) by cjonas on Friday April 05, 2024 @09:15AM (#39941971)
Imo it's unfortunate that python is the dominant tech of this domain. Typescript is better suited for the inference side of things (I know there a ts version of most things, most most companies are looking for python dev)
Re:Anthropic launches Tool Use (function calling) by rcarmo on Friday April 05, 2024 @04:59PM (#39947146)
Python is fine. The problem is all the folk writing Python as if they were doing Java cosplay and without any tests or type annotations.