This commit is contained in:
ItzCrazyKns 2024-05-09 20:43:04 +05:30
parent 09463999c2
commit 9a7af945b0
No known key found for this signature in database
GPG Key ID: 8162927C7CCE3065
3 changed files with 5 additions and 6 deletions

View File

@ -157,7 +157,6 @@ export const getAvailableEmbeddingModelProviders = async () => {
});
return acc;
}, {});
} catch (err) {
logger.error(`Error loading Ollama embeddings: ${err}`);
}
@ -172,7 +171,7 @@ export const getAvailableEmbeddingModelProviders = async () => {
modelName: 'Xenova/gte-small',
}),
'Bert Multilingual': new HuggingFaceTransformersEmbeddings({
modelName: 'Xenova/bert-base-multilingual-uncased'
modelName: 'Xenova/bert-base-multilingual-uncased',
}),
};
} catch (err) {