Skip to content

Commit

Permalink
remove missing encoder type
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Nov 13, 2023
1 parent 348963b commit f67e5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion semantic_router/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f67e5d2

Please sign in to comment.