Download Latest Version v4.3.0_ Support for GPT-4.1 source code.tar.gz (34.7 MB)
Email in envelope

Get an email when there's a new version of Large Language Models (LLMs)

Home / v4.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-02-07 1.1 kB
v4.2.0_ Tool calling with Ollama, support for OpenAI o1 and o3-mini models source code.tar.gz 2025-02-07 25.3 MB
v4.2.0_ Tool calling with Ollama, support for OpenAI o1 and o3-mini models source code.zip 2025-02-07 25.4 MB
Totals: 3 Items   50.7 MB 0

Use tool calling with Ollama

You can now use tool calling, also known as function calling, with ollamaChat objects. Some large language models (LLMs) can suggest calls to a tool that you have, such as a MATLAB function, in their generated output. An LLM does not execute the tool themselves. Instead, the model encodes the name of the tool and the name and value of any input arguments. You can then write scripts that automate the tool calls suggested by the LLM.

To use tool calling, specify the ToolChoice name-value argument of the ollamaChat function.

For information on whether an Ollama™ model supports tool calling, check whether the model has the tools tag in ollama.com/library.

Support for OpenAI® o1 and o3-mini models

You can now use the OpenAI models o1 and o3-mini to generate text from MATLAB®. When you create an openAIChat object, set the ModelName name-value argument to "o1" or "o3-mini".

Full Changelog: https://github.com/matlab-deep-learning/llms-with-matlab/compare/v4.1.0...v4.2.0

Source: README.md, updated 2025-02-07