Open GhostDog98 opened 1 day ago
I think Ollama was not imported. You need to replace the line -
import { OllamaEmbeddings } from '@llm-tools/embedjs-ollama';
with
import { OllamaEmbeddings, Ollama } from '@llm-tools/embedjs-ollama';
I have updated the documentation.
Issue with current documentation:
When using the quickstart code for local development:
And a package.json of:
Running using
npx ts-node main.ts
returns:Is there something I am missing?