diff --git a/semantic_router/schema.py b/semantic_router/schema.py index 981d9862..d13975c0 100644 --- a/semantic_router/schema.py +++ b/semantic_router/schema.py @@ -31,7 +31,7 @@ def __init__(self, type: str, name: str): self.type = EncoderType(type) self.name = name if self.type == EncoderType.HUGGINGFACE: - self.model = HuggingFaceEncoder(name) + raise NotImplementedError elif self.type == EncoderType.OPENAI: self.model = OpenAIEncoder(name) elif self.type == EncoderType.COHERE: