Skip to content

Commit

Permalink
fix: Changes from lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cloud-sdk-js committed Sep 16, 2024
1 parent e64243e commit bf5d5d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/langchain/src/openai/embedding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export class AzureOpenAiEmbeddingClient extends AzureOpenAIEmbeddings {
);
const embeddings: number[][] = [];
for await (const promptChunk of chunkedPrompts) {
const embeddingResponse = await this.createEmbedding({ input: promptChunk });
const embeddingResponse = await this.createEmbedding({
input: promptChunk
});
embeddingResponse.data.forEach(entry => embeddings.push(entry.embedding));
}
return embeddings;
Expand Down

0 comments on commit bf5d5d6

Please sign in to comment.