2min snip

Latent Space: The AI Engineer Podcast — Practitioners talking LLMs, CodeGen, Agents, Multimodality, AI UX, GPU Infra and all things Software 3.0 cover image

High Agency Pydantic > VC Backed Frameworks — with Jason Liu of Instructor

Latent Space: The AI Engineer Podcast — Practitioners talking LLMs, CodeGen, Agents, Multimodality, AI UX, GPU Infra and all things Software 3.0

NOTE

The Origin of the Instruct Tool and Function Calling in Python

The origin of the Instruct Tool can be traced back to a necessity to handle structured data effectively without the intricacies of manual JSON parsing, ensuring seamless communication with search APIs. Function calling revolutionized the process by allowing the separation of schema from data and instructions, enabling the creation of complex schemas in Pydantic. The introduction of methods further enhanced the functionality. However, existing libraries presented challenges with string formatting limitations in chat models, inspiring the development of a simple SDK as a wrapper to streamline response model handling. This SDK aimed to simplify framework building by addressing tedious tasks like JSON parsing and retrying, allowing developers to focus on building their frameworks.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode