You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is thrown when running the function calling example:
index.js:2883 Uncaught (in promise) Error: Cannot find global function mlc.serve.BNFGrammarGetGrammarOfJSON
at Instance.getGlobalFuncInternal (index.js:2883:23)
at Instance.getGlobalFunc (index.js:2870:25)
at new GrammarFactory (grammar.ts:31:11)
at new LLMChatPipeline (llm_chat.ts:99:27)
at Engine.<anonymous> (engine.ts:210:21)
at Generator.next (<anonymous>)
at fulfilled (tslib.es6.js:118:58)
How to reproduce?
Clone the latest code;
cd examples/function-calling;
npm i && npm start;
Visit localhost:8888 on browser and wait until the model done loading;
Check console to see the error.
The text was updated successfully, but these errors were encountered:
Function calling is a WIP and will be updated soon! Apologies for the inconvenience. All other examples should be working and feel free to try them out
What's the issue?
The following error is thrown when running the function calling example:
How to reproduce?
cd examples/function-calling
;npm i && npm start
;localhost:8888
on browser and wait until the model done loading;The text was updated successfully, but these errors were encountered: