Writing in pinecone document store #6929
-
Hello everyone, Am trying to upsert data to pinecone. First i convert and preprocess them. But once i want to write thoses preprocessed data, i got an api error. I am running this on colab. ` #import all the necessary libraries doc_dir = "data/tutorial8" all_docs = convert_files_to_docs(dir_path=doc_dir) preprocessor = PreProcessor( docs_default = preprocessor.process(all_docs) #create a dictionary with the data in the 'content' key document_store.write_documents(docs_default) #need a dictionary as arg` The error message is : when i do this : pprint(docs_default[0])` it's return this : I found a solution which consists on creating the embeddings and upsert them direclty to the document store in pinecone without using haystack. Anyone did encounter this issues ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @Boltzmann08, this is probably a bug we should look at. |
Beta Was this translation helpful? Give feedback.
I fixed it in #6932.
The fix will be released in Haystack 1.25.0.
In the meantime, if you need it, you can install Haystack using the v1.x branch.