diff --git a/libs/langchain-azure-openai/src/embeddings.ts b/libs/langchain-azure-openai/src/embeddings.ts index 92eb93f9c716..c62817f5baf4 100644 --- a/libs/langchain-azure-openai/src/embeddings.ts +++ b/libs/langchain-azure-openai/src/embeddings.ts @@ -144,17 +144,13 @@ export class AzureOpenAIEmbeddings const deploymentName = this.azureOpenAIApiDeploymentName || this.modelName; const res = await this.caller.call(() => - this.client.getEmbeddings( - deploymentName, - input, - { - user: this.user, - model: this.modelName, - requestOptions: { - timeout: this.timeout, - }, - } - ) + this.client.getEmbeddings(deploymentName, input, { + user: this.user, + model: this.modelName, + requestOptions: { + timeout: this.timeout, + }, + }) ); return res.data[0].embedding;