# Generated by @typespec-fastapi/emitter
# Do not edit this file manually — regenerate with: tsp compile .
"""Service layer for Embeddings operations.

Contains a Protocol interface defining the service contract and a stub
implementation that raises NotImplementedError for all methods.
"""
from __future__ import annotations


from typing import Protocol, runtime_checkable

from ..models.common import ValidationError
from ..models.session_hub import BackfillResult


@runtime_checkable
class EmbeddingsService(Protocol):
    """Service interface for Embeddings operations."""
    async def backfill_embeddings(self, only_sessions: bool | None = None, only_messages: bool | None = None) -> BackfillResult | ValidationError:
        ...


class EmbeddingsServiceStub:
    """Stub implementation of EmbeddingsService.

    All methods raise NotImplementedError. Replace with actual
    business logic by subclassing or monkey-patching.
"""
    async def backfill_embeddings(self, only_sessions: bool | None = None, only_messages: bool | None = None) -> BackfillResult | ValidationError:
        raise NotImplementedError(
            "Method backfill_embeddings not yet implemented"
        )
