Taking Function Calling to the NEXT Level with Groq API 🚀 🚀 🚀

  Рет қаралды 7,023

Prompt Engineering

Prompt Engineering

Күн бұрын

Groq just added support for Function Calling to the Groq API. This is the fastest API with function calling ability.
🦾 Discord: / discord
☕ Buy me a Coffee: ko-fi.com/promptengineering
|🔴 Patreon: / promptengineering
💼Consulting: calendly.com/engineerprompt/c...
📧 Business Contact: engineerprompt@gmail.com
Become Member: tinyurl.com/y5h28s6h
💻 Pre-configured localGPT VM: bit.ly/localGPT (use Code: PromptEngineering for 50% off).
Signup for Advanced RAG:
tally.so/r/3y9bb0
LINKS:
Notebook Repo: github.com/PromtEngineer/Yout...
TIMESTAMPS:
[00:00] Groq Adds function calling [Tool Usage]
[01:56] How does it work
[02:33] Code Example
All Interesting Videos:
Everything LangChain: • LangChain
Everything LLM: • Large Language Models
Everything Midjourney: • MidJourney Tutorials
AI Image Generation: • AI Image Generation Tu...

Пікірлер: 25
@ChristopherAaronNewton
@ChristopherAaronNewton 3 ай бұрын
❤ that was very helpful.
@3choff
@3choff 3 ай бұрын
Great video! Your way of explaining function calling is very clear and straight to the point. It would be interesting to combine Claude and Mixtral to create complex tool-use architectures, such as giving Claude Opus tools to call upon smaller model subagents, such as Mixtral or Gemma, to carry out tasks on its behalf and take advantage of the high inference speed of Groq. This idea is taken from the tool use documentation of Claude, where they suggest using Haiku as a subagent.
@engineerprompt
@engineerprompt 3 ай бұрын
Thanks, its a great idea. I have been working on sub-agents (both Claude) but your idea is worth exploring. Will be interesting to see what type of results one can get by mixing them up.
@fckyougooglification
@fckyougooglification 3 ай бұрын
Great video, thanks
@ihateorangecat
@ihateorangecat 3 ай бұрын
Groq rapidly becoming popular I'm worried that they'd remove the free plan. 😢
@natureiscrazy
@natureiscrazy 3 ай бұрын
They won't cause they training off your data
@engineerprompt
@engineerprompt 3 ай бұрын
hopefully they will keep a free plan!
@SamuelJunghenn
@SamuelJunghenn 3 ай бұрын
Do they even have a paid plan yet?
@SamuelJunghenn
@SamuelJunghenn 3 ай бұрын
The rate limits are so low
@natureiscrazy
@natureiscrazy 3 ай бұрын
@@SamuelJunghenn meaning? You can use it only so many times? I think mistral is best sofar?
@wasteid1279
@wasteid1279 3 ай бұрын
Hey dude.. just wanted to ask how you do that mouse animtation (little elabortive if you can). Btw great tutorial ❤
@engineerprompt
@engineerprompt 3 ай бұрын
Thanks, I use www.screen.studio/
@YattishRamhorry
@YattishRamhorry 3 ай бұрын
Can function calling be implemented in Javascript as well?
@GetzAI
@GetzAI 3 ай бұрын
Thanks PE!
@engineerprompt
@engineerprompt 3 ай бұрын
Thank you 😊
@giuseppezani9049
@giuseppezani9049 3 ай бұрын
you have taken the tool example with just one function. What if i've to use more than one functions? For example:# Function hard coded to return the current system date def get_current_date(): """Get the current system date""" current_date = date.today() return json.dumps({"current_date":current_date}) # Function hard coded to return files contained in user given path def get_files(user_input_path): """Get the current files in a user specified directory""" files_list = os.listdir(user_input_path) return json.dumps({"files_list": files_list}) ## inside the tool _calls available_functions = { "get_files": get_files, "get_current_date": get_current_date, } # only one function in this example, but you can have multiple Which is the correct way of assigning the function_response when you have multiple function with different parameters / no parameters each?
@Priming-AI
@Priming-AI 3 ай бұрын
source code ? github ?
@engineerprompt
@engineerprompt 3 ай бұрын
Check the repo in video description
@temperad0
@temperad0 2 ай бұрын
bruh, this everyone could know by reading the docs, why don't you show how to change this for loop so we can do that with multiple functions ....
Claude 3 Introduces Function Calling and Tool Usage
14:15
Prompt Engineering
Рет қаралды 7 М.
Supercharge Your RAG with Contextualized Late Interactions
17:45
Prompt Engineering
Рет қаралды 11 М.
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 10 МЛН
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 17 МЛН
Does size matter? BEACH EDITION
00:32
Mini Katana
Рет қаралды 20 МЛН
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 6 МЛН
5 More Useful F-String Tricks In Python
9:38
Indently
Рет қаралды 44 М.
Llama3 + CrewAI + Groq = Email AI Agent
14:27
Sam Witteveen
Рет қаралды 54 М.
GPT function calling in a nutshell
15:36
Henrik Kniberg
Рет қаралды 40 М.
Creating an AI Agent with LangGraph Llama 3 & Groq
35:29
Sam Witteveen
Рет қаралды 41 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 222 М.
Better RAG: Hybrid Search in Chat with Documents | BM25 and Ensemble
16:08
Prompt Engineering
Рет қаралды 20 М.
World’s Fastest Talking AI: Deepgram + Groq
11:45
Greg Kamradt (Data Indy)
Рет қаралды 40 М.
Learn to code with an unfair advantage.
15:05
Jason Goodison
Рет қаралды 170 М.
Kumanda İle Bilgisayarı Yönetmek #shorts
0:29
Osman Kabadayı
Рет қаралды 555 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,6 МЛН
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 1,6 МЛН
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 1,3 МЛН
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 636 М.