From 3de93ba0d3f1ae6b7cfdf9c46f8a17fcbb885b08 Mon Sep 17 00:00:00 2001 From: Ryan Michael Date: Mon, 29 Jan 2024 10:14:26 -0500 Subject: [PATCH] Move docs --- dewy/documents/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dewy/documents/models.py b/dewy/documents/models.py index 04f7e97..539b73e 100644 --- a/dewy/documents/models.py +++ b/dewy/documents/models.py @@ -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):