@@ -244,28 +244,13 @@ def add(
244244 content: The content to extract and process into a document. This can be a URL to a
245245 website, a PDF, an image, or a video.
246246
247- Plaintext: Any plaintext format
248-
249- URL: A URL to a website, PDF, image, or video
250-
251- We automatically detect the content type from the url's response format.
252-
253- container_tag: Optional tag this document should be containerized by. This can be an ID for
254- your user, a project ID, or any other identifier you wish to use to group
255- documents.
256-
257- container_tags: (DEPRECATED: Use containerTag instead) Optional tags this document should be
258- containerized by. This can be an ID for your user, a project ID, or any other
259- identifier you wish to use to group documents.
247+ container_tag: Optional tag this document should be containerized by. Max 100 characters,
248+ alphanumeric with hyphens and underscores only.
260249
261- custom_id: Optional custom ID of the document. This could be an ID from your database that
262- will uniquely identify this document .
250+ custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
251+ hyphens and underscores only .
263252
264- metadata: Optional metadata for the document. This is used to store additional information
265- about the document. You can use this to store any additional information you
266- need about the document. Metadata can be filtered through. Keys must be strings
267- and are case sensitive. Values can be strings, numbers, or booleans. You cannot
268- nest objects.
253+ metadata: Optional metadata for the document.
269254
270255 extra_headers: Send extra headers
271256
@@ -612,28 +597,13 @@ async def add(
612597 content: The content to extract and process into a document. This can be a URL to a
613598 website, a PDF, an image, or a video.
614599
615- Plaintext: Any plaintext format
616-
617- URL: A URL to a website, PDF, image, or video
618-
619- We automatically detect the content type from the url's response format.
620-
621- container_tag: Optional tag this document should be containerized by. This can be an ID for
622- your user, a project ID, or any other identifier you wish to use to group
623- documents.
624-
625- container_tags: (DEPRECATED: Use containerTag instead) Optional tags this document should be
626- containerized by. This can be an ID for your user, a project ID, or any other
627- identifier you wish to use to group documents.
600+ container_tag: Optional tag this document should be containerized by. Max 100 characters,
601+ alphanumeric with hyphens and underscores only.
628602
629- custom_id: Optional custom ID of the document. This could be an ID from your database that
630- will uniquely identify this document .
603+ custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
604+ hyphens and underscores only .
631605
632- metadata: Optional metadata for the document. This is used to store additional information
633- about the document. You can use this to store any additional information you
634- need about the document. Metadata can be filtered through. Keys must be strings
635- and are case sensitive. Values can be strings, numbers, or booleans. You cannot
636- nest objects.
606+ metadata: Optional metadata for the document.
637607
638608 extra_headers: Send extra headers
639609
0 commit comments