matlab-deep-learning / llms-with-matlab

Connect MATLAB to LLM APIs, including OpenAI® Chat Completions, Azure® OpenAI Services, and Ollama™
Other
108 stars 23 forks source link

Use correct `ModelName` default #81

Closed ccreutzi closed 1 month ago

ccreutzi commented 1 month ago

openAIChat.generate needs to use the given openAIChat's model as the default, not a static gpt-4o-mini".

We do not currently have a test seam to verify this default.

Fixes #80.

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.70%. Comparing base (19effe4) to head (cc43556).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #81 +/- ## ======================================= Coverage 96.70% 96.70% ======================================= Files 41 41 Lines 1394 1394 ======================================= Hits 1348 1348 Misses 46 46 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.