Closed yamyamyuo closed 1 year ago
Haven't seen this one before and I imagine it's on your end w/ your connection. I gotta close this one out because I don't believe it's part of this code. Have you asked gpt4?
Thanks @gkamradt, it does related to network issue with openAI. It works after correct the network. BTW, do you know how to initiate the pinecone index? Currently I initiate an index with cosine metric, 1536 dimension which indicated by the error message.
HTTP response headers: HTTPHeaderDict({'content-type': 'application/json', 'date': 'Sun, 14 May 2023 07:57:46 GMT', 'x-envoy-upstream-service-time': '2', 'content-length': '103', 'server': 'envoy'})
HTTP response body: {"code":3,"message":"Vector dimension 1536 does not match the dimension of the index 128","details":[]}
Hi there, thanks for solving my issue about loading PDF. I came across another issue and suspect it may relate to some python packages version.
I am trying
Ask A Book Questions
tutorial and get below error when executing this line:docsearch = Pinecone.from_texts([t.page_content for t in texts], embeddings, index_name=index_name)
Appreciate your help in advance!