Code : https://github.com/samwit/agent_tutor...
For more tutorials on using LLMs and building Agents, check out my Patreon:
Patreon: / samwitteveen
Twitter: / sam_witteveen
🕵️ Interested in building LLM Agents? Fill out the form below
Building LLM Agents Form: https://drp.li/dIMes
👨💻Github:
https://github.com/samwit/langchain-t... (updated)
https://github.com/samwit/llm-tutorials
⏱️Time Stamps:
00:00 Intro
01:27 Phi-3 Model Blog
02:01 Gorilla Paper
02:12 Function Calling Leaderboard
03:00 Code Time
03:02 Set up Llama 3 with Ollama
03:45 Set up Prompt Template
05:31 Get a JSON Output from Llama 3
08:50 Get a Structured Responses using Ollama Functions
11:44 Phi-3 Model Demo
12:57 Tool Use and Function Calling Sample
15:09 Trying Tool Use and Function Calling with Phi-3