Skip to content

Commit

Permalink
⚡ remove unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tokyo committed Dec 15, 2024
1 parent f33ac53 commit c282286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ZeroShotClassifier/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class ZeroShotClassifier {
const uncachedTexts = texts.filter((text) => !cache[text]);
const chunks = chunk(uncachedTexts, batchSize);

const embeddings = await pMap(
await pMap(
chunks,
async (currChunk: string[]) => {
const response = await (getProvider(this.provider)).createEmbedding(this.client, {
Expand Down

0 comments on commit c282286

Please sign in to comment.