From ca167aa635d087024d9cc00086138bb0e61ddf4a Mon Sep 17 00:00:00 2001 From: javier-cohere Date: Fri, 13 Sep 2024 09:35:39 +0200 Subject: [PATCH] add content_type again --- compass_sdk/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/compass_sdk/__init__.py b/compass_sdk/__init__.py index 1bdab6e..b9022a7 100644 --- a/compass_sdk/__init__.py +++ b/compass_sdk/__init__.py @@ -334,6 +334,7 @@ class ParseableDocument(BaseModel): str, StringConstraints(min_length=1), ] # Ensures the filename is a non-empty string + content_type: str content_length_bytes: PositiveInt # File size must be a non-negative integer bytes: str # Base64-encoded file contents context: Dict[str, Any] = Field(default_factory=dict)