demo for running LLMs with MATLAB

This project is using "Large Language Models (LLMs) with MATLAB", to demostrate how two AIs are fighting.

You are now following this Submission

5 demos are talking features, and test_ollama is the result code, which you can play with.
demo1: chat with AI
demo2: chat with AI based on history chat
demo3: remove history chat and process txt
demo4: 2 AIs are chating
demo5: 2 AIs are chating in specific topic
note: change the code line of "chat = ", in case you are using other interfaces or AIs.
Thanks to "Large Language Models (LLMs) with MATLAB"

Cite As

halleyhit (2026). demo for running LLMs with MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/180255-demo-for-running-llms-with-matlab), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0