File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55
66 properties (Constant )
77 % CATALOG dictionary mapping error ids to error msgs
8- Catalog = buildErrorMessageCatalog;
8+ Catalog = buildErrorMessageCatalog() ;
99 end
1010
1111 methods (Static )
3131 end
3232end
3333
34- function catalog = buildErrorMessageCatalog
34+ function catalog = buildErrorMessageCatalog()
3535catalog = dictionary(" string" , " string" );
3636catalog(" llms:mustBeUnique" ) = " Values must be unique." ;
3737catalog(" llms:mustBeVarName" ) = " Parameter name must begin with a letter and contain not more than 'namelengthmax' characters." ;
5656catalog(" llms:warningJsonInstruction" ) = " When using JSON mode, you must also prompt the model to produce JSON yourself via a system or user message." ;
5757catalog(" llms:apiReturnedError" ) = " OpenAI API Error: {1}" ;
5858catalog(" llms:dimensionsMustBeSmallerThan" ) = " Dimensions must be less than or equal to {1}." ;
59- end
59+ end
You can’t perform that action at this time.
0 commit comments