-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create toolbox packaging infrastructure
- Loading branch information
Showing
4 changed files
with
321 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
*.env | ||
*.asv | ||
*.mltbx | ||
*.mat | ||
!tests/recordings/*.mat | ||
startup.m | ||
papers_to_read.csv | ||
data/* | ||
examples/data/* | ||
examples/mlx-scripts/data/* | ||
toolbox/examples/data/* | ||
toolbox/examples/html/* | ||
._* | ||
.nfs* | ||
.DS_Store |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<demos><!--This is an autogenerated file, please do not modify--> | ||
<name>LLMs with MATLAB®</name> | ||
<type>toolbox</type> | ||
<icon>HelpIcon.DEMOS</icon> | ||
<website/> | ||
<description>Connect MATLAB® to the OpenAI® Chat Completions API (which powers ChatGPT™), OpenAI Images API (which powers DALL·E™), Azure® OpenAI Service, and both local and nonlocal Ollama™ models.</description> | ||
<demosection> | ||
<label>examples</label> | ||
<demoitem> | ||
<label>AnalyzeScientificPapersUsingFunctionCalls</label> | ||
<type>other</type> | ||
<source>AnalyzeScientificPapersUsingFunctionCalls</source> | ||
<file>examples/html/AnalyzeScientificPapersUsingFunctionCalls.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>AnalyzeSentimentinTextUsingChatGPTinJSONMode</label> | ||
<type>other</type> | ||
<source>AnalyzeSentimentinTextUsingChatGPTinJSONMode</source> | ||
<file>examples/html/AnalyzeSentimentinTextUsingChatGPTinJSONMode.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>AnalyzeTextDataUsingParallelFunctionCallwithChatGPT</label> | ||
<type>other</type> | ||
<source>AnalyzeTextDataUsingParallelFunctionCallwithChatGPT</source> | ||
<file>examples/html/AnalyzeTextDataUsingParallelFunctionCallwithChatGPT.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>CreateSimpleChatBot</label> | ||
<type>other</type> | ||
<source>CreateSimpleChatBot</source> | ||
<file>examples/html/CreateSimpleChatBot.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>CreateSimpleOllamaChatBot</label> | ||
<type>other</type> | ||
<source>CreateSimpleOllamaChatBot</source> | ||
<file>examples/html/CreateSimpleOllamaChatBot.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>DescribeImagesUsingChatGPT</label> | ||
<type>other</type> | ||
<source>DescribeImagesUsingChatGPT</source> | ||
<file>examples/html/DescribeImagesUsingChatGPT.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>InformationRetrievalUsingOpenAIDocumentEmbedding</label> | ||
<type>other</type> | ||
<source>InformationRetrievalUsingOpenAIDocumentEmbedding</source> | ||
<file>examples/html/InformationRetrievalUsingOpenAIDocumentEmbedding.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>ProcessGeneratedTextInRealTimeByUsingOllamaInStreamingMode</label> | ||
<type>other</type> | ||
<source>ProcessGeneratedTextInRealTimeByUsingOllamaInStreamingMode</source> | ||
<file>examples/html/ProcessGeneratedTextInRealTimeByUsingOllamaInStreamingMode.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>ProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode</label> | ||
<type>other</type> | ||
<source>ProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode</source> | ||
<file>examples/html/ProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>RetrievalAugmentedGenerationUsingChatGPTandMATLAB</label> | ||
<type>other</type> | ||
<source>RetrievalAugmentedGenerationUsingChatGPTandMATLAB</source> | ||
<file>examples/html/RetrievalAugmentedGenerationUsingChatGPTandMATLAB.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>RetrievalAugmentedGenerationUsingOllamaAndMATLAB</label> | ||
<type>other</type> | ||
<source>RetrievalAugmentedGenerationUsingOllamaAndMATLAB</source> | ||
<file>examples/html/RetrievalAugmentedGenerationUsingOllamaAndMATLAB.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>SummarizeLargeDocumentsUsingChatGPTandMATLAB</label> | ||
<type>other</type> | ||
<source>SummarizeLargeDocumentsUsingChatGPTandMATLAB</source> | ||
<file>examples/html/SummarizeLargeDocumentsUsingChatGPTandMATLAB.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>UsingDALLEToEditImages</label> | ||
<type>other</type> | ||
<source>UsingDALLEToEditImages</source> | ||
<file>examples/html/UsingDALLEToEditImages.html</file> | ||
</demoitem> | ||
<demoitem> | ||
<label>UsingDALLEToGenerateImages</label> | ||
<type>other</type> | ||
<source>UsingDALLEToGenerateImages</source> | ||
<file>examples/html/UsingDALLEToGenerateImages.html</file> | ||
</demoitem> | ||
</demosection> | ||
</demos> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,223 @@ | ||
<deployment-project plugin="plugin.toolbox" plugin-version="1.0"> | ||
<configuration file="/System/Volumes/Data/mathworks/devel/sandbox/ccreutzi/llms-with-matlab/toolboxPackaging.prj" location="/System/Volumes/Data/mathworks/devel/sandbox/ccreutzi/llms-with-matlab" name="toolboxPackaging" target="target.toolbox" target-name="Package Toolbox"> | ||
<param.appname>LLMs with MATLAB®</param.appname> | ||
<param.authnamewatermark>MathWorks Text Analytics Toolbox Team</param.authnamewatermark> | ||
<param.email /> | ||
<param.company>The MathWorks, Inc.</param.company> | ||
<param.summary>Large Language Models (LLMs) with MATLAB</param.summary> | ||
<param.description>Connect MATLAB® to the OpenAI® Chat Completions API (which powers ChatGPT™), OpenAI Images API (which powers DALL·E™), Azure® OpenAI Service, and both local and nonlocal Ollama™ models.</param.description> | ||
<param.screenshot>${PROJECT_ROOT}/images/toolboxPackaging.png</param.screenshot> | ||
<param.version>3.3.0</param.version> | ||
<param.output>${PROJECT_ROOT}/LLMs with MATLAB®.mltbx</param.output> | ||
<param.products.name /> | ||
<param.products.id /> | ||
<param.products.version /> | ||
<param.platforms /> | ||
<param.guid>e1d578f3-4375-4f36-9e04-62c18dbd533f</param.guid> | ||
<param.exclude.filters /> | ||
<param.exclude.pcodedmfiles>true</param.exclude.pcodedmfiles> | ||
<param.examples><?xml version="1.0" encoding="utf-8"?> | ||
<examples> | ||
<exampleCategory name="examples"> | ||
<example name="AnalyzeScientificPapersUsingFunctionCalls" type="html"> | ||
<file type="source">/examples/html/AnalyzeScientificPapersUsingFunctionCalls.html</file> | ||
<file type="main">/examples/AnalyzeScientificPapersUsingFunctionCalls.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="AnalyzeSentimentinTextUsingChatGPTinJSONMode" type="html"> | ||
<file type="source">/examples/html/AnalyzeSentimentinTextUsingChatGPTinJSONMode.html</file> | ||
<file type="main">/examples/AnalyzeSentimentinTextUsingChatGPTinJSONMode.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="AnalyzeTextDataUsingParallelFunctionCallwithChatGPT" type="html"> | ||
<file type="source">/examples/html/AnalyzeTextDataUsingParallelFunctionCallwithChatGPT.html</file> | ||
<file type="main">/examples/AnalyzeTextDataUsingParallelFunctionCallwithChatGPT.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="CreateSimpleChatBot" type="html"> | ||
<file type="source">/examples/html/CreateSimpleChatBot.html</file> | ||
<file type="main">/examples/CreateSimpleChatBot.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="CreateSimpleOllamaChatBot" type="html"> | ||
<file type="source">/examples/html/CreateSimpleOllamaChatBot.html</file> | ||
<file type="main">/examples/CreateSimpleOllamaChatBot.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="DescribeImagesUsingChatGPT" type="html"> | ||
<file type="source">/examples/html/DescribeImagesUsingChatGPT.html</file> | ||
<file type="main">/examples/DescribeImagesUsingChatGPT.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="InformationRetrievalUsingOpenAIDocumentEmbedding" type="html"> | ||
<file type="source">/examples/html/InformationRetrievalUsingOpenAIDocumentEmbedding.html</file> | ||
<file type="main">/examples/InformationRetrievalUsingOpenAIDocumentEmbedding.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="ProcessGeneratedTextInRealTimeByUsingOllamaInStreamingMode" type="html"> | ||
<file type="source">/examples/html/ProcessGeneratedTextInRealTimeByUsingOllamaInStreamingMode.html</file> | ||
<file type="main">/examples/ProcessGeneratedTextInRealTimeByUsingOllamaInStreamingMode.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="ProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode" type="html"> | ||
<file type="source">/examples/html/ProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode.html</file> | ||
<file type="main">/examples/ProcessGeneratedTextinRealTimebyUsingChatGPTinStreamingMode.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="RetrievalAugmentedGenerationUsingChatGPTandMATLAB" type="html"> | ||
<file type="source">/examples/html/RetrievalAugmentedGenerationUsingChatGPTandMATLAB.html</file> | ||
<file type="main">/examples/RetrievalAugmentedGenerationUsingChatGPTandMATLAB.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="RetrievalAugmentedGenerationUsingOllamaAndMATLAB" type="html"> | ||
<file type="source">/examples/html/RetrievalAugmentedGenerationUsingOllamaAndMATLAB.html</file> | ||
<file type="main">/examples/RetrievalAugmentedGenerationUsingOllamaAndMATLAB.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="SummarizeLargeDocumentsUsingChatGPTandMATLAB" type="html"> | ||
<file type="source">/examples/html/SummarizeLargeDocumentsUsingChatGPTandMATLAB.html</file> | ||
<file type="main">/examples/SummarizeLargeDocumentsUsingChatGPTandMATLAB.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="UsingDALLEToEditImages" type="html"> | ||
<file type="source">/examples/html/UsingDALLEToEditImages.html</file> | ||
<file type="main">/examples/UsingDALLEToEditImages.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
<example name="UsingDALLEToGenerateImages" type="html"> | ||
<file type="source">/examples/html/UsingDALLEToGenerateImages.html</file> | ||
<file type="main">/examples/UsingDALLEToGenerateImages.mlx</file> | ||
<file type="thumbnail"/> | ||
</example> | ||
</exampleCategory> | ||
</examples></param.examples> | ||
<param.demosxml /> | ||
<param.apps /> | ||
<param.registered.apps /> | ||
<param.docs /> | ||
<param.getting.started.guide /> | ||
<param.matlabpath.excludes /> | ||
<param.javaclasspath.excludes /> | ||
<param.exported.on.package>true</param.exported.on.package> | ||
<param.required.addons /> | ||
<param.matlab.project.id /> | ||
<param.matlab.project.name /> | ||
<param.release.start>R2024a</param.release.start> | ||
<param.release.end>latest</param.release.end> | ||
<param.release.current.only>false</param.release.current.only> | ||
<param.compatiblity.windows>true</param.compatiblity.windows> | ||
<param.compatiblity.macos>true</param.compatiblity.macos> | ||
<param.compatiblity.linux>true</param.compatiblity.linux> | ||
<param.compatiblity.matlabonline>true</param.compatiblity.matlabonline> | ||
<param.installation.map /> | ||
<param.additional.sw.names /> | ||
<param.additional.sw.licenses /> | ||
<param.additional.sw.win.url /> | ||
<param.additional.sw.mac.url /> | ||
<param.additional.sw.linux.url /> | ||
<unset> | ||
<param.email /> | ||
<param.output /> | ||
<param.products.name /> | ||
<param.products.id /> | ||
<param.products.version /> | ||
<param.platforms /> | ||
<param.exclude.filters /> | ||
<param.exclude.pcodedmfiles /> | ||
<param.demosxml /> | ||
<param.apps /> | ||
<param.registered.apps /> | ||
<param.docs /> | ||
<param.getting.started.guide /> | ||
<param.matlabpath.excludes /> | ||
<param.javaclasspath.excludes /> | ||
<param.required.addons /> | ||
<param.matlab.project.id /> | ||
<param.matlab.project.name /> | ||
<param.release.current.only /> | ||
<param.compatiblity.windows /> | ||
<param.compatiblity.macos /> | ||
<param.compatiblity.linux /> | ||
<param.compatiblity.matlabonline /> | ||
<param.installation.map /> | ||
<param.additional.sw.names /> | ||
<param.additional.sw.licenses /> | ||
<param.additional.sw.win.url /> | ||
<param.additional.sw.mac.url /> | ||
<param.additional.sw.linux.url /> | ||
</unset> | ||
<fileset.rootdir> | ||
<file>${PROJECT_ROOT}/toolbox</file> | ||
</fileset.rootdir> | ||
<fileset.rootfiles> | ||
<file>${PROJECT_ROOT}/toolbox/+llms</file> | ||
<file>${PROJECT_ROOT}/toolbox/._azureChat.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/._messageHistory.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/._ollamaChat.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/._openAIChat.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/azureChat.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/demos.xml</file> | ||
<file>${PROJECT_ROOT}/toolbox/examples</file> | ||
<file>${PROJECT_ROOT}/toolbox/extractOpenAIEmbeddings.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/messageHistory.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/ollamaChat.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/openAIChat.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/openAIFunction.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/openAIImages.m</file> | ||
<file>${PROJECT_ROOT}/toolbox/openAIMessages.m</file> | ||
</fileset.rootfiles> | ||
<fileset.depfun.included /> | ||
<fileset.depfun.excluded> | ||
<file>${PROJECT_ROOT}/papers_to_read.csv</file> | ||
</fileset.depfun.excluded> | ||
<fileset.package /> | ||
<build-deliverables> | ||
<file location="${PROJECT_ROOT}" name="LLMs with MATLAB®.mltbx" optional="false">/System/Volumes/Data/mathworks/devel/sandbox/ccreutzi/llms-with-matlab/LLMs with MATLAB®.mltbx</file> | ||
</build-deliverables> | ||
<workflow /> | ||
<matlab> | ||
<root>/System/Volumes/Data/mathworks/devel/jobarchive/Btext/.zfs/snapshot/Btext.2703056.pass.ja1/current/build/matlab</root> | ||
<toolboxes> | ||
<toolbox name="matlabcoder" /> | ||
<toolbox name="embeddedcoder" /> | ||
<toolbox name="fixedpoint" /> | ||
<toolbox name="neuralnetwork" /> | ||
</toolboxes> | ||
<toolbox> | ||
<matlabcoder> | ||
<enabled>true</enabled> | ||
</matlabcoder> | ||
</toolbox> | ||
<toolbox> | ||
<embeddedcoder> | ||
<enabled>true</enabled> | ||
</embeddedcoder> | ||
</toolbox> | ||
<toolbox> | ||
<fixedpoint> | ||
<enabled>true</enabled> | ||
</fixedpoint> | ||
</toolbox> | ||
<toolbox> | ||
<neuralnetwork> | ||
<enabled>true</enabled> | ||
</neuralnetwork> | ||
</toolbox> | ||
</matlab> | ||
<platform> | ||
<unix>true</unix> | ||
<mac>true</mac> | ||
<windows>false</windows> | ||
<win2k>false</win2k> | ||
<winxp>false</winxp> | ||
<vista>false</vista> | ||
<linux>false</linux> | ||
<solaris>false</solaris> | ||
<osver>14.5</osver> | ||
<os32>true</os32> | ||
<os64>false</os64> | ||
<arch>maci64</arch> | ||
<matlab>true</matlab> | ||
</platform> | ||
</configuration> | ||
</deployment-project> |