Understanding Function Calling: Demonstration with Friendli Tools

FriendliAI · Beginner ·🧠 Large Language Models ·1y ago

Key Takeaways

Function calling is demonstrated with Friendli Tools for information retrieval and task performance with LLMs

Original Description

Here you can learn the concept of function calling with large language models, specifically focusing on how it allows for information retrieval and task performance using APIs or functions. We will view the code and setup of Google Calendar and Friendli Client. Let's create an AI agent using function calling with Friendli Tools! 🧑‍💻 View code: https://github.com/friendliai/examples/tree/main/tutorials/calendar-cli Blogs you can also read: https://friendli.ai/blog/llm-function-calling/ https://friendli.ai/blog/ai-agents-function-calling/ https://friendli.ai/blog/friendli-tools-llama3-outperforms-gpt4o/ 00:23 - Comparison: Human vs. AI Agent Workflows 01:08 - Understanding Function Calling in LLMs 02:02 - Introduction to AI Agent Demo 02:13 - Explanation of Six Defined Tool Sets 02:42 - Code Explanation 03:06 - Demo Example 1: Summary of Calendar Events and Period-Specific Calls 05:15 - Demo Example 2: Real-Time Web Browser Search 06:04 - Demo Example 3: Utilizing Multiple Tools Try sending prompts using playground tools in Friendli Serverless Endpoints! 👉 Start for free: https://suite.friendli.ai/login?product=serverless-endpoints Website: https://friendli.ai LinkedIn: https://www.linkedin.com/company/friendliai X: https://twitter.com/friendliai Threads: https://www.threads.net/@friendliai
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
Qwen2 is here. It’s time to re-evaluate your default model choices.
Explore Qwen2, Alibaba Cloud's new open-source models, as a high-performing alternative to traditional choices for multilingual and long-context tasks
Dev.to · albe_sf
📰
The Brain and Machines: What It Really Means to Say AI Is “Inspired by the Brain”
Discover the true meaning of AI being inspired by the brain and its implications
Medium · AI
📰
The Brain and Machines: What It Really Means to Say AI Is “Inspired by the Brain”
Discover what it means for AI to be inspired by the brain and the limitations of this concept
Medium · Machine Learning
📰
How to Use Chat GPT to Make Money Online (Complete Beginner’s Guide for 2026)
Learn how to leverage ChatGPT to generate online income with this beginner's guide
Medium · AI

Chapters (8)

0:23 Comparison: Human vs. AI Agent Workflows
1:08 Understanding Function Calling in LLMs
2:02 Introduction to AI Agent Demo
2:13 Explanation of Six Defined Tool Sets
2:42 Code Explanation
3:06 Demo Example 1: Summary of Calendar Events and Period-Specific Calls
5:15 Demo Example 2: Real-Time Web Browser Search
6:04 Demo Example 3: Utilizing Multiple Tools
Up next
5 Levels of AI Agents - From Simple LLM Calls to Multi-Agent Systems
Dave Ebbelaar (LLM Eng)
Watch →