llama-node icon indicating copy to clipboard operation
llama-node copied to clipboard

The requested module 'llama-node/dist/llm/llama-cpp.js' does not provide an export named 'LoadConfig'

Open heaversm opened this issue 2 years ago • 0 comments

Attempting to follow https://llama-node.vercel.app/docs/langchain - I encounter the error:

import { LLamaCpp, LoadConfig } from "llama-node/dist/llm/llama-cpp.js";
                   ^^^^^^^^^^
SyntaxError: The requested module 'llama-node/dist/llm/llama-cpp.js' does not provide an export named 'LoadConfig'

Looking at this file, I see only one export:

export {
  LLamaCpp
};
//# sourceMappingURL=llama-cpp.js.map

heaversm avatar Aug 31 '23 16:08 heaversm