Add custom exceptions

This commit is contained in:
2025-09-26 16:15:02 +00:00
parent b44a209d42
commit 250dfa728e
4 changed files with 22 additions and 14 deletions

View File

@@ -12,7 +12,7 @@ maintaining a consistent interface for the semantic search workflow.
"""
from abc import ABC, abstractmethod
from typing import Generic, TypeVar
from typing import TypeVar
from ..models import Condition, SearchRow
@@ -22,7 +22,7 @@ ConditionType = TypeVar("ConditionType")
__all__ = ["BaseEngine"]
class BaseEngine(ABC, Generic[ResponseType, ConditionType]):
class BaseEngine[ResponseType, ConditionType](ABC):
"""Abstract base class for vector search engines.
This class defines the interface that all vector search engine implementations