跳过导航
With function calling in MLX Swift, I experimented with chatting with your health data on-device!
0:00 / 0:20

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

Rudrank Riyam

@rudrank2万 位关注者

在 X 上查看
298 个赞下载原帖

92,361 次观看

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

11 条评论

评论来自 X (Twitter) 上的原帖

  • Rudrank Riyam 的头像

    @rudrankriyam

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

    10 个赞

  • Wonderchat 的头像

    @wonderchathq

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

    2,180 个赞

  • Patricio 的头像

    @patriciojreyes

    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.🤙

    11 个赞

  • Rudrank Riyam 的头像

    @rudrankriyam

    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!

    3 个赞

  • Adjie 的头像

    @purbojatie

    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.

    4 个赞

  • yp0c5t 的头像

    @yp0c5t

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

    3 个赞

  • tk 的头像

    @absolute__tk

    Need Tutorial

    2 个赞

  • Rudrank Riyam 的头像

    @rudrankriyam

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

    2 个赞

  • Bobby Bobak ☕️ 的头像

    @bobek_balinek

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

    1 个赞

  • Rudrank Riyam 的头像

    @rudrankriyam

    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

    10 个赞

  • alec 的头像

    @alec_dilanchian

    @AndyDilanchi

    1 个赞