and am getting an embedding size mismatch error. Is this related to the approximateNeighborscount in the index_metadata being much higher than the documents specified?
Yes, the “Embedding Size Mismatch” error likely arises due to a disparity between the specified embeddingSize in the index_metadata and the actual size of the embeddings in the documents.