Function Calling & Tool Use
Learn how to enable LLMs to interact with external tools and APIs by teaching them to call specific functions based on user prompts.
LLMs & External Tools
Large Language Models (LLMs) are amazing at understanding and generating text. However, they typically don't have direct access to:
- Real-time information: Like today's weather or current stock prices.
- External actions: Such as sending an email or booking a flight.
- Complex computations: Beyond simple arithmetic.
This is where Function Calling comes in!
Bridging the Gap with Tools
Function calling allows LLMs to interact with the outside world by letting them 'call' external tools or APIs. It bridges the gap between the LLM's language abilities and real-world actions.
Think of it as giving the LLM a set of specialized gadgets it can recommend using when needed.
All lessons in this course
- Retrieval Augmented Generation (RAG)
- Function Calling & Tool Use
- Building Simple LLM Agents
- Streaming LLM Responses to Users