class OpenAIEmbeddings(BaseModel, Embeddings):
    ...
    def _get_len_safe_embeddings(
        ...
        for i in range(0, len(tokens), _chunk_size):
            response = embed_with_retry(
                self,
                input=tokens[i : i + _chunk_size],
                # engine=self.deployment, 这里不能使用engine要改为model
                model=self.model,
                request_timeout=self.request_timeout,
                headers=self.headers,
            )
            batched_embeddings += [r["embedding"] for r in response["data"]]