Gemini Flash is SURPRISINGLY Good for Agents and Function Calling

  Рет қаралды 5,347

Prompt Engineering

Prompt Engineering

Күн бұрын

In this video, we look into the latest updates to the Gemini models, covering both the Pro and Flash versions. We'll explore practical use cases, focusing on building a customer support agent that performs sequential and parallel function calls.
#gemini #google #deepmind
💻 RAG Beyond Basics Course:
prompt-s-site.thinkific.com/c...
🦾 Discord: / discord
☕ Buy me a Coffee: ko-fi.com/promptengineering
|🔴 Patreon: / promptengineering
💼Consulting: calendly.com/engineerprompt/c...
📧 Business Contact: engineerprompt@gmail.com
Become Member: tinyurl.com/y5h28s6h
💻 Pre-configured localGPT VM: bit.ly/localGPT (use Code: PromptEngineering for 50% off).
LINKS:
tinyurl.com/266ru3hr
TIMESTAMPS:
00:00 Gemini Models Update Overview
00:23 Performance Improvements and Rankings
00:46 Gemini Flash: A Sweet Spot for Quality and Price
01:43 Understanding Function Calling
03:32 Building a Customer Support Agent
04:00 Setting Up the Environment
04:53 Implementing Basic Functions
06:55 Executing Function Calls
10:33 Handling Sequential and Parallel Function Calls
11:48 Advanced Function Call Management
18:24 Conclusion and Final Thoughts
All Interesting Videos:
Everything LangChain: • LangChain
Everything LLM: • Large Language Models
Everything Midjourney: • MidJourney Tutorials
AI Image Generation: • AI Image Generation Tu...

Пікірлер: 21
@jarad4621
@jarad4621 23 күн бұрын
Finally some Gemini love I've been getting sick results from Gemini for months while people ignore it, there valuable stuff 1.5 can do that none of the others can do and way more then you think, now flash as well is going to have a great use case
@engineerprompt
@engineerprompt 23 күн бұрын
I agree, they have done a really good job with flash.
@unclecode
@unclecode 23 күн бұрын
This is the most impressive function call I've encountered to date! We definitely require an open-source version of this. The function call is more crucial than any other task an LLM can perform. It forms the basis for automation. It is imperative that we find a reliable open-source equivalent. I am determined to make it happen.
@engineerprompt
@engineerprompt 23 күн бұрын
I agree, function calling is really critical for these models to be useful in real-life. Gemini Flash is surprisingly good at it. Would be great to see open source alternative.
@MeinDeutschkurs
@MeinDeutschkurs 22 күн бұрын
Yes, great. But what about data handling over to Google? I’m shocked.
@aa-xn5hc
@aa-xn5hc 23 күн бұрын
This realistic customer service example is super useful and super interesting thanks!
@j4cks0n94
@j4cks0n94 22 күн бұрын
Is there any way to specify a default value for function arguments? What does it do when we tell it to get the status of on order but don't specify an order number?
@aa-xn5hc
@aa-xn5hc 23 күн бұрын
Great great video
@MeinDeutschkurs
@MeinDeutschkurs 22 күн бұрын
I can’t help myself, but this is producing a crazy amount of sub communication to have a final response to the user. Or did I get something wrong?
@IdPreferNot1
@IdPreferNot1 20 күн бұрын
This automation of the extra step noramlly required by function calling is a really great feature. Does gemini do the same thing with "tool calling" (and identifying functions as 'tools' througha decarator)? Hope that OAI can get on the ball and get automation of this step as well, especially since the initial response object always gives the same suggested tool or function object in the response, so should be able to automate its evaluation.
@engineerprompt
@engineerprompt 19 күн бұрын
I agree, its a really neat implementation. Gemini follows a very different format compared to other providers. Would be interesting if both OAI and Claude did the same.
@nithinbhandari3075
@nithinbhandari3075 23 күн бұрын
Nice video.
@bastabey2652
@bastabey2652 22 күн бұрын
Google is playing competitively.. Gemini Pro is also priced competitively at $3.5/million token
@abdulrehmanbaber2104
@abdulrehmanbaber2104 19 күн бұрын
What about same function call multiple times can it handle it, e.g if i need to call an external api multiple times, from the same prompt with different parameters?
@engineerprompt
@engineerprompt 19 күн бұрын
If it were to do sequential calls, I would imagine it will be able to do it within the same prompt.
@Ak_Seeker
@Ak_Seeker 23 күн бұрын
Thank you so much
@engineerprompt
@engineerprompt 23 күн бұрын
will see what I can do.
@jarad4621
@jarad4621 23 күн бұрын
I wish knew how to actually use this like with crew or autogen etc cause kt seems it works differently so how so we use it as an agent in a framework
@engineerprompt
@engineerprompt 23 күн бұрын
My recommendation is to build your own task specific agents. I think most of the frameworks are not ready for primetime.
@WINTERMUTE_AI
@WINTERMUTE_AI 23 күн бұрын
First it made George Washington black, then it told me to eat rocks and put glue on my pizza, NOW ITS GOING TO FLASH ME!? no thanks!
Deploy Open LLMs with LLAMA-CPP Server
14:01
Prompt Engineering
Рет қаралды 4,4 М.
Have You Picked the Wrong AI Agent Framework?
13:10
Matt Williams
Рет қаралды 45 М.
3 wheeler new bike fitting
00:19
Ruhul Shorts
Рет қаралды 52 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 18 МЛН
New Prompt Generator Just Ended the Need for Prompt Engineering
10:43
GraphRAG: LLM-Derived Knowledge Graphs for RAG
15:40
Alex Chao
Рет қаралды 78 М.
Marker: This Open-Source Tool will make your PDFs LLM Ready
14:11
Prompt Engineering
Рет қаралды 37 М.
Nvidia Nim:  Deploy Open Source LLMs with 1 click
4:20
Mosleh Mahamud
Рет қаралды 1 М.
This AI Agent can Scrape ANY WEBSITE!!!
17:44
Reda Marzouk
Рет қаралды 41 М.
Fabric: Opensource AI Framework That Can Automate Your Life!
9:48
How to build Multimodal Retrieval-Augmented Generation (RAG) with Gemini
34:22
Google for Developers
Рет қаралды 36 М.
Another glorious battle for AI dominance… GPT-4o vs Google I/O
4:40
Function Calling in Gemini: A Framework for Connecting LLMs to Real-Time Data
1:15:43
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 35 МЛН
Samsung S24 Ultra professional shooting kit #shorts
0:12
Photographer Army
Рет қаралды 35 МЛН
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 6 МЛН
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 4,4 МЛН