add base embedder

This commit is contained in:
2025-09-30 17:30:46 +00:00
parent 23a4ce9fe3
commit 611c2c4b81
3 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1 @@
"""Embedder class using Azure AI Foundry."""

View File

@@ -0,0 +1,7 @@
"""Embedder class using Azure AI Foundry."""
from .base import BaseEmbedder
class AzureEmbedder(BaseEmbedder):
def embed(self, text: str) -> list[float]: ...

View File

@@ -0,0 +1,6 @@
from abc import ABC, abstractmethod
class BaseEmbedder(ABC):
@abstractmethod
def embed(self, text: str) -> list[float]: ...