1 hr 35 min

Keeping the Revolution on the Rails with Shreya Rajpal of Guardrails AI "The Cognitive Revolution" | AI Builders, Researchers, and Live Player Analysis

    • Technology

Nathan Labenz sits down with engineer Shreya Rajpal, the creator of Guardrails AI, a new Python library that allows developers to add a layer of output, validation and correction to their code. Practically guardrails can ensure a reliable interface between language models and more traditional deterministic software systems. At the same time, mind-bending and potentially risky use case frameworks like Guardrails allow developers to ask and answer entirely new kinds of questions.

Talking to Shreya really reinforced just how early we are in LLM’s impact on the software industry. We were introduced to Shreya’s work when recording our interview with Matt Welsh, the CEO of Fixie.AI (Ep 19: How AI Agents Will Change How We Work).

LINKS:
Guardrails AI: https://shreyar.github.io/guardrails/

We're hiring across the board at Turpentine and for Erik's personal team on other projects he's incubating. He's hiring a Chief of Staff, EA, Head of Special Projects, Investment Associate, and more. For a list of JDs, check out: eriktorenberg.com.

TIMESTAMPS:
(00:00) Episode preview
(05:00) Why Shreya built Guardrails AI
(08:33) Common ways LMs can “go off the rails” and how Guardrails can correct it
(13:45) Discussion of validators
(15:31) Sponsor: Omneky
(18:48) Business and creative use cases of Guardrails AI
(25:00) What can be achieved by Guardrails AI that cannot be achieved by traditional code
(32:44) How agents work vs how Guardrails works
(35:34) AI as shepherd vs delegating to AI and the role of human understanding
(39:54) Trust deficit and risks
(46:33) Is it realistic to imagine GPT-4 using Guardrails?
(52:00) How Shreya thinks about security
(57:02) How Shreya thinks about embeddings
(1:05:05) How Shreya thinks about problemsolving with LMs
(1:07:50) Shreya on OpenAI’s Evals Library, Anthropic’s Constitutional AI
(1:12:55) Discussion of determinism
(1:15:00) Recommendations for developers to minimize overhead
(1:26:00) Predictions about providers in the space of LMs
(1:29:30) Shreya’s favorite AI tools
(1:30:00) Would Shreya get a neuralink implant
(1:31:50) Biggest hopes and fears for AI

TWITTER:
@CogRev_Podcast
@ShreyaR (Shreya)
@labenz (Nathan)
@eriktorenberg (Erik)

SPONSORS:
Shopify is the global commerce platform that helps you sell at every stage of your business. Shopify powers 10% of ALL eCommerce in the US. And Shopify's the global force behind Allbirds, Rothy's, and Brooklinen, and 1,000,000s of other entrepreneurs across 175 countries.From their all-in-one e-commerce platform, to their in-person POS system – wherever and whatever you're selling, Shopify's got you covered. With free Shopify Magic, sell more with less effort by whipping up captivating content that converts – from blog posts to product descriptions using AI. Sign up for $1/month trial period: https://shopify.com/cognitive

Thank you Omneky for sponsoring The Cognitive Revolution. Omneky is an omnichannel creative generation platform that lets you launch hundreds of thousands of ad iterations that actually work, customized across all platforms, with a click of a button. Omneky combines generative AI and real-time advertising data. Mention "Cog Rev" for 10% off.

This show is produced by Turpentine: a network of podcasts, newsletters, and more, covering technology, business, and culture — all from the perspective of industry insiders and experts. We’re launching new shows every week, and we’re looking for industry-leading sponsors — if you think that might be you and your company, email us at erik@turpentine.co.

Music Credit: MusicLM

More show notes and reading material released in our Substack: https://cognitiverevolution.substack.com

Nathan Labenz sits down with engineer Shreya Rajpal, the creator of Guardrails AI, a new Python library that allows developers to add a layer of output, validation and correction to their code. Practically guardrails can ensure a reliable interface between language models and more traditional deterministic software systems. At the same time, mind-bending and potentially risky use case frameworks like Guardrails allow developers to ask and answer entirely new kinds of questions.

Talking to Shreya really reinforced just how early we are in LLM’s impact on the software industry. We were introduced to Shreya’s work when recording our interview with Matt Welsh, the CEO of Fixie.AI (Ep 19: How AI Agents Will Change How We Work).

LINKS:
Guardrails AI: https://shreyar.github.io/guardrails/

We're hiring across the board at Turpentine and for Erik's personal team on other projects he's incubating. He's hiring a Chief of Staff, EA, Head of Special Projects, Investment Associate, and more. For a list of JDs, check out: eriktorenberg.com.

TIMESTAMPS:
(00:00) Episode preview
(05:00) Why Shreya built Guardrails AI
(08:33) Common ways LMs can “go off the rails” and how Guardrails can correct it
(13:45) Discussion of validators
(15:31) Sponsor: Omneky
(18:48) Business and creative use cases of Guardrails AI
(25:00) What can be achieved by Guardrails AI that cannot be achieved by traditional code
(32:44) How agents work vs how Guardrails works
(35:34) AI as shepherd vs delegating to AI and the role of human understanding
(39:54) Trust deficit and risks
(46:33) Is it realistic to imagine GPT-4 using Guardrails?
(52:00) How Shreya thinks about security
(57:02) How Shreya thinks about embeddings
(1:05:05) How Shreya thinks about problemsolving with LMs
(1:07:50) Shreya on OpenAI’s Evals Library, Anthropic’s Constitutional AI
(1:12:55) Discussion of determinism
(1:15:00) Recommendations for developers to minimize overhead
(1:26:00) Predictions about providers in the space of LMs
(1:29:30) Shreya’s favorite AI tools
(1:30:00) Would Shreya get a neuralink implant
(1:31:50) Biggest hopes and fears for AI

TWITTER:
@CogRev_Podcast
@ShreyaR (Shreya)
@labenz (Nathan)
@eriktorenberg (Erik)

SPONSORS:
Shopify is the global commerce platform that helps you sell at every stage of your business. Shopify powers 10% of ALL eCommerce in the US. And Shopify's the global force behind Allbirds, Rothy's, and Brooklinen, and 1,000,000s of other entrepreneurs across 175 countries.From their all-in-one e-commerce platform, to their in-person POS system – wherever and whatever you're selling, Shopify's got you covered. With free Shopify Magic, sell more with less effort by whipping up captivating content that converts – from blog posts to product descriptions using AI. Sign up for $1/month trial period: https://shopify.com/cognitive

Thank you Omneky for sponsoring The Cognitive Revolution. Omneky is an omnichannel creative generation platform that lets you launch hundreds of thousands of ad iterations that actually work, customized across all platforms, with a click of a button. Omneky combines generative AI and real-time advertising data. Mention "Cog Rev" for 10% off.

This show is produced by Turpentine: a network of podcasts, newsletters, and more, covering technology, business, and culture — all from the perspective of industry insiders and experts. We’re launching new shows every week, and we’re looking for industry-leading sponsors — if you think that might be you and your company, email us at erik@turpentine.co.

Music Credit: MusicLM

More show notes and reading material released in our Substack: https://cognitiverevolution.substack.com

1 hr 35 min

Top Podcasts In Technology

Acquired
Ben Gilbert and David Rosenthal
Lex Fridman Podcast
Lex Fridman
All-In with Chamath, Jason, Sacks & Friedberg
All-In Podcast, LLC
Hard Fork
The New York Times
TED Radio Hour
NPR
The Vergecast
The Verge