diff --git a/semantic_router/encoders/huggingface.py b/semantic_router/encoders/huggingface.py deleted file mode 100644 index 258c5037..00000000 --- a/semantic_router/encoders/huggingface.py +++ /dev/null @@ -1,9 +0,0 @@ -from semantic_router.encoders import BaseEncoder - - -class HuggingFaceEncoder(BaseEncoder): - def __init__(self, name: str): - self.name = name - - def __call__(self, texts: list[str]) -> list[float]: - raise NotImplementedError diff --git a/semantic_router/schema.py b/semantic_router/schema.py index 439f2322..981d9862 100644 --- a/semantic_router/schema.py +++ b/semantic_router/schema.py @@ -6,7 +6,6 @@ from semantic_router.encoders import ( BaseEncoder, CohereEncoder, - HuggingFaceEncoder, OpenAIEncoder, ) @@ -18,7 +17,6 @@ class Decision(BaseModel): class EncoderType(Enum): - HUGGINGFACE = "huggingface" OPENAI = "openai" COHERE = "cohere"