Function Calling in Gemini: A Framework for Connecting LLMs to Real-Time Data

  Рет қаралды 10,080

Google Cloud Events

Google Cloud Events

4 ай бұрын

Function calling is a powerful built-in feature of Gemini that gives developers structured outputs and full control when connecting large language models (LLMs) to real-time data in external systems via APIs. Function calling is an intuitive way to build generative AI applications that can access real-time information in databases, CRMs, document repositories, customer support platforms, and other types of systems.
In this session, we’ll give an overview of function calling and show you how to define functions, tools, and parameters that enable Gemini to interact with external systems. We’ll show sample code and apps that can interact with BigQuery via natural language prompts, handle RAG operations to retrieve and summarize documents from vector databases, or (optionally) integrate with OSS frameworks such as LangChain and LlamaIndex.
We'll also discuss best practices to follow when using function calling, including how to write descriptive function and parameter definitions, how to work with structured outputs, how to handle API calls and function responses, and how to work with function calling in text and chat modalities. By the end of this session, you’ll have a good understanding of how function calling in Gemini works and how you can use it to build apps that interact with your own APIs and services.
We’ll cover the following topics:
- How function calling solves limitations in LLMs and generative models
- The benefits of using function calling vs. traditional approaches
- How to use function calling and how it works at runtime
- Interacting with SQL databases, vector databases, and other systems
- How to get started with function calling with your own systems
Codelab: codelabs.developers.google.co...
Sample notebook: github.com/GoogleCloudPlatfor...
Documentation: cloud.google.com/vertex-ai/do...
Join, learn, and get your questions answered with the Google Cloud AI Community: goo.gle/ai-community
Share your feedback and suggestions for future topics: goo.gle/gcc-event-feedback

Пікірлер: 9
@darshansharma_
@darshansharma_ 3 ай бұрын
Great lecture on Function calling in LLM and we discussed about the LLM are not updated to the new events of real world - a major drawback of LLMs
@DonBranson1
@DonBranson1 2 ай бұрын
great session. appreciate the real world use cases and hands on examples.
@gemini_537
@gemini_537 2 ай бұрын
Gemini: This video is about Function Calling in Gemini, a framework for connecting large language models (LLMs) to real-time data and APIs. The video starts with an overview of generative AI in Google Cloud. Generative AI has been rapidly advancing, and Google Cloud is at the forefront of this innovation. Google Cloud offers a variety of generative AI models, including the latest Gemini series. Gemini models are not only powerful, but also easy to integrate with other Google Cloud services like Vertex AI. Then, the video dives into the challenges of using LLMs and how Function Calling in Gemini can address them. LLMs can produce inconsistent outputs, lack access to information after their training date, and are disconnected from the world. Function Calling in Gemini solves these problems by providing a structured framework for generating consistent outputs, incorporating external data and APIs, and enabling LLMs to interact with the real world. The core functionality of Function Calling in Gemini is to allow LLMs to call external functions and APIs. This enables LLMs to access and process information from various sources, leading to more informative and actionable outputs. The video showcases several use cases that demonstrate the power of Function Calling in Gemini, including: * Building employee assistance applications to improve team productivity * Enhancing customer experiences by integrating LLMs into chatbots and virtual assistants * Automating process flows in security and supply chain management Overall, Function Calling in Gemini is a powerful tool that can help developers unlock the full potential of LLMs by enabling them to connect to real-time data and APIs.
@lancemarchetti8673
@lancemarchetti8673 3 ай бұрын
Excellent
@eyoeldefare4426
@eyoeldefare4426 2 ай бұрын
Magnificent
@AlejandroCampayo-sr4ct
@AlejandroCampayo-sr4ct 2 ай бұрын
I am trying to use Gemini with system_instruction and tools (or history in the chat and tools) but both fail to use the tools after adding the context. Is there any way to solve this problem? Is it possible to add both context and tools in gemini?
@kirilchi
@kirilchi 3 ай бұрын
How many functions can we attach to LLM invocation before performance starts to drop? I believe attaching all tools to all invocations is not recommended. Would be great to have higher order framework allowing to select and attach only tools related to the user query.
@anniehuang7855
@anniehuang7855 Ай бұрын
This does not work the same way when I use it
@eliaspereirah
@eliaspereirah 2 ай бұрын
32:02 - This crab moving from side to side distracts me.
Gemini Multimodal RAG Applications with LangChain
59:36
Google Cloud Events
Рет қаралды 12 М.
Tune and deploy Gemini with Vertex AI and ground with Cloud databases
38:33
Google Cloud Tech
Рет қаралды 3,1 М.
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 7 МЛН
Gemini Flash is SURPRISINGLY Good for Agents and Function Calling
18:30
Prompt Engineering
Рет қаралды 5 М.
Chat with SQL and Tabular Databases using LLM Agents (DON'T USE RAG!)
58:54
Easiest way to build LLM apps - Langflow 1.0 demo and deep dive!
1:00:51
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
How to build Multimodal Retrieval-Augmented Generation (RAG) with Gemini
34:22
Google for Developers
Рет қаралды 37 М.
Python RAG Tutorial (with Local LLMs): AI For Your PDFs
21:33
pixegami
Рет қаралды 130 М.
I wish every AI Engineer could watch this.
33:49
1littlecoder
Рет қаралды 59 М.
The Gemini API: From prototype to production
44:36
Google for Developers
Рет қаралды 10 М.
Grounding for Gemini with Vertex AI Search and DIY RAG
35:31
Google Cloud Tech
Рет қаралды 9 М.
Google Gemini 1.5 Pro and Flash - Demo of Long Context LLMs!
16:09
Connor Shorten
Рет қаралды 1,7 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 906 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН