Skip to content

Commit

Permalink
add content_type again
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-cohere authored and javier-cohere committed Sep 13, 2024
1 parent 3d573d8 commit ca167aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compass_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ca167aa

Please sign in to comment.