Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions deepsearch/documents/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]


Expand Down