Merge branch 'ml'

This commit is contained in:
gitgernit
2025-11-22 15:00:16 +03:00
23 changed files with 1204 additions and 297 deletions
@@ -0,0 +1,8 @@
from abc import abstractmethod
from typing import Protocol
class Embedder(Protocol):
@abstractmethod
async def encode(self, text: str) -> list[float]:
raise NotImplementedError