summaryrefslogtreecommitdiff
path: root/rag/generator/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'rag/generator/__init__.py')
-rw-r--r--rag/generator/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rag/generator/__init__.py b/rag/generator/__init__.py
index ba23ffc..a776231 100644
--- a/rag/generator/__init__.py
+++ b/rag/generator/__init__.py
@@ -4,11 +4,11 @@ from .abstract import AbstractGenerator
from .cohere import Cohere
from .ollama import Ollama
-MODELS = ["ollama", "cohere"]
+MODELS = ["local", "cohere"]
def get_generator(model: str) -> Type[AbstractGenerator]:
match model:
- case "ollama":
+ case "local":
return Ollama()
case "cohere":
return Cohere()