You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
[](https://matlab.mathworks.com/open/github/v1?repo=matlab-deep-learning/llms-with-matlab)[](https://www.mathworks.com/matlabcentral/fileexchange/163796-large-language-models-llms-with-matlab)
4
4
5
-
This repository contains code to connect MATLAB to the [OpenAI™ Chat Completions API](https://platform.openai.com/docs/guides/text-generation/chat-completions-api) (which powers ChatGPT™), OpenAI Images API (which powers DALL·E™), [Azure® OpenAI Service](https://learn.microsoft.com/en-us/azure/ai-services/openai/), and local [Ollama®](https://ollama.com/) models. This allows you to leverage the natural language processing capabilities of large language models directly within your MATLAB environment.
5
+
This repository contains code to connect MATLAB to the [OpenAI™ Chat Completions API](https://platform.openai.com/docs/guides/text-generation/chat-completions-api) (which powers ChatGPT™), OpenAI Images API (which powers DALL·E™), [Azure® OpenAI Service](https://learn.microsoft.com/en-us/azure/ai-services/openai/), and both local and nonlocal[Ollama®](https://ollama.com/) models. This allows you to leverage the natural language processing capabilities of large language models directly within your MATLAB environment.
6
6
7
7
## Requirements
8
8
@@ -15,7 +15,7 @@ This repository contains code to connect MATLAB to the [OpenAI™ Chat Completio
15
15
16
16
- For OpenAI connections: An active OpenAI API subscription and API key.
17
17
- For Azure OpenAI Services: An active Azure subscription with OpenAI access, deployment, and API key.
18
-
- For Ollama: A local Ollama installation. Currently, only connections on `localhost` are supported, i.e., Ollama and MATLAB must run on the same machine.
Copy file name to clipboardExpand all lines: doc/Ollama.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Ollama
2
2
3
-
This repository contains code to connect MATLAB to a local[Ollama®](https://ollama.com) server, running large language models (LLMs).
3
+
This repository contains code to connect MATLAB to an[Ollama®](https://ollama.com) server, running large language models (LLMs).
4
4
5
5
To use local models with Ollama, you will need to install and start an Ollama server, and “pull” models into it. Please follow the Ollama documentation for details. You should be familiar with the limitations and risks associated with using this technology, and you agree that you shall be solely responsible for full compliance with any terms that may apply to your use of any specific model.
6
6
@@ -13,7 +13,7 @@ Some of the [LLMs currently supported out of the box on Ollama](https://ollama.c
13
13
- gemma, codegemma
14
14
- command-r
15
15
16
-
## Establishing a connection to local LLMs using Ollama
16
+
## Establishing a connection to LLMs using Ollama
17
17
18
18
To create the chat assistant, call `ollamaChat` and specify the LLM you want to use:
0 commit comments