| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-04-15 | 1.5 kB | |
| v4.9.0_ OpenAI-Compatible Models source code.tar.gz | 2026-04-15 | 36.5 MB | |
| v4.9.0_ OpenAI-Compatible Models source code.zip | 2026-04-15 | 36.6 MB | |
| Totals: 3 Items | 73.0 MB | 3 | |
Support for APIs compatible with OpenAI Chat Completions API
You can now connect to APIs that are compatible with the OpenAI® Chat Completions API by using the openAIChat function with these options:
- Set the
BaseURLname-value argument to the base URL of the API. For example, for OpenAI,BaseURLis "https://api.openai.com/v1". - Set the
ModelNamename-value argument to the name of the model you want to use. - Specify the OpenAI API key environment variable. If your API does not need an API key, set the environment variable
OPENAI_API_KEYto"EMPTY". Alternatively, you can set theAPIKeyname-value argument of theopenAIChatfunction.
Functionality being removed or changed
Changed Model Defaults
By default, these model parameters are now set to "auto":
TemperatureTopPPresencePenaltyFrequencyPenaltyMinP(ollamaChat)TopK(ollamaChat)TailFreeSamplingZ(ollamaChat)
If a model supports an option and if that option is set to "auto", then the software uses the default option of the model.
Removed Models
Support for the OpenAI models gpt-4-turbo-preview, gpt-4-0125-preview, and gpt-4-1106-preview has been removed because OpenAI no longer supports these models.
Minor Updates
This release includes:
- bug fixes
- documentation updates
Full Changelog: https://github.com/matlab-deep-learning/llms-with-matlab/compare/v4.8.0...v4.9.0