diff --git a/deepsearch/documents/core/models.py b/deepsearch/documents/core/models.py index 3b6a3633..453d21bd 100644 --- a/deepsearch/documents/core/models.py +++ b/deepsearch/documents/core/models.py @@ -150,10 +150,21 @@ class ElasticS3Target(BaseModel): ) +class COSTarget(BaseModel): + type: Literal["cos"] = "cos" + + coordinates: S3Coordinates + + add_raw_pages: bool = False + + add_annotations: bool = False + + ExportTarget = Union[ ZipTarget, MongoS3Target, ElasticS3Target, + COSTarget, ]