matlab-deep-learning/llms-with-matlab

openAIChat function errors when stopSequences is a character array

Closed this issue · 0 comments

openAIChat checks whether stopSequences has the required number of elements (<=4) by counting the elements of stopSequences. If stopSequences is a character array, such as 'hello', then the function errors.