Ollama Function Calling: LangChain & Llama 3.1 🦙

Developers Digest August 1, 2024
Video Thumbnail
Developers Digest Logo

Developers Digest

View Channel

About

AI 🤝 Development

Video Description

In this video, I introduce the tool support feature within Ollama that enables local function calling on your machine. We'll explore the easy setup, deployment options (local and cloud), and how to leverage different models, notably Llama 3.1 and Groq (function calling model). I'll demonstrate practical examples, including weather queries for San Francisco, opening applications like the calculator and Chrome, and asking Claude AI questions. I'll guide you through the implementation using Bun Lang Chain, TypeScript, and share the code via a GitHub repository. Perfect for enhancing your chat applications and more! Links: https://ollama.com/ Repo: https://github.com/developersdigest/ollama-tool-calling-langchain-examples 00:00 Introduction to Ollama Tool Support 00:38 Setting Up and Running Models 01:59 Example Functions and Use Cases 03:16 Implementing Function Calling 04:48 Handling Different Operating Systems 08:26 Final Thoughts and Conclusion

You May Also Like

Essential Camera Gear Upgrades

AI-recommended products based on this video

Loading...
COTUBLR 31 Inch Computer Desk, Home Office Desk, Simple Modern Small Desk for Bedroom, Writing Desk with Storage Bag, Study Table for Students, Grey Oak

COTUBLR 31 Inch Computer Desk, Home Office Desk, Simple Modern Small Desk for Bedroom, Writing Desk with Storage Bag, Study Table for Students, Grey Oak

(180)
$64.99
FREE delivery Thu, Jun 26
Loading...
Fewlby Kids Rain Suit for Boys Girls Toddler Raincoats One Piece Hoodie Cartoon Coverall Waterproof Rainwear M Size

Fewlby Kids Rain Suit for Boys Girls Toddler Raincoats One Piece Hoodie Cartoon Coverall Waterproof Rainwear M Size

(94)
$35.90
PrimeFREE delivery Sat, Jun 14
Loading...
NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

(24)
$25.99
FREE delivery Thu, Jun 19 on your first order
Loading...
SmallRig ZV-E10 II Base Plate for Sony Alpha ZV-E10 II, Bottom Mount Plate with Quick-Release Plate for Arca, QD Socket, Hand Strap Hole, 1/4"-20 Threaded Hole - 4950

SmallRig ZV-E10 II Base Plate for Sony Alpha ZV-E10 II, Bottom Mount Plate with Quick-Release Plate for Arca, QD Socket, Hand Strap Hole, 1/4"-20 Threaded Hole - 4950

(13)
$37.99
FREE delivery Sat, Jun 21
Loading...
SmallRig Baseplate for Sony Alpha 6700, Bottom Mount Plate Built-in Quick Release Plate for Arca, Supporting Quick Switch Between Tripod and Stabilizer (for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro) - 4338

SmallRig Baseplate for Sony Alpha 6700, Bottom Mount Plate Built-in Quick Release Plate for Arca, Supporting Quick Switch Between Tripod and Stabilizer (for DJI RS 2 / RSC 2 / RS 3 / RS 3 Pro) - 4338

(85)
$38.24
FREE delivery Thu, Jun 19
Loading...
NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

(2,807)
$181.49
FREE delivery Sun, Aug 10
Loading...
SanDisk 128GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXD-128G-GN4IN
Best Seller

SanDisk 128GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXD-128G-GN4IN

(71,074)
$29.99$26.61
FREE delivery Sun, Aug 10 on your first order
4K+ bought in past month