Skip to content

Commit

Permalink
Move docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kerinin committed Jan 29, 2024
1 parent 37767b4 commit 3de93ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dewy/documents/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@


class CreateRequest(BaseModel):
"""The name of the collection the document should be added to. Either `collection` or `collection_id` must be provided"""
collection: Optional[str] = None
"""The name of the collection the document should be added to. Either `collection` or `collection_id` must be provided"""

"""The id of the collection the document should be added to. Either `collection` or `collection_id` must be provided"""
collection_id: Optional[int] = None
"""The id of the collection the document should be added to. Either `collection` or `collection_id` must be provided"""

"""The URL of the document to add."""
url: str
"""The URL of the document to add."""


class IngestState(Enum):
Expand Down

0 comments on commit 3de93ba

Please sign in to comment.