Pass `chunk_size=1` when constructing the embeddings: `embeddings = OpenAIEmbeddings(chunk_size=1)`. This was the confirmed fix in the thread and also works through helpers like `vectorstore.from_documents()` where you can't pass chunk_size yourself. In langchain.js the equivalent option is `batchSi…
Pass `chunk_size=1` when constructing the embeddings: `embeddings = OpenAIEmbeddings(chunk_size=1)`. This was the confirmed fix in the thread and also works through helpers like `vectorstore.from_documents()` where you can't pass chunk_size yourself. In langchain.js the equivalent option is `batchSi…