This commit is contained in:
1 parent
0e1a2ad008
commit
34f4923566
28 files changed
+3932
-81
No files matched your search
@@ -9,7 +9,7 @@ from dataclasses import dataclass
|
||||
from pathlib import Path, PurePosixPath
|
||||
from typing import Protocol
|
||||
|
||||
from gewu.domain.contracts import AutoAcceptPolicy, ProjectRecord
|
||||
from gewu.domain.contracts import AutoAcceptPolicy, ProjectFacetLabel, ProjectRecord
|
||||
|
||||
|
||||
class CanonicalRepositoryError(RuntimeError):
|
||||
@@ -74,10 +74,16 @@ class ProjectRegistry(Protocol):
|
||||
|
||||
def create(self, project: ProjectRecord, policy: AutoAcceptPolicy) -> ProjectRecord: ...
|
||||
|
||||
def update_content(self, project_id: str, *, description: str, north_star: str, key_questions: tuple[str, ...]) -> ProjectRecord: ...
|
||||
def update_content(
|
||||
self, project_id: str, *, description: str, north_star: str, key_questions: tuple[str, ...]
|
||||
) -> ProjectRecord: ...
|
||||
|
||||
def archive(self, project_id: str) -> ProjectRecord: ...
|
||||
|
||||
def add_facet_labels(
|
||||
self, project_id: str, labels: tuple[ProjectFacetLabel, ...]
|
||||
) -> ProjectRecord: ...
|
||||
|
||||
|
||||
class EmbeddingProvider(Protocol):
|
||||
"""Replaceable, normalized text-vector provider for derived retrieval indexes."""
|
||||
|
||||
Reference in new issue
Block a user