generated from coulomb/repo-seed
default source-location identity and opt-in content-digest identity for file move/rename reconciliation, PDF/DOCX-style placeholder ingestion
This commit is contained in:
@@ -9,6 +9,7 @@ from .ingestion import (
|
||||
ExtractionResult,
|
||||
ExtractorCapability,
|
||||
IngestionFailure,
|
||||
IngestionIdentityPolicy,
|
||||
IngestionJob,
|
||||
IngestionJobStatus,
|
||||
NormalizedDocument,
|
||||
@@ -58,6 +59,7 @@ __all__ = [
|
||||
"IdempotencyRecord",
|
||||
"IdempotencyStatus",
|
||||
"IngestionFailure",
|
||||
"IngestionIdentityPolicy",
|
||||
"IngestionJob",
|
||||
"IngestionJobStatus",
|
||||
"KnowledgeAsset",
|
||||
|
||||
@@ -21,6 +21,11 @@ class IngestionJobStatus(str, Enum):
|
||||
CANCELED = "canceled"
|
||||
|
||||
|
||||
class IngestionIdentityPolicy(str, Enum):
|
||||
SOURCE_LOCATION = "source_location"
|
||||
CONTENT_DIGEST = "content_digest"
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class IngestionFailure:
|
||||
code: str
|
||||
|
||||
Reference in New Issue
Block a user