llms-with-matlab
llms-with-matlab copied to clipboard
Connect MATLAB to LLM APIs, including OpenAI® Chat Completions, Azure® OpenAI Services, and Ollama™
UsingDALLEToEditImages: [images,resp] = createVariation(mdl, imagePath, NumImages=4); Error using [imread](matlab:matlab.lang.internal.introspective.errorDocCallback('imread', 'E:\jobarchive\Btext\2024_04_22_h17m05s46_job2591482_pass\matlab\toolbox\matlab\imagesci\imread.m', 352)) ([line 352](matlab: opentoline('E:\jobarchive\Btext\2024_04_22_h17m05s46_job2591482_pass\matlab\toolbox\matlab\imagesci\imread.m',352,0))) Can't read URL "https://oaidalleapiprodscus.blob.core.windows.net/private/org-pq0MGRBYHualPO5l0BarTWqW/user-qV2F18SvbhogHzXIkc70zO8l/img-QWk9Dz7ye9dye7G36Po5g2YQ.png?st=2024-05-14T14%3A42%3A29Z&se=2024-05-14T16%3A42%3A29Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2024-05-13T23%3A03%3A20Z&ske=2024-05-14T23%3A03%3A20Z&sks=b&skv=2021-08-06&sig=aGDLoCV%2B47a5o3S5wEg7Y4Ki%2BVcEED33Lrb3W1cvPtg%3D". Reason: Could not find file : https://oaidalleapiprodscus.blob.core.windows.net/private/org-pq0MGRBYHualPO5l0BarTWqW/user-qV2F18SvbhogHzXIkc70zO8l/img-QWk9Dz7ye9dye7G36Po5g2YQ.png?st=2024-05-14T14%3A42%3A29Z&se=2024-05-14T16%3A42%3A29Z&sp=r&sv=2021-08-06&sr=b&rscd=inline&rsct=image/png&skoid=6aaadede-4fb3-4698-a8f6-684d7786b067&sktid=a48cca56-e6da-484e-a814-9c849652bcb3&skt=2024-05-13T23%3A03%3A20Z&ske=2024-05-14T23%3A03%3A20Z&sks=b&skv=2021-08-06&sig=aGDLoCV%2B47a5o3S5wEg7Y4Ki%2BVcEED33Lrb3W1cvPtg%3D Error in [openAIImages>extractImages](matlab:matlab.lang.internal.introspective.errorDocCallback('openAIImages>extractImages', 'C:\Users\vpapanas\OneDrive -...
add support for Custom API Endpoint : https://github.com/matlab-deep-learning/llms-with-matlab/issues/14 By filling in the environment variables to set the API endpoint, the usage is as follows : 
`mustBeValidSize` in `openAIImages` is unused. Shall we use it in the argument validation of nvpSize which we do in generate, edit and createVariation methods? If we should use it and...
per https://github.com/toshiakit/MatGPT/issues/30 > Hi, > > I'm exploring MatGPT's integration capabilities with LLMs and am interested in extending its utility to custom models, particularly those deployed locally. > > In...
When does llms-with-matlab support Google Gemini?
Would it be possible to add the ability of using LLMs-with-MATLAB with an an Azure OpenAI API key, instead of a regular OpenAI API key ?
Currently Matlab access to Ollama only supports text generation, but not the embeddings. However, adding this functionality should not be hard, here is a snippet: ```MATLAB url = 'http://localhost:11434/api/embeddings'; data...
`README.md` has a list of examples near the end. That list has not been updated and only shows 10 of our 14 examples, if I didn't miscount.
Should we point users to https://www.mathworks.com/help/matlab/import_export/keep-sensitive-information-out-of-code.html and how it's a good idea not to have API credentials in their code? _Originally posted by @ccreutzi in https://github.com/matlab-deep-learning/llms-with-matlab/pull/63#discussion_r1695350611_