Can you substantiate this claim?
def embed_documents(self, texts: List[str]) -> List[List[float]]:
texts = list(map(lambda x: x.replace("\n", " "), texts))
embeddings = self.client.encode(texts, \*self.encode_kwargs)
return embeddings.tolist()
```