Intermediate31% off

Function Calling & Tool Use Deep Dive

Empower LLMs to interact with external tools and APIs, enabling dynamic real-world applications.

4.7
(3,200)
3,200 studentsEnglish

Created by Dr. Amara Osei · Responsible AI Lead

Promo video coming soon
$599$869Save 31%
Enrol now

30-day money-back guarantee

This course includes

  • 15 video lessons
  • 4h 46m of content
  • Downloadable resources
  • Full lifetime access
  • Certificate of completion
  • 30-day money-back guarantee

What you'll learn

  • Understand the core concepts of LLM function calling and tool use.
  • Define clear and effective tool schemas for LLM interaction.
  • Implement function calling logic using OpenAI's API.
  • Integrate LLMs with external APIs and databases via custom tools.
  • Handle complex arguments and data types passed to functions.
  • Develop strategies for LLM tool selection and disambiguation.
  • Implement robust error handling for tool execution failures.
  • Build multi-turn conversational agents that use tools to complete tasks.

About this course

Large Language Models are powerful, but their true potential is unleashed when they can go beyond text generation and interact with the outside world. Function calling and tool use allow LLMs to trigger actions, query databases, and integrate with external services, transforming them into intelligent agents. This course provides an in-depth exploration of how to design and implement systems where LLMs can reliably invoke predefined functions or tools based on user requests. We'll dissect the mechanisms behind function calling, explore best practices for defining tool schemas, and tackle the challenges of error handling and ambiguity resolution when the LLM needs to choose the right tool. We will cover practical implementation details using popular LLM providers like OpenAI and explore open-source frameworks that facilitate tool integration. You'll learn how to structure your tool definitions, handle complex arguments, parse LLM outputs, and build robust conversational agents capable of performing multi-step actions. By the end of this intermediate course, you’ll be proficient in extending LLM capabilities to perform real-world tasks, building sophisticated applications that leverage both language understanding and external system integration. Get ready to make your AI assistants truly useful.

Course content

5 modules · 15 lessons · 4h 46m

  • What is Function Calling?Preview
    12m
  • Use Cases and ApplicationsPreview
    15m
  • Designing Your Tool Interface
    18m

Requirements

  • Intermediate proficiency in Python programming.
  • Familiarity with making API requests (e.g., using the `requests` library).
  • Basic understanding of JSON structure.

Your instructor

D

Dr. Amara Osei

Responsible AI Lead

Amara has built responsible-AI programs for large organisations and advises regulators.