R2024b

New Features, Bug Fixes

LLMs with MATLAB (GitHub): Connect to local large language models using Ollama

You can now generate text from local large language models in MATLAB®. Connect to a local Ollama™ server and generate text using the ollamaChat function.

To access the ollamaChat function, clone the GitHub® repository at https://github.com/matlab-deep-learning/llms-with-matlab/tree/v3.1.0. To open all the files in MATLAB Online™, from the GitHub repository, click Open in MATLAB Online.

For examples and more information, see https://github.com/matlab-deep-learning/llms-with-matlab/blob/v3.1.0/doc/Ollama.md.

LLMs with MATLAB (GitHub): Connect to Azure OpenAI Service

You can now generate text from deployed large language models hosted on Azure® OpenAI® Service using the azureChat function.

To access the azureChat function, clone the GitHub repository at https://github.com/matlab-deep-learning/llms-with-matlab/tree/v3.1.0. To open all the files in MATLAB Online, from the GitHub repository, click Open in MATLAB Online.

For examples and more information, see https://github.com/matlab-deep-learning/llms-with-matlab/blob/v3.1.0/doc/Azure.md.