Comments (4)
@hwchase17 Hey, not sure this is usable now with Pinecone?
Hesitated to create an issue for this
ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'content-type': 'text/plain; charset=UTF-8', 'date': 'Wed, 11 Jan 2023 16:36:26 GMT', 'content-length': '131', 'x-envoy-upstream-service-time': '2133', 'server': 'envoy'})
HTTP response body: The index exceeds the project quota of 1 pods by 1 pods. Upgrade your account or change the project settings to increase the quota.
However I have given an existing Pinecone index
from langchain.docstore.document import Document
from langchain.vectorstores.pinecone import Pinecone
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.vectorstores.faiss import FAISS
from langchain.text_splitter import CharacterTextSplitter
from langchain import OpenAI, VectorDBQA
o = OpenAIEmbeddings()
p = Pinecone(index, o.embed_query, "content")
p.from_documents(
documents=[
Document(
page_content=e.metadata["content"],
metadata=e.metadata,
)
for e in response.matches
],
embedding=o
)
from langchain.
hmm looks like an issue in your pinecone account?
from langchain.
langchain is trying to create a new index while I passed an existing one (and of course it fails because free plan is limited to one index)
from langchain.
Hi, @hwchase17! I'm Dosu, and I'm helping the LangChain team manage their backlog. I wanted to let you know that we are marking this issue as stale.
From what I understand, you opened this issue requesting support for the pinecone vector DB. There was some discussion between you and louis030195 regarding an error related to the project quota when using Pinecone. It was discovered that the error occurred because langchain was trying to create a new index instead of using an existing one, which is limited to one index on the free plan.
Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the LangChain repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself or it will be automatically closed in 7 days.
Thank you for your understanding and contribution to the LangChain project!
from langchain.
Related Issues (20)
- DOC: <Issue related to /v0.2/docs/integrations/text_embedding/google_generative_ai/> HOT 1
- unable to merge approved pull request HOT 1
- AttributeError: 'Collection' object has no attribute 'model_fields' HOT 3
- OllamaFunctions incompatible with ImagePromptTemplate
- DOC: <Issue related to /v0.2/docs/how_to/structured_output/>
- OllamaEmbeddings returns error 400 Bad Request when embedding documents
- Openai Assistant async _await_for_run method is not really async HOT 4
- DOC: openai.BadRequestError Raised when Running the "Agents" Sample Code HOT 1
- [OutputFixingParser] I am using the OutputFixingParser component according to the official documentation, but an exception has occurred HOT 1
- Issue: Document loader for Notion DB doesn't supports KeyError: 'name'
- [Google Generative AI] Structured Output doesn't work with advanced schema
- Langchain RetrievalQAWithSourcesChain throwing ValueError: Missing some input keys: {'context'} HOT 3
- IME Input Handling Issue in LangChain Chat Playground
- IME Input Handling Issue in Chat LangChain HOT 2
- OllamaFunction returns Object of type ModelMetaclass is not JSON serializable following example on documentation
- how to insert id_prefix when upserting using langchain pinecone.from_documents??? or what is the alternative? because id_prefix is very important when we want to delete specific vectors
- how to insert id_prefix when upserting using langchain pinecone.from_documents??? or what is the alternative? because id_prefix is very important when we want to delete specific vectors #24235
- DOC: <Please wri知识库交叉融合,在项目使用中,我有一些公用知识库和私有知识库,我想在回答的时候将私有知识库和公用的知识库结合起来,这怎么实现?后期可以更新吗te a comprehensive title after the 'DOC: ' prefix>
- LangChain AzureOpenAIEmbeddings is not working due to model trying to access microsoft HOT 1
- No module named 'langchain.transformers' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from langchain.