logo
episode-header-image
Jan 2025
22m 57s

Episode 223 - Grounding Gemini with Goog...

Mark and Allen
About this episode

Join Mark and Allen, your favorite Two Voice Devs, as they explore the exciting (and sometimes frustrating!) world of Gemini 2.0's search grounding capabilities and how to use it with LangChainJS! Allen shares his recent holiday project: a deep dive into Google's latest AI tools, including the revamped search grounding feature, and how he made it work seamlessly across Gemini 1.5 and 2.0. We'll show you the code and demonstrate the differences between using search grounding and not, using real-world examples. Learn how to build your own powerful, grounded AI applications and stay ahead of the curve in the rapidly changing AI landscape!


In this episode, you'll discover:


[00:00:00] Introduction to Two Voice Devs and what we've been up to

[00:00:24] Allen discusses tackling bug fixes and updates with Gemini 2.0 and LangChain

[00:00:51] The new Gemini 2.0 Search Grounding Tool: what's new? What does it mean to be "agentic"?

[00:02:13] Allen dives into the Google Search Tool, understanding the differences between 1.5 and 2.0, and building a layer for easy use in LangChain

[00:03:06] Allen walks us through the code! The magic of setting up a model with or without search capabilities in LangChainJS

[00:04:48] Using output parsers and annotating your results in LangChainJS

[00:05:53] Similarities between Perplexity's results, and how LangChainJS handles output

[00:06:46] Running the same query with and without grounding, and the dramatic difference in the response (Who won the Nobel Prize for Physics in 2024?)

[00:08:26] A closer look at how LangChainJS presents its source references and how to use them in your projects.

[00:12:55] Taking advantage of tools that Google is providing

[00:13:20] The goal of keeping backward compatibility for developers

[00:15:39] Exploring how this is a version of RAG and how that compares to using external data sources

[00:16:50] What are data sources in VertexAI and how they relate?

[00:19:14] What is the cost? How is Google pricing the search capability?

[00:20:59] More to come soon from Allen with LangChainJS!


Don't miss this deep dive into cutting-edge AI development! Like, subscribe, and share if you find this information helpful!


#Gemini #LangChain #LangChainJS #AI #ArtificialIntelligence #GoogleAI #VertexAI #SearchGrounding #RAG #RetrievalAugmentedGeneration #LLM #LargeLanguageModels #OpenSource #TwoVoiceDevs #Programming #Coding #GoogleSearch #DataScience #MachineLearning #Innovation #TechPodcast #TechVideo

Up next
Jul 31
Episode 250 - Five Years Up, Up, and Away in Voice & AI
Join Mark and Allen for a very special 250th episode as they celebrate five years of Two Voice Devs! You won't want to miss the unique, AI-animated opening that takes them to new heights, or the special closing that brings it all home, both created with the help of Veo 3. In betw ... Show More
36m 14s
Jul 24
Episode 249 - Cracking Copilot and the Mysteries of Microsoft 365
In this episode, guest host Andrew Connell, a Microsoft MVP of 21 years, joins Allen to unravel the complexities of Microsoft's AI strategy, particularly within the enterprise. They explore the world of Microsoft 365 Copilot, distinguishing it from the broader AI landscape and co ... Show More
52m 7s
Jul 17
Episode 248 - AI Showdown: Gemini CLI vs. Claude Code CLI
Join Allen Firstenberg and guest host Isaac Johnson, a Google Developer Expert with a deep background in DevOps and SRE, as they dive into the world of command-line AI assistants. In this episode, they compare and contrast two powerful tools: Anthropic's Claude Code CLI and Googl ... Show More
41m 31s
Recommended Episodes
Nov 2024
Making Sense of Agentic AI | ThoughtWorks Birgitta Boeckeler
There’s AI agents. There’s AI tooling. Do either drive business impact or are they just more things your dev team is supposed to stay on top of? Birgitta Boeckeler, Global Lead for AI Assisted Software Delivery at ThoughtWorks, joins the show to discuss the practical applications ... Show More
47m 40s
Sep 2023
Meta’s Quest 3, AI chatbots and Ray-Ban smart glasses
This week, it’s Meta’s turn to highlight AI during its device event. In this episode, Devindra and Cherlynn dive into all of the news from Meta’s Connect 2023 event, where it unveiled Meta AI and accompanying celebrity-powered chatbots. Oh yah, and it introduced the Meta Quest 3 ... Show More
1h 6m
Sep 2024
Study Reveals Vulnerabilities in Alexa, Siri, and Google Assistant to Malicious Commands
In this episode, we explore a recent study that uncovers how popular voice assistants like Alexa, Siri, and Google Assistant are susceptible to malicious commands. We discuss the potential risks and what users can do to protect their devices. Get on the AI Box Waitlist: ⁠⁠⁠https: ... Show More
6m 17s
Nov 2024
SN 1001: Artificial General Intelligence (AGI) - Gmail Temp Addresses, Russia's Internet Off Switch
How Microsoft lured the US Government into a far deeper and expensive dependency upon its cybersecurity solutions. Gmail to offer native throwaway email aliases like Apple and Mozilla. Russia to ban several additional hosting companies and give its big Internet disconnect switch ... Show More
2h 26m
Sep 2024
AI is more than GenAI
GenAI is often what people think of when someone mentions AI. However, AI is much more. In this episode, Daniel breaks down a history of developments in data science, machine learning, AI, and GenAI in this episode to give listeners a better mental model. Don’t miss this one if y ... Show More
40m 3s
Jul 2019
AWS’ new text-to-speech engine sounds like a newscaster
Thanks to modern machine learning techniques, text-to-speech engines have made massive strides over the last few years. It used to be incredibly easy to know that it was a computer that was reading a text and not a human being. But that’s changing quickly. Amazon’s AWS cloud comp ... Show More
2m 48s
Jan 2021
How Salesforce will make Einstein smarter in 2021
Salesforce launched Einstein, its artificial intelligence tool, in 2016. It was memorable because of the marketing materials, featuring a cute cartoon of the world's most misquoted-scientist. It was also memorable because of the unique capabilities Einsten brought to the table. T ... Show More
27m 46s
May 2021
397: Customer Feedback vs. Team Intuition
This week, we talk about the tension between building what customers explicitly ask for versus building towards a team’s internal vision. In The Sidebar, we talk about the lack of public software critique: Why isn’t there an MKBHD equivalent for software design?Golden Ratio Suppo ... Show More
23m 29s