Dear learner,
Introducing Function-Calling and Data Extraction with LLMs, a short course made in collaboration with Nexusflow and taught by its co-founder and CEO, Jiantao Jiao, and founding engineer, Venkat Srinivasan.
This course focuses on two key skills for building LLM applications: function-calling and structured data extraction. Function-calling allows LLMs to execute external functions based on natural language instructions, while structured data extraction enables LLMs to retrieve useful information from unstructured text.
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.
Join in, and:
- Learn how you can use function-calling in detail: form prompts with function definitions, and use an LLM response to call those functions.
- 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.
- Use OpenAPI specifications to build function calls that can access web services.
- Use function-calling to extract structured data from a natural language input.
- 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.
-
Learn to extend LLMs with custom functionality via function-calling, enabling them to form calls to external functions.
-
Extract structured data from natural language inputs, making real-world data usable for analysis.
-
Build an end-to-end application that processes customer service transcripts using LLMs.
https://learn.deeplearning.ai/courses/function-calling-and-data-extraction-with-llms
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:
- Learn how you can use function-calling in detail: form prompts with function definitions, and use an LLM response to call those functions.
- 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.
- Use OpenAPI specifications to build function calls that can access web services.
- Use function-calling to extract structured data from a natural language input.
- 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.
This course is designed for anyone interested in using function-calling capabilities with large language models to interface with external tools and extract structured data. Familiarity with LLMs and basic Python knowledge are recommended.
Lesson | Video | Code |
---|---|---|
Introduction | video | |
What is function calling | video | code |
Function calling variations | video | code |
Interfacing with external tools | video | code |
Structured Extraction | video | code |
Applications | video | code |
Course project dialog processing | video | code |
Conclusion | video |