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

update the latest pinecone version to the latest version with support for Serverless indexes (the current only option for free pinecone accounts) #473

Open
dmotxilla opened this issue Jul 31, 2024 · 5 comments
Labels
kind: enhancement Related to a new feature or new functionality

Comments

@dmotxilla
Copy link

In the new version of pinecone, the capacity mode of an index can be serverless or pod-base (before it was only pod-base). The free account of pinecone currently only allows the serverless mode.

In the serverless mode, there is no an environtment parameter; the PINECONE_ANVIRONMENT parameter does not make sense anymore.
The pinecone-python lib needs to be updated to the latest version.

Ref: I asked Pinecone about it:
https://community.pinecone.io/t/how-to-find-out-what-is-my-environment-name-in-a-free-pinecone-account/6253

where they mention that:

It looks like that code is using the older connection method which is not supported with Serverless indexes.

gpt4-pdf-chatbot-langchain needs to be updated to use the latest version of the NodeJS SDK.

@dosubot dosubot bot added the kind: enhancement Related to a new feature or new functionality label Jul 31, 2024
@ajd2
Copy link

ajd2 commented Aug 5, 2024

im getting the same issue. Does this basically mean can't be used until it is updated? :(

@tonymynd
Copy link

This app was extremely useful to understand complex topics on different kinds of pdf documents. Perhaps we can change the connection method to reflect the new modality, if possible to keep it free.

@arpeiks
Copy link

arpeiks commented Aug 30, 2024

I was able to fixe the issue by using the individual Langchain packages

import { PineconeStore } from "@langchain/pinecone";
import { Document } from "@langchain/core/documents";
import { OpenAIEmbeddings } from "@langchain/openai";
import { Pinecone } from "@pinecone-database/pinecone";

Check out a sample implementation https://github.com/arpeiks/gpt-langchain

@tonymynd
Copy link

tonymynd commented Oct 16, 2024

I was able to fixe the issue by using the individual Langchain packages

import { PineconeStore } from "@langchain/pinecone";
import { Document } from "@langchain/core/documents";
import { OpenAIEmbeddings } from "@langchain/openai";
import { Pinecone } from "@pinecone-database/pinecone";

Check out a sample implementation https://github.com/arpeiks/gpt-langchain

Thanks @arpeiks, I went into your fork for this project. I'm thinking, shall I clone this files and replace them into this project?

@TechInnovatorAI
Copy link

im getting the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Related to a new feature or new functionality
Projects
None yet
Development

No branches or pull requests

5 participants