We may earn an affiliate commission when you visit our partners.
Course image
Jiantao Jiao and Venkat Srinivasan

This course will teach you two critical skills for building applications with LLMs: function-calling and structured data extraction.

Function-calling allows you to extend LLMs with custom capabilities by enabling them to form calls to external functions based on natural language instructions. Structured data extraction enables LLMs to pull usable information from unstructured text.

Read more

This course will teach you two critical skills for building applications with LLMs: function-calling and structured data extraction.

Function-calling allows you to extend LLMs with custom capabilities by enabling them to form calls to external functions based on natural language instructions. Structured data extraction enables LLMs to pull usable information from unstructured text.

You’ll work with NexusRavenV2-13B, an open source model fine-tuned for function-calling and data extraction. The model, available on Hugging Face, has outperformed GPT-4 in some function-calling tasks, and has 13 billion parameters so it can be hosted locally.

What you’ll explore:

1. Learn how you can use function-calling in detail: form prompts with function definitions, and use an LLM response to call those functions.

2. Use an LLM with multiple function calls, including parallel and nested function calls. This allows you to create complex agent workflows where an LLM plans and executes a series of function calls to achieve a goal.

3. Use OpenAPI specifications to build function calls that can access web services.

4. Use function-calling to extract structured data from a natural language input.

5. Build an application that takes customer service transcripts, builds SQL calls, and stores results in a database with commands generated by the LLM.

The skills you’ll learn in this course will allow you to build advanced AI agents and assistants that can process and analyze customer feedback, automate data entry and content management workflows, enhance search and recommendation systems with structured data, and many other real-world applications.

Enroll now

What's inside

Syllabus

Traffic lights

Read about what's good
what should give you pause
and possible dealbreakers
Highly relevant to industry by providing the skills and knowledge needed to create LLMs with custom capabilities
Taught by Jiantao Jiao and Venkat Srinivasan, who have contributed significantly to LLM development and research
Covers topics that are essential for building advanced AI agents and assistants
Develops function-calling and structured data extraction skills, which are critical for LLM applications
Employs a practical approach with hands-on exercises and real-world case studies
Lacks prerequisites and is designed for learners with a background in natural language processing and AI

Save this course

Create your own learning path. Save this course to your list so you can find it easily later.
Save

Reviews summary

Practical llm function-calling & data extraction

According to learners, this course offers a practical, hands-on deep dive into function-calling and structured data extraction with LLMs. Students particularly appreciate the clear explanations and effective demonstrations, especially when working with the open-source NexusRavenV2-13B model. Many found the real-world application examples, such as building SQL calls from customer transcripts, to be highly valuable for immediate professional use. While generally well-structured and easy to follow, some noted it's best for those with basic Python and LLM familiarity.
Beneficial for those with existing Python and LLM basics.
"I found it helpful that I had some prior experience with Python and general LLM concepts before starting."
"While very good, a foundational understanding of LLMs and Python would make the course even smoother."
"It moves at a good pace, but absolute beginners might need to brush up on basics first."
Leverages NexusRavenV2-13B, beneficial for local hosting and accessibility.
"Using NexusRavenV2-13B was a big plus for me, as I prefer working with open-source models."
"It's great that the course focuses on a model that can be hosted locally, making it more accessible."
"I appreciate the choice of NexusRavenV2-13B, it's a powerful open-source alternative to proprietary models."
Code demonstrations and labs are highly effective learning tools.
"The coding demos were exceptionally helpful in understanding how to implement the concepts."
"I really appreciated the interactive labs which solidified my understanding of function-calling."
"The practical exercises truly reinforced the theoretical knowledge presented in the lectures."
Complex concepts like function-calling are explained with great clarity.
"The instructor does an excellent job of simplifying complex topics into digestible lessons."
"I found the explanations on parallel and nested function calls particularly clear and easy to grasp."
"The course breaks down advanced LLM techniques into understandable parts."
Focuses on immediate, real-world application through practical exercises.
"The hands-on coding and projects are the strongest part of the course for me; I can immediately apply these skills."
"I learned how to use practical tools and strategies that I could apply immediately to my work with LLMs."
"This course provides a strong foundation for building real-world AI agents and assistants."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Function-Calling and Data Extraction with LLMs with these activities:
Mentorship Program
Seek out mentors who can guide your learning journey and provide valuable insights.
Show steps
  • Identify potential mentors who have experience and expertise in function-calling and data extraction.
  • Reach out to potential mentors and introduce yourself.
  • Request guidance and support in your learning journey.
Calculus Review
Reinforce your understanding of calculus concepts covered in this course.
Browse courses on Calculus
Show steps
  • Review your calculus notes from previous coursework.
  • Work through practice problems to test your understanding of key concepts.
Resource Compilation
Organize and consolidate valuable resources related to function-calling and data extraction.
Show steps
  • Identify and gather resources such as articles, tutorials, and code examples related to function-calling and data extraction.
  • Organize the resources into a structured and accessible format.
  • Share your compilation with other learners to support their learning journey.
Six other activities
Expand to see all activities and additional details
Show all nine activities
Guided Tutorials on Function-Calling Syntax
Enhance your grasp of function-calling syntax through guided tutorials.
Show steps
  • Locate online tutorials or resources that provide step-by-step guidance on function-calling syntax.
  • Follow the instructions and practice writing function calls.
  • Test your understanding by applying the syntax to sample problems.
Function-Calling Exercises
Solidify your understanding of function-calling through repetitive exercises.
Show steps
  • Find online platforms or textbooks that offer function-calling exercises.
  • Practice writing function calls to solve a variety of problems.
  • Review your solutions and identify areas for improvement.
Contributing to Open Source Projects
Gain hands-on experience and contribute to the open source community while enhancing your skills.
Show steps
  • Identify open source projects related to function-calling or data extraction.
  • Review the project's documentation and contribution guidelines.
  • Find an area where you can contribute your skills and knowledge.
  • Submit a pull request or issue to the project.
Function-Calling Project
Apply your function-calling skills to develop a practical project.
Show steps
  • Identify a problem or task that can be solved using function-calling.
  • Design and implement a solution using function-calling techniques.
  • Test and refine your project to ensure it meets the desired requirements.
Structured Data Extraction Report
Demonstrate your proficiency in structured data extraction by creating a comprehensive report.
Show steps
  • Collect a dataset containing unstructured text.
  • Develop a structured data extraction strategy using function-calling techniques.
  • Implement your strategy to extract structured data from the dataset.
  • Create a report that presents your findings and insights from the extracted data.
Mentoring Sessions
Share your knowledge and support fellow learners by providing mentoring sessions.
Show steps
  • Identify opportunities to assist other students in understanding function-calling concepts.
  • Offer your assistance and guidance to learners who are struggling or have questions.
  • Provide constructive feedback and support to help learners improve their understanding and skills.

Career center

Learners who complete Function-Calling and Data Extraction with LLMs will develop knowledge and skills that may be useful to these careers:

Reading list

We've selected 50 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Function-Calling and Data Extraction with LLMs.
This is the official specification document for OpenAPI 3.1.0. While not a traditional book, it is the authoritative reference for the structure and syntax of OpenAPI definitions. It is essential for anyone working deeply with OpenAPI, particularly for understanding the nuances of the specification. It serves as a critical reference tool.
This widely recognized and comprehensive textbook that provides a deep dive into the subject of language processing. It is suitable for both undergraduate and graduate-level courses and is considered a must-read for gaining a strong theoretical and applied understanding of NLP. The authors are leading researchers in the field, and the book is frequently updated to reflect advancements. The latest draft is available online.
This practical book dives into using transformers, the dominant architecture for many state-of-the-art NLP tasks, with the Hugging Face Transformers library. , It's ideal for data scientists and coders who want to learn how to build and scale models for various NLP applications using this popular library. It covers contemporary topics and is highly relevant for current NLP practice.
This comprehensive handbook covers the entire field of robotics and automation, from the basics to the latest developments. It is an essential resource for anyone who wants to learn about this rapidly growing field.
Offers a comprehensive guide to designing and describing RESTful APIs using OpenAPI and Swagger. It follows a design-first approach, taking readers through the API lifecycle from concept to production. This is particularly useful for solidifying an understanding of OpenAPI's role in practical API development and is valuable as a current reference for anyone building APIs. It is highly recommended for those new to OpenAPI and API design.
Explores the shift to digital customer service and how to create seamless experiences on customers' screens. It discusses the evolution of customer expectations and the psychology driving digital interactions. This highly relevant book for understanding contemporary customer service in a digital landscape.
Essential for anyone looking to deepen their understanding of SQL performance and optimization. explains how databases execute queries and provides insights into writing efficient SQL code. It's highly recommended for developers and database administrators aiming to improve application performance.
Focuses specifically on web scraping, a key method for extracting data from websites. It covers various Python libraries and techniques for gathering and processing web data. It's a practical guide for those interested in extracting data from online sources and is suitable for beginners and those looking to deepen their web scraping skills.
While not solely focused on extraction, this book provides foundational knowledge on data systems, including how data is stored, processed, and moved. Understanding these concepts is crucial for anyone involved in designing and implementing efficient data extraction processes, especially at scale. It's considered a must-read for data professionals.
This foundational text offers a comprehensive introduction to statistical methods in NLP. It covers the necessary theory and algorithms for building NLP tools, with a rigorous treatment of mathematical and linguistic foundations. While published in 1999, it remains highly relevant for understanding the statistical underpinnings of many NLP techniques and valuable reference for researchers and students alike.
Delves into designing and building APIs specifically for microservices architectures, with a strong focus on using OpenAPI for documenting REST APIs. It provides practical techniques and best practices for creating robust, easy-to-consume APIs in a microservices context. This is highly relevant for understanding the contemporary application of OpenAPI in modern system design and serves as a useful reference for developers working with microservices.
Outlines principles for businesses to consider to meet the evolving expectations of future customers. It touches on technology, personalization, and creating seamless experiences. It's a good read for professionals looking to stay ahead of trends in customer service.
Takes a strategic view of customer service, emphasizing its critical role in organizational success. It covers both the big-picture strategy and tactical aspects of creating an effective service approach that drives loyalty and profitability. It's a valuable resource for managers and leaders.
Dives into common mistakes and suboptimal solutions in database design and SQL coding, explaining how to identify and correct them. It's crucial for deepening understanding and writing more robust and maintainable SQL. It's a valuable resource for developers and database professionals seeking to improve their practices.
Explores the critical role of empathy in customer experience. It provides a framework for embedding empathy into customer experience management and design processes. It's a valuable resource for deepening the understanding of the human element in customer service.
Examines the principles behind the Ritz-Carlton's legendary customer service. It focuses on leadership strategies for fostering a service culture that consistently exceeds expectations. It's a valuable resource for leaders and managers in any service-oriented industry.
Focuses on the importance of truly understanding the customer to create meaningful experiences. It provides practical methods for listening to customers, characterizing them, and embedding customer empathy throughout the organization. It includes exercises and plans for application.
Serves as a practical introduction to NLP with a strong focus on using the Natural Language Toolkit (NLTK) library in Python. It's excellent for beginners and those who want a hands-on approach to learning NLP concepts through programming examples. It's widely used as a textbook and provides a solid foundation for implementing basic NLP tasks.
This handbook offers practical, step-by-step guidance for building a customer-focused culture within an organization. It provides actionable strategies and real-world examples to help engage employees and foster a commitment to exceptional service. This useful reference tool for managers and those responsible for training.
Advocates for a customer-centric approach to business, emphasizing the importance of understanding and designing experiences from the customer's perspective. It provides practical guidance and real-world examples for fostering loyalty and improving performance by putting customers at the center.
While focused on MySQL, this book provides in-depth coverage of database and SQL performance tuning that is applicable to other systems. It's essential for those working with large datasets and high-traffic applications. It's a comprehensive guide for optimizing SQL queries and database infrastructure.
Focuses on using SQL specifically for data analysis, covering techniques beyond basic querying to transform and gain insights from data. It's suitable for those who have a foundational understanding of SQL and want to apply it in a data analysis context. It's relevant for data scientists and analysts.
Covers techniques for mining large datasets, which often involves significant data extraction and processing challenges. It delves into algorithms and methods for handling massive amounts of data, relevant for those working with big data.
This practical guide covers the full lifecycle of web API design, with documentation being a crucial component. It offers design principles and techniques applicable to both public and private APIs, providing a broader context for the role of OpenAPI in the overall API ecosystem. It's a useful reference for understanding the strategic aspects of API design beyond just the specification.
This textbook offers a technical perspective on NLP, synthesizing classical methods with contemporary machine learning techniques. , It covers topics from basic textual analysis to structured representations and semantic analysis, making it suitable for advanced undergraduate and graduate courses. It requires a background in programming and college-level mathematics.
While focused on T-SQL (for Microsoft SQL Server), this book provides a deep and rigorous understanding of SQL fundamentals that are applicable to many dialects. It's highly regarded for its clear explanations and challenging examples, making it excellent for solidifying core concepts. It's often used by professionals working with SQL Server.
Provides an in-depth look at Disney's renowned approach to customer service. It outlines their philosophy and system for consistently exceeding customer expectations. It is particularly useful for understanding how a strong service culture is built and maintained, and can be inspiring for those in the hospitality and service industries.
Tailored for aspiring data scientists, this book focuses on the SQL skills needed for data analysis, including dataset construction and manipulation. It bridges the gap between basic SQL and its application in data science workflows. Relevant for those entering or working in the data science field.
Presents a framework for creating exceptional customer experiences that foster loyalty and profitability. It uses storytelling and real-life examples to illustrate how to reduce friction, empower employees, and stay ahead of changing customer expectations. It's a practical guide with engaging insights.
Provides a comprehensive guide to CRM, covering its concepts, applications, and the technologies involved. It helps businesses understand how to build and maintain strong customer relationships through strategic, operational, and analytical CRM. It's a useful textbook or reference for those studying or implementing CRM systems.
Explores building data pipelines for real-time data processing. It is relevant for understanding the challenges and techniques involved in extracting and processing data as it is generated, a key aspect of contemporary data architectures.
Offers guidance on delivering exceptional customer service that drives loyalty and revenue. It covers effective complaint handling, communication skills, and creating a service-oriented culture. It provides practical insights for improving service delivery and profitability.
Offers an approachable and practical introduction to SQL, particularly for those interested in data analysis and storytelling. It uses PostgreSQL for examples but the concepts are widely applicable. It's great for beginners and those who want to apply SQL skills to real-world data tasks.
Drawing on experiences from Walt Disney World, this book offers practical rules for creating a customer-centric culture. It covers essential principles for building relationships, creating memorable experiences, and driving loyalty. This can serve as a foundational text for understanding core customer service principles.
Data cleaning critical step after data extraction. provides a comprehensive overview of data cleaning techniques, including error detection and repair. It's an essential resource for ensuring the quality and reliability of extracted data.
Provides a hands-on approach to learning and practicing SQL through a variety of problems. It's an excellent supplement to theoretical learning and helps solidify understanding through practical application. Suitable for all levels looking to improve their problem-solving skills with SQL.
Provides valuable insights and practical techniques for handling challenging customer interactions. It focuses on navigating confrontational scenarios and turning negative experiences into opportunities to build stronger relationships. It's a useful resource for anyone in a customer-facing role.
While not exclusively about customer service, this book explores how to create memorable experiences that have a lasting impact. It provides insights into identifying and shaping key moments in the customer journey. It's a valuable read for understanding the psychology of experience and applying it to service design.
Offers practical tips and techniques for writing more effective and efficient SQL code. It's a great resource for improving coding style and avoiding common pitfalls. Suitable for those with some SQL experience looking to refine their skills.
Another valuable resource focused on data cleaning, this book provides practical guidance and best practices for preparing data. It is particularly useful for ensuring the quality of data obtained through extraction.
Explores RESTful API design patterns and best practices, including topics relevant to using OpenAPI for documentation and design. It offers practical examples to help readers implement these patterns. This book is valuable for deepening understanding of design approaches that can be effectively modeled with OpenAPI.
Focuses on understanding and catering to the specific needs and preferences of female consumers. It provides insights into transforming the customer experience to win their business and loyalty. This valuable read for businesses looking to target a significant demographic.
Focuses on the practical aspects of data wrangling using Python, including gathering, cleaning, and transforming data. It's a hands-on guide that complements data extraction by showing how to make the extracted data usable.
Takes a practical, code-first approach to deep learning, including applications in NLP, using the fastai library and PyTorch. , It's designed for programmers who want to achieve impressive results in deep learning with less emphasis on the underlying mathematics. It's a great resource for quickly getting hands-on experience with modern deep learning techniques in NLP.
A deep dive into how the SQL Server Query Optimizer works, which is essential for advanced performance tuning. is highly technical and geared towards those who need to understand the low-level details of query execution. It's valuable for database administrators and senior developers.
Focuses on implementing NLP models using the PyTorch deep learning library. It's a practical guide for those who prefer PyTorch and want to learn how to build various NLP applications using this framework. It's suitable for developers and researchers.
While not exclusively about OpenAPI, this book provides foundational knowledge in RESTful API design principles and best practices. Understanding these principles is crucial for effectively using OpenAPI to describe APIs. It explains the 'why' behind good API design, making it valuable as additional reading to provide necessary background for anyone working with OpenAPI.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Function-Calling and Data Extraction with LLMs.
Applied AI with DeepLearning
Most relevant
ChatGPT Advanced Data Analysis
Most relevant
Introduction to Machine Learning on AWS
Most relevant
VEGA for Beginners: Scan for Web Vulnerabilities
Most relevant
Preprocessing Unstructured Data for LLM Applications
Most relevant
Functions, Tools and Agents with LangChain
Most relevant
Applied Natural Language Processing in Engineering Part 1
Most relevant
Introduction to Information Retrieval with Amazon Q
Most relevant
LangChain for LLM Application Development
Most relevant

Coursera Buyer Protection & Guarantee

Verified partner policies & purchase protections

Accredited University Partner
Free Trial & Audit

7-Day Free Trial & Free Audit

7-day free trial on monthly Coursera Plus subscriptions; free audit option available on most individual courses to explore video lectures and readings at no charge.

Return & Refund Policy

14-Day Refund Guarantee

14-day refund window on annual Coursera Plus subscriptions and single-course purchases prior to certificate issuance. Monthly subscriptions do not offer refunds once billed.

Buyer Protections

Verified Academic & Industry Partner

Accredited university and industry certifications (e.g. Stanford, Google, IBM, Yale), secure SSL payment processing, and verifiable digital certificate links.

Key Purchase Protections
14-day refund window on annual Coursera Plus and single courses
7-day free trial on monthly Coursera Plus subscriptions
Free course audit option for lectures and readings
Verified certificates from top universities & companies
OpenCourser Verified Partner Policy details last reviewed: 2026-10-22
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser