Remove unnecessary change

This commit is contained in:
Hieu Pham 2024-12-21 12:58:35 -08:00 • committed by GitHub
parent f60a39e944
commit 4fdf5d5bc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -811,7 +811,7 @@ export abstract class BaseLLM implements ILLM {
model: this.model,
input: batch,
});
return result.data.map((batch) => batch.embedding);
return result.data.map((chunk) => chunk.embedding);
}
return await this._embed(batch);