langchain icon indicating copy to clipboard operation
langchain copied to clipboard

Update 'add_texts' to create embeddings in batches

Open Rifur13 opened this issue 1 year ago • 0 comments

Pinecone currently creates embeddings serially when calling add_texts. It's slow and unnecessary because all embeddings classes have a from_documents method that creates them in batches. If no one is working on this I can create a PR, please let me know!

Rifur13 avatar Mar 07 '23 00:03 Rifur13