Skip to content

Commit

Permalink
Merge pull request #56 from matlab-deep-learning/fix-trademarks
Browse files Browse the repository at this point in the history
Ollama should have ™, not ®
  • Loading branch information
ccreutzi authored Jul 25, 2024
2 parents bdb84b8 + fc7e658 commit 8672aa8
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion +llms/+internal/callOllamaChatAPI.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
function [text, message, response] = callOllamaChatAPI(model, messages, nvp)
% This function is undocumented and will change in a future release

%callOllamaChatAPI Calls the Ollama® chat completions API.
%callOllamaChatAPI Calls the Ollama chat completions API.
%
% MESSAGES and FUNCTIONS should be structs matching the json format
% required by the Ollama Chat Completions API.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=matlab-deep-learning/llms-with-matlab) [![View Large Language Models (LLMs) with MATLAB on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/163796-large-language-models-llms-with-matlab)

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.
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.

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion doc/Ollama.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ollama

This repository contains code to connect MATLAB to an [Ollama®](https://ollama.com) server, running large language models (LLMs).
This repository contains code to connect MATLAB to an [Ollama](https://ollama.com) server, running large language models (LLMs).

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.

Expand Down
Binary file modified examples/CreateSimpleOllamaChatBot.mlx
Binary file not shown.
Binary file modified examples/RetrievalAugmentedGenerationUsingOllamaAndMATLAB.mlx
Binary file not shown.
2 changes: 1 addition & 1 deletion ollamaChat.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
classdef (Sealed) ollamaChat < llms.internal.textGenerator
%ollamaChat Chat completion API from Ollama®.
%ollamaChat Chat completion API from Ollama.
%
% CHAT = ollamaChat(modelName) creates an ollamaChat object for the given model.
%
Expand Down

0 comments on commit 8672aa8

Please sign in to comment.