ChatMLX icon indicating copy to clipboard operation
ChatMLX copied to clipboard

Tool calls

Open alelordelo opened this issue 1 year ago • 2 comments

Support for function calling has been added to MLX here: https://github.com/ml-explore/mlx-examples/pull/1003

any idea how we can fetch a tool call in chatLMX?

alelordelo avatar Oct 18 '24 21:10 alelordelo

Tool Call is planned, but it requires modifications to Swift Jinja and Swift Transformers for support, which is a significant amount of work. Due to time constraints, Tool Call may be implemented later. Contributions via PR are certainly welcome.

johnmai-dev avatar Oct 19 '24 03:10 johnmai-dev

Tool calls is now available in the latest version of Swift Jinja and Swift Transformers! You can find an example of writing a tool and parsing it here: MLX Outil

rudrankriyam avatar Feb 16 '25 00:02 rudrankriyam