mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
fix import path
This commit is contained in:
parent
5d56ab623b
commit
745d2aeaff
1 changed files with 2 additions and 2 deletions
|
@ -43,12 +43,12 @@ function getEmbeddingEngineSelection() {
|
|||
const engineSelection = process.env.EMBEDDING_ENGINE;
|
||||
switch (engineSelection) {
|
||||
case "openai":
|
||||
const { OpenAiEmbedder } = require("../../EmbeddingEngines/openAi");
|
||||
const { OpenAiEmbedder } = require("../EmbeddingEngines/openAi");
|
||||
return new OpenAiEmbedder();
|
||||
case "azure":
|
||||
const {
|
||||
AzureOpenAiEmbedder,
|
||||
} = require("../../EmbeddingEngines/azureOpenAi");
|
||||
} = require("../EmbeddingEngines/azureOpenAi");
|
||||
return new AzureOpenAiEmbedder();
|
||||
default:
|
||||
return null;
|
||||
|
|
Loading…
Add table
Reference in a new issue