llm-tools / embedJs

A NodeJS RAG framework to easily work with LLMs and embeddings
https://llm-tools.mintlify.app/get-started/introduction
Apache License 2.0
335 stars 40 forks source link

Export path for pinecone db #25

Closed Ilikepizza2 closed 7 months ago

Ilikepizza2 commented 7 months ago

Error: Cannot find module '@llmembed/embedjs/vectorDb/pinecone-db.js' Can't find the path to import it in my nodejs project. Tried the above path but it's not found on it for some reason. No solution in readme or issues.

adhityan commented 7 months ago

You will need to import it from '@llmembed/embedjs/vectorDb/pinecone'. Will update the documentation to reflect this.

Ilikepizza2 commented 7 months ago

Still I get Error: Cannot find module '@llmembed/embedjs/vectorDb/pinecone' I have also tried installing vectordb as mentioned in #19

Edit: Got it... the path for me was '@llm-tools/embedjs/vectorDb/pinecone'