Open leVoT8 opened 5 hours ago
The documentation needs fixing. Could you try replacing the addLoader
line with -
await app.addLoader(new WebLoader({ urlOrContent: 'https://www.forbes.com/profile/elon-musk' }));
The library before versions 0.1.x used to support dynamic loaders - where you don't need to create an instance of a loader manually - this functionality was removed when the library moved into a monorepo - and will be available again later. The documentation wasn't updated properly.
Find fixed / updated documentation here -
https://llm-tools.mintlify.app/components/vector-databases/pinecone
🐛 Describe the bug
Model: GPT-4o Vector DB: Pinecone, serverless
Error:
I am unsure if I did something wrong or if this is a bug.
Note: I exchanged
{ LanceDb }
to{ PineconeDb }
on the import statement.{ LanceDb }
is what is written in the documentation, however, I think it was supposed to be{ PineconeDb }