Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Vector Databases > Pinecone error for import #136

Closed
leVoT8 opened this issue Oct 25, 2024 · 1 comment
Closed

DOC: Vector Databases > Pinecone error for import #136

leVoT8 opened this issue Oct 25, 2024 · 1 comment
Assignees

Comments

@leVoT8
Copy link

leVoT8 commented Oct 25, 2024

Issue with current documentation:

In the documentation under vector databases for Pinecone, there may be an error unless I am missing something.

When importing embedjs-pinecone the example shows:
import { LanceDb } from '@llm-tools/embedjs-pinecone';

However, later the example calls upon new PineconeDb within .setVectorDb as shown (instead of LanceDb):

const app = await new RAGApplicationBuilder()
.setEmbeddingModel(new OpenAiEmbeddings())
.setModel(SIMPLE_MODELS.OPENAI_GPT4_O)
.setVectorDb(new PineconeDb({
...

This caused an error, which seems to have been resolved when I exchanged { LanceDb } with { PineconeDb } in the import statement.

@adhityan
Copy link
Collaborator

Thanks for pointing it out. It's addressed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants