diff --git a/src/utils/embedding.ts b/src/utils/embedding.ts index f51fd9da..44d90014 100644 --- a/src/utils/embedding.ts +++ b/src/utils/embedding.ts @@ -260,7 +260,9 @@ export class UniversalSentenceEncoder implements EmbeddingModel { * @param sentenceEncoderModule The imported module * @returns The load function or null if not found */ -function findUSELoadFunction(sentenceEncoderModule: any): (() => Promise) | null { +function findUSELoadFunction( + sentenceEncoderModule: any +): (() => Promise) | null { // Log the module structure for debugging console.log( 'Universal Sentence Encoder module structure:',