Loading video...

Video Failed to Load

Go Home

With function calling in MLX Swift, I experimented with chatting with your health data on-device!

91,744 views • 1 year ago •via X (Twitter)

11 Comments

Rudrank Riyam's profile picture
Rudrank Riyam1 year ago

I really learned a lot from the reasoning while vibe coding this feature

Wonderchat's profile picture
Wonderchat2 years ago

Automate up to 70% of your customer support today. Save time and help your users find answers quickly. Try now at

Patricio's profile picture
Patricio1 year ago

Awesome job, dude! Big fan of your work. This is a killer use case for local models. I built a similar prototype with MLX using Qwen2.5-1.5B-Instruct-4bit running on iPhone 16 Pro.🤙

Rudrank Riyam's profile picture
Rudrank Riyam1 year ago

Amazing! I am fascinated by Garmin's sleep data and I know their algorithm is much better than whatever we have on-device, but we never know what the future holds!

Adjie's profile picture
Adjie1 year ago

I need this but automatically tell me what workout should I do today based on historical data (workout, sleep, cardiovascular, etc) and goals that I set.

yp0c5t's profile picture
yp0c5t1 year ago

you guys gonna bring us actual apple intelligence before the two decades it will take apple to do [badly]. bravo

tk's profile picture
tk1 year ago

Need Tutorial

Rudrank Riyam's profile picture
Rudrank Riyam1 year ago

If you want to learn about tool use, here is a timestamped video by sensei 🙏

Bobby Bobak ☕️'s profile picture
Bobby Bobak ☕️1 year ago

ohh, function calling? where do I look for it in mlx' repo?

Rudrank Riyam's profile picture
Rudrank Riyam1 year ago

This PR by @DePasqualeOrg is a good start that shows how to print the tool call method. You will have to parse the call yourself, and provide the output back to the response

alec's profile picture
alec1 year ago

@AndyDilanchi

Related Videos