unstructured-ingest 0.0.4__tar.gz → 0.0.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of unstructured-ingest might be problematic. Click here for more details.
- unstructured-ingest-0.0.5/LICENSE.md +201 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/PKG-INFO +3 -1
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/setup.py +1 -0
- unstructured-ingest-0.0.5/unstructured_ingest/__version__.py +1 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/pipeline.py +8 -1
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/__init__.py +6 -1
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/astradb.py +1 -4
- unstructured-ingest-0.0.5/unstructured_ingest/v2/processes/connectors/couchbase.py +333 -0
- unstructured-ingest-0.0.5/unstructured_ingest/v2/processes/connectors/kdbai.py +170 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/local.py +5 -2
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/pinecone.py +0 -2
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest.egg-info/PKG-INFO +3 -1
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest.egg-info/SOURCES.txt +2 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest.egg-info/requires.txt +272 -269
- unstructured-ingest-0.0.4/unstructured_ingest/__version__.py +0 -1
- unstructured-ingest-0.0.4/unstructured_ingest/v2/processes/connectors/couchbase.py +0 -151
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/README.md +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/pyproject.toml +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/setup.cfg +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/test/test_chunking_utils.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/test/test_error.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/test/test_interfaces.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/test/test_logger.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/test/test_utils.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/test/test_utils_v2.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/base/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/base/cmd.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/base/dest.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/base/src.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cli.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmd_factory.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/airtable.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/astradb.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/azure_cognitive_search.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/biomed.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/chroma.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/clarifai.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/confluence.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/databricks_volumes.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/delta_table.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/discord.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/elasticsearch.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/fsspec/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/fsspec/azure.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/fsspec/box.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/fsspec/dropbox.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/fsspec/fsspec.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/fsspec/gcs.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/fsspec/s3.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/fsspec/sftp.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/github.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/gitlab.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/google_drive.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/hubspot.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/jira.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/kafka.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/local.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/mongodb.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/notion.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/onedrive.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/opensearch.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/outlook.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/pinecone.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/qdrant.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/reddit.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/salesforce.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/sharepoint.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/slack.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/sql.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/vectara.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/weaviate.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/cmds/wikipedia.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/common.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/interfaces.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/cli/utils.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/airtable.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/astradb.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/azure_cognitive_search.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/biomed.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/chroma.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/clarifai.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/confluence.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/databricks_volumes.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/delta_table.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/discord.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/elasticsearch.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/fsspec/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/fsspec/azure.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/fsspec/box.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/fsspec/dropbox.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/fsspec/fsspec.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/fsspec/gcs.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/fsspec/s3.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/fsspec/sftp.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/git.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/github.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/gitlab.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/google_drive.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/hubspot.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/jira.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/kafka.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/local.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/mongodb.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/client.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/connector.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/helpers.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/interfaces.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/block.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/bookmark.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/breadcrumb.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/bulleted_list_item.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/callout.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/child_database.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/child_page.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/code.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/column_list.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/divider.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/embed.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/equation.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/file.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/heading.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/image.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/link_preview.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/link_to_page.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/numbered_list.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/paragraph.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/pdf.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/quote.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/synced_block.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/table.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/table_of_contents.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/template.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/todo.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/toggle.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/unsupported.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/blocks/video.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/checkbox.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/created_by.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/created_time.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/date.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/email.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/files.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/formula.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/last_edited_by.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/last_edited_time.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/multiselect.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/number.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/people.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/phone_number.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/relation.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/rich_text.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/rollup.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/select.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/status.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/title.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/unique_id.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/url.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/database_properties/verification.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/date.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/file.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/page.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/parent.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/rich_text.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/notion/types/user.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/onedrive.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/opensearch.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/outlook.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/pinecone.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/qdrant.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/reddit.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/registry.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/salesforce.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/sharepoint.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/slack.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/sql.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/vectara.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/weaviate.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/connector/wikipedia.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/enhanced_dataclass/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/enhanced_dataclass/core.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/enhanced_dataclass/dataclasses.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/enhanced_dataclass/json_mixin.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/error.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/evaluate.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/ingest_backoff/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/ingest_backoff/_common.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/ingest_backoff/_wrapper.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/interfaces.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/logger.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/main.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/copy.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/doc_factory.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/interfaces.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/partition.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/permissions.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/pipeline.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/reformat/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/reformat/chunking.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/reformat/embedding.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/source.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/utils.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/pipeline/write.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/processor.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/airtable.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/astradb.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/base_runner.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/biomed.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/confluence.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/delta_table.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/discord.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/elasticsearch.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/fsspec/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/fsspec/azure.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/fsspec/box.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/fsspec/dropbox.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/fsspec/fsspec.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/fsspec/gcs.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/fsspec/s3.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/fsspec/sftp.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/github.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/gitlab.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/google_drive.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/hubspot.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/jira.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/kafka.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/local.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/mongodb.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/notion.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/onedrive.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/opensearch.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/outlook.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/reddit.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/salesforce.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/sharepoint.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/slack.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/utils.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/wikipedia.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/astradb.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/azure_cognitive_search.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/base_writer.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/chroma.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/clarifai.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/databricks_volumes.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/delta_table.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/elasticsearch.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/fsspec/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/fsspec/azure.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/fsspec/box.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/fsspec/dropbox.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/fsspec/gcs.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/fsspec/s3.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/kafka.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/mongodb.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/opensearch.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/pinecone.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/qdrant.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/sql.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/vectara.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/runner/writers/weaviate.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/utils/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/utils/chunking.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/utils/compression.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/utils/data_prep.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/utils/dep_check.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/utils/google_filetype.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/utils/string_and_date_utils.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/utils/table.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/base/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/base/cmd.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/base/dest.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/base/importer.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/base/src.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/cli.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/cmds.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/utils/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/utils/click.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/cli/utils/model_conversion.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/example.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/interfaces/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/interfaces/connector.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/interfaces/downloader.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/interfaces/file_data.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/interfaces/indexer.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/interfaces/process.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/interfaces/processor.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/interfaces/upload_stager.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/interfaces/uploader.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/logger.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/main.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/interfaces.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/steps/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/steps/chunk.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/steps/download.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/steps/embed.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/steps/filter.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/steps/index.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/steps/partition.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/steps/stage.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/steps/uncompress.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/steps/upload.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/chunker.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connector_registry.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/azure_cognitive_search.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/chroma.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/databricks_volumes.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/elasticsearch.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/fsspec/__init__.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/fsspec/azure.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/fsspec/box.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/fsspec/dropbox.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/fsspec/fsspec.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/fsspec/gcs.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/fsspec/s3.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/fsspec/sftp.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/fsspec/utils.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/google_drive.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/milvus.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/mongodb.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/onedrive.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/opensearch.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/salesforce.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/sharepoint.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/singlestore.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/sql.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/utils.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/connectors/weaviate.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/embedder.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/filter.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/partitioner.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/processes/uncompress.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/utils.py +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest.egg-info/dependency_links.txt +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest.egg-info/entry_points.txt +0 -0
- {unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2022 Unstructured Technologies, Inc
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: unstructured-ingest
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.5
|
|
4
4
|
Summary: A library that prepares raw documents for downstream ML tasks.
|
|
5
5
|
Home-page: https://github.com/Unstructured-IO/unstructured-ingest
|
|
6
6
|
Author: Unstructured Technologies
|
|
@@ -58,6 +58,7 @@ Provides-Extra: google-drive
|
|
|
58
58
|
Provides-Extra: hubspot
|
|
59
59
|
Provides-Extra: jira
|
|
60
60
|
Provides-Extra: kafka
|
|
61
|
+
Provides-Extra: kdbai
|
|
61
62
|
Provides-Extra: milvus
|
|
62
63
|
Provides-Extra: mongodb
|
|
63
64
|
Provides-Extra: notion
|
|
@@ -84,6 +85,7 @@ Provides-Extra: embed-vertexai
|
|
|
84
85
|
Provides-Extra: embed-voyageai
|
|
85
86
|
Provides-Extra: openai
|
|
86
87
|
Provides-Extra: bedrock
|
|
88
|
+
License-File: LICENSE.md
|
|
87
89
|
|
|
88
90
|
# Unstructured Ingest
|
|
89
91
|
|
|
@@ -103,6 +103,7 @@ connectors_reqs = {
|
|
|
103
103
|
"hubspot": load_requirements("requirements/connectors/hubspot.in"),
|
|
104
104
|
"jira": load_requirements("requirements/connectors/jira.in"),
|
|
105
105
|
"kafka": load_requirements("requirements/connectors/kafka.in"),
|
|
106
|
+
"kdbai": load_requirements("requirements/connectors/kdbai.in"),
|
|
106
107
|
"milvus": load_requirements("requirements/connectors/milvus.in"),
|
|
107
108
|
"mongodb": load_requirements("requirements/connectors/mongodb.in"),
|
|
108
109
|
"notion": load_requirements("requirements/connectors/notion.in"),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.0.5" # pragma: no cover
|
{unstructured-ingest-0.0.4 → unstructured-ingest-0.0.5}/unstructured_ingest/v2/pipeline/pipeline.py
RENAMED
|
@@ -188,22 +188,26 @@ class Pipeline:
|
|
|
188
188
|
indices = self.indexer_step.run()
|
|
189
189
|
indices_inputs = [{"file_data_path": i} for i in indices]
|
|
190
190
|
if not indices_inputs:
|
|
191
|
+
logger.info("No files to process after indexer, exiting")
|
|
191
192
|
return
|
|
192
193
|
|
|
193
194
|
# Initial filtering on indexed content
|
|
194
195
|
indices_inputs = self.apply_filter(records=indices_inputs)
|
|
195
196
|
if not indices_inputs:
|
|
197
|
+
logger.info("No files to process after filtering indexed content, exiting")
|
|
196
198
|
return
|
|
197
199
|
|
|
198
200
|
# Download associated content to local file system
|
|
199
201
|
downloaded_data = self.downloader_step(indices_inputs)
|
|
200
202
|
downloaded_data = self.clean_results(results=downloaded_data)
|
|
201
203
|
if not downloaded_data:
|
|
204
|
+
logger.info("No files to process after downloader, exiting")
|
|
202
205
|
return
|
|
203
206
|
|
|
204
207
|
# Post download filtering
|
|
205
208
|
downloaded_data = self.apply_filter(records=downloaded_data)
|
|
206
209
|
if not downloaded_data:
|
|
210
|
+
logger.info("No files to process after filtering downloaded content, exiting")
|
|
207
211
|
return
|
|
208
212
|
|
|
209
213
|
# Run uncompress if available
|
|
@@ -215,6 +219,7 @@ class Pipeline:
|
|
|
215
219
|
# Post uncompress filtering
|
|
216
220
|
downloaded_data = self.apply_filter(records=downloaded_data)
|
|
217
221
|
if not downloaded_data:
|
|
222
|
+
logger.info("No files to process after filtering uncompressed content, exiting")
|
|
218
223
|
return
|
|
219
224
|
|
|
220
225
|
if not downloaded_data:
|
|
@@ -224,6 +229,7 @@ class Pipeline:
|
|
|
224
229
|
elements = self.partitioner_step(downloaded_data)
|
|
225
230
|
elements = self.clean_results(results=elements)
|
|
226
231
|
if not elements:
|
|
232
|
+
logger.info("No files to process after partitioning, exiting")
|
|
227
233
|
return
|
|
228
234
|
|
|
229
235
|
# Run element specific modifiers
|
|
@@ -231,6 +237,7 @@ class Pipeline:
|
|
|
231
237
|
elements = step(elements) if step else elements
|
|
232
238
|
elements = self.clean_results(results=elements)
|
|
233
239
|
if not elements:
|
|
240
|
+
logger.info(f"No files to process after {step.__class__.__name__}, exiting")
|
|
234
241
|
return
|
|
235
242
|
|
|
236
243
|
# Upload the final result
|
|
@@ -333,7 +340,7 @@ class Pipeline:
|
|
|
333
340
|
)
|
|
334
341
|
if len(destination_entry) != 1:
|
|
335
342
|
raise ValueError(
|
|
336
|
-
"no entry found in
|
|
343
|
+
"no entry found in destination registry with matching uploader, "
|
|
337
344
|
"stager and connection configs"
|
|
338
345
|
)
|
|
339
346
|
|
|
@@ -13,13 +13,15 @@ from .azure_cognitive_search import azure_cognitive_search_destination_entry
|
|
|
13
13
|
from .chroma import CONNECTOR_TYPE as CHROMA_CONNECTOR_TYPE
|
|
14
14
|
from .chroma import chroma_destination_entry
|
|
15
15
|
from .couchbase import CONNECTOR_TYPE as COUCHBASE_CONNECTOR_TYPE
|
|
16
|
-
from .couchbase import couchbase_destination_entry
|
|
16
|
+
from .couchbase import couchbase_destination_entry, couchbase_source_entry
|
|
17
17
|
from .databricks_volumes import CONNECTOR_TYPE as DATABRICKS_VOLUMES_CONNECTOR_TYPE
|
|
18
18
|
from .databricks_volumes import databricks_volumes_destination_entry
|
|
19
19
|
from .elasticsearch import CONNECTOR_TYPE as ELASTICSEARCH_CONNECTOR_TYPE
|
|
20
20
|
from .elasticsearch import elasticsearch_destination_entry, elasticsearch_source_entry
|
|
21
21
|
from .google_drive import CONNECTOR_TYPE as GOOGLE_DRIVE_CONNECTOR_TYPE
|
|
22
22
|
from .google_drive import google_drive_source_entry
|
|
23
|
+
from .kdbai import CONNECTOR_TYPE as KDBAI_CONNECTOR_TYPE
|
|
24
|
+
from .kdbai import kdbai_destination_entry
|
|
23
25
|
from .local import CONNECTOR_TYPE as LOCAL_CONNECTOR_TYPE
|
|
24
26
|
from .local import local_destination_entry, local_source_entry
|
|
25
27
|
from .milvus import CONNECTOR_TYPE as MILVUS_CONNECTOR_TYPE
|
|
@@ -47,6 +49,7 @@ add_destination_entry(destination_type=ASTRA_DB_CONNECTOR_TYPE, entry=astra_db_d
|
|
|
47
49
|
|
|
48
50
|
add_destination_entry(destination_type=CHROMA_CONNECTOR_TYPE, entry=chroma_destination_entry)
|
|
49
51
|
|
|
52
|
+
add_source_entry(source_type=COUCHBASE_CONNECTOR_TYPE, entry=couchbase_source_entry)
|
|
50
53
|
add_destination_entry(destination_type=COUCHBASE_CONNECTOR_TYPE, entry=couchbase_destination_entry)
|
|
51
54
|
|
|
52
55
|
add_source_entry(source_type=ELASTICSEARCH_CONNECTOR_TYPE, entry=elasticsearch_source_entry)
|
|
@@ -87,3 +90,5 @@ add_destination_entry(
|
|
|
87
90
|
destination_type=AZURE_COGNTIVE_SEARCH_CONNECTOR_TYPE,
|
|
88
91
|
entry=azure_cognitive_search_destination_entry,
|
|
89
92
|
)
|
|
93
|
+
|
|
94
|
+
add_destination_entry(destination_type=KDBAI_CONNECTOR_TYPE, entry=kdbai_destination_entry)
|
|
@@ -31,19 +31,16 @@ if TYPE_CHECKING:
|
|
|
31
31
|
CONNECTOR_TYPE = "astradb"
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
@dataclass
|
|
35
34
|
class AstraDBAccessConfig(AccessConfig):
|
|
36
35
|
token: str = Field(description="Astra DB Token with access to the database.")
|
|
37
36
|
api_endpoint: str = Field(description="The API endpoint for the Astra DB.")
|
|
38
37
|
|
|
39
38
|
|
|
40
|
-
@dataclass
|
|
41
39
|
class AstraDBConnectionConfig(ConnectionConfig):
|
|
42
|
-
connection_type: str = CONNECTOR_TYPE
|
|
40
|
+
connection_type: str = Field(default=CONNECTOR_TYPE, init=False)
|
|
43
41
|
access_config: Secret[AstraDBAccessConfig]
|
|
44
42
|
|
|
45
43
|
|
|
46
|
-
@dataclass
|
|
47
44
|
class AstraDBUploadStagerConfig(UploadStagerConfig):
|
|
48
45
|
pass
|
|
49
46
|
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import hashlib
|
|
2
|
+
import json
|
|
3
|
+
import sys
|
|
4
|
+
import time
|
|
5
|
+
from dataclasses import dataclass, field
|
|
6
|
+
from datetime import timedelta
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
from typing import TYPE_CHECKING, Any, Generator, List
|
|
9
|
+
|
|
10
|
+
from pydantic import Field, Secret
|
|
11
|
+
|
|
12
|
+
from unstructured_ingest.error import (
|
|
13
|
+
DestinationConnectionError,
|
|
14
|
+
SourceConnectionError,
|
|
15
|
+
SourceConnectionNetworkError,
|
|
16
|
+
)
|
|
17
|
+
from unstructured_ingest.utils.data_prep import batch_generator, flatten_dict
|
|
18
|
+
from unstructured_ingest.utils.dep_check import requires_dependencies
|
|
19
|
+
from unstructured_ingest.v2.interfaces import (
|
|
20
|
+
AccessConfig,
|
|
21
|
+
ConnectionConfig,
|
|
22
|
+
Downloader,
|
|
23
|
+
DownloaderConfig,
|
|
24
|
+
DownloadResponse,
|
|
25
|
+
FileData,
|
|
26
|
+
FileDataSourceMetadata,
|
|
27
|
+
Indexer,
|
|
28
|
+
IndexerConfig,
|
|
29
|
+
UploadContent,
|
|
30
|
+
Uploader,
|
|
31
|
+
UploaderConfig,
|
|
32
|
+
UploadStager,
|
|
33
|
+
UploadStagerConfig,
|
|
34
|
+
download_responses,
|
|
35
|
+
)
|
|
36
|
+
from unstructured_ingest.v2.logger import logger
|
|
37
|
+
from unstructured_ingest.v2.processes.connector_registry import (
|
|
38
|
+
DestinationRegistryEntry,
|
|
39
|
+
SourceRegistryEntry,
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
if TYPE_CHECKING:
|
|
43
|
+
from couchbase.cluster import Cluster
|
|
44
|
+
|
|
45
|
+
CONNECTOR_TYPE = "couchbase"
|
|
46
|
+
SERVER_API_VERSION = "1"
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class CouchbaseAccessConfig(AccessConfig):
|
|
50
|
+
password: str = Field(description="The password for the Couchbase server")
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class CouchbaseConnectionConfig(ConnectionConfig):
|
|
54
|
+
username: str = Field(description="The username for the Couchbase server")
|
|
55
|
+
bucket: str = Field(description="The bucket to connect to on the Couchbase server")
|
|
56
|
+
connection_string: str = Field(
|
|
57
|
+
default="couchbase://localhost", description="The connection string of the Couchbase server"
|
|
58
|
+
)
|
|
59
|
+
scope: str = Field(
|
|
60
|
+
default="_default", description="The scope to connect to on the Couchbase server"
|
|
61
|
+
)
|
|
62
|
+
collection: str = Field(
|
|
63
|
+
default="_default", description="The collection to connect to on the Couchbase server"
|
|
64
|
+
)
|
|
65
|
+
connector_type: str = Field(default=CONNECTOR_TYPE, init=False)
|
|
66
|
+
access_config: Secret[CouchbaseAccessConfig]
|
|
67
|
+
|
|
68
|
+
@requires_dependencies(["couchbase"], extras="couchbase")
|
|
69
|
+
def connect_to_couchbase(self) -> "Cluster":
|
|
70
|
+
from couchbase.auth import PasswordAuthenticator
|
|
71
|
+
from couchbase.cluster import Cluster
|
|
72
|
+
from couchbase.options import ClusterOptions
|
|
73
|
+
|
|
74
|
+
auth = PasswordAuthenticator(self.username, self.access_config.get_secret_value().password)
|
|
75
|
+
options = ClusterOptions(auth)
|
|
76
|
+
options.apply_profile("wan_development")
|
|
77
|
+
cluster = Cluster(self.connection_string, options)
|
|
78
|
+
cluster.wait_until_ready(timedelta(seconds=5))
|
|
79
|
+
return cluster
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class CouchbaseUploadStagerConfig(UploadStagerConfig):
|
|
83
|
+
pass
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
@dataclass
|
|
87
|
+
class CouchbaseUploadStager(UploadStager):
|
|
88
|
+
upload_stager_config: CouchbaseUploadStagerConfig = field(
|
|
89
|
+
default_factory=lambda: CouchbaseUploadStagerConfig()
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
def run(
|
|
93
|
+
self,
|
|
94
|
+
elements_filepath: Path,
|
|
95
|
+
output_dir: Path,
|
|
96
|
+
output_filename: str,
|
|
97
|
+
**kwargs: Any,
|
|
98
|
+
) -> Path:
|
|
99
|
+
with open(elements_filepath) as elements_file:
|
|
100
|
+
elements_contents = json.load(elements_file)
|
|
101
|
+
|
|
102
|
+
output_elements = []
|
|
103
|
+
for element in elements_contents:
|
|
104
|
+
new_doc = {
|
|
105
|
+
element["element_id"]: {
|
|
106
|
+
"embedding": element.get("embeddings", None),
|
|
107
|
+
"text": element.get("text", None),
|
|
108
|
+
"metadata": element.get("metadata", None),
|
|
109
|
+
"type": element.get("type", None),
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
output_elements.append(new_doc)
|
|
113
|
+
|
|
114
|
+
output_path = Path(output_dir) / Path(f"{output_filename}.json")
|
|
115
|
+
with open(output_path, "w") as output_file:
|
|
116
|
+
json.dump(output_elements, output_file)
|
|
117
|
+
return output_path
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class CouchbaseUploaderConfig(UploaderConfig):
|
|
121
|
+
batch_size: int = Field(default=50, description="Number of documents to upload per batch")
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
@dataclass
|
|
125
|
+
class CouchbaseUploader(Uploader):
|
|
126
|
+
connection_config: CouchbaseConnectionConfig
|
|
127
|
+
upload_config: CouchbaseUploaderConfig
|
|
128
|
+
connector_type: str = CONNECTOR_TYPE
|
|
129
|
+
|
|
130
|
+
def precheck(self) -> None:
|
|
131
|
+
try:
|
|
132
|
+
self.connection_config.connect_to_couchbase()
|
|
133
|
+
except Exception as e:
|
|
134
|
+
logger.error(f"Failed to validate connection {e}", exc_info=True)
|
|
135
|
+
raise DestinationConnectionError(f"failed to validate connection: {e}")
|
|
136
|
+
|
|
137
|
+
def run(self, contents: list[UploadContent], **kwargs: Any) -> None:
|
|
138
|
+
elements = []
|
|
139
|
+
for content in contents:
|
|
140
|
+
with open(content.path) as elements_file:
|
|
141
|
+
elements.extend(json.load(elements_file))
|
|
142
|
+
|
|
143
|
+
logger.info(
|
|
144
|
+
f"writing {len(elements)} objects to destination "
|
|
145
|
+
f"bucket, {self.connection_config.bucket} "
|
|
146
|
+
f"at {self.connection_config.connection_string}",
|
|
147
|
+
)
|
|
148
|
+
cluster = self.connection_config.connect_to_couchbase()
|
|
149
|
+
bucket = cluster.bucket(self.connection_config.bucket)
|
|
150
|
+
scope = bucket.scope(self.connection_config.scope)
|
|
151
|
+
collection = scope.collection(self.connection_config.collection)
|
|
152
|
+
|
|
153
|
+
for chunk in batch_generator(elements, self.upload_config.batch_size):
|
|
154
|
+
collection.upsert_multi({doc_id: doc for doc in chunk for doc_id, doc in doc.items()})
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
class CouchbaseIndexerConfig(IndexerConfig):
|
|
158
|
+
batch_size: int = Field(default=50, description="Number of documents to index per batch")
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
@dataclass
|
|
162
|
+
class CouchbaseIndexer(Indexer):
|
|
163
|
+
connection_config: CouchbaseConnectionConfig
|
|
164
|
+
index_config: CouchbaseIndexerConfig
|
|
165
|
+
connector_type: str = CONNECTOR_TYPE
|
|
166
|
+
|
|
167
|
+
def precheck(self) -> None:
|
|
168
|
+
try:
|
|
169
|
+
self.connection_config.connect_to_couchbase()
|
|
170
|
+
except Exception as e:
|
|
171
|
+
logger.error(f"Failed to validate connection {e}", exc_info=True)
|
|
172
|
+
raise DestinationConnectionError(f"failed to validate connection: {e}")
|
|
173
|
+
|
|
174
|
+
@requires_dependencies(["couchbase"], extras="couchbase")
|
|
175
|
+
def _get_doc_ids(self) -> List[str]:
|
|
176
|
+
query = (
|
|
177
|
+
f"SELECT META(d).id "
|
|
178
|
+
f"FROM `{self.connection_config.bucket}`."
|
|
179
|
+
f"`{self.connection_config.scope}`."
|
|
180
|
+
f"`{self.connection_config.collection}` as d"
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
max_attempts = 5
|
|
184
|
+
attempts = 0
|
|
185
|
+
while attempts < max_attempts:
|
|
186
|
+
try:
|
|
187
|
+
cluster = self.connection_config.connect_to_couchbase()
|
|
188
|
+
result = cluster.query(query)
|
|
189
|
+
document_ids = [row["id"] for row in result]
|
|
190
|
+
return document_ids
|
|
191
|
+
except Exception as e:
|
|
192
|
+
attempts += 1
|
|
193
|
+
time.sleep(3)
|
|
194
|
+
if attempts == max_attempts:
|
|
195
|
+
raise SourceConnectionError(f"failed to get document ids: {e}")
|
|
196
|
+
|
|
197
|
+
def run(self, **kwargs: Any) -> Generator[FileData, None, None]:
|
|
198
|
+
ids = self._get_doc_ids()
|
|
199
|
+
|
|
200
|
+
id_batches = [
|
|
201
|
+
ids[i * self.index_config.batch_size : (i + 1) * self.index_config.batch_size]
|
|
202
|
+
for i in range(
|
|
203
|
+
(len(ids) + self.index_config.batch_size - 1) // self.index_config.batch_size
|
|
204
|
+
)
|
|
205
|
+
]
|
|
206
|
+
for batch in id_batches:
|
|
207
|
+
# Make sure the hash is always a positive number to create identified
|
|
208
|
+
identified = str(hash(tuple(batch)) + sys.maxsize + 1)
|
|
209
|
+
yield FileData(
|
|
210
|
+
identifier=identified,
|
|
211
|
+
connector_type=CONNECTOR_TYPE,
|
|
212
|
+
metadata=FileDataSourceMetadata(
|
|
213
|
+
url=f"{self.connection_config.connection_string}/"
|
|
214
|
+
f"{self.connection_config.bucket}",
|
|
215
|
+
date_processed=str(time.time()),
|
|
216
|
+
),
|
|
217
|
+
additional_metadata={
|
|
218
|
+
"ids": list(batch),
|
|
219
|
+
"bucket": self.connection_config.bucket,
|
|
220
|
+
},
|
|
221
|
+
)
|
|
222
|
+
|
|
223
|
+
|
|
224
|
+
class CouchbaseDownloaderConfig(DownloaderConfig):
|
|
225
|
+
fields: list[str] = field(default_factory=list)
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
@dataclass
|
|
229
|
+
class CouchbaseDownloader(Downloader):
|
|
230
|
+
connection_config: CouchbaseConnectionConfig
|
|
231
|
+
download_config: CouchbaseDownloaderConfig
|
|
232
|
+
connector_type: str = CONNECTOR_TYPE
|
|
233
|
+
|
|
234
|
+
def is_async(self) -> bool:
|
|
235
|
+
return False
|
|
236
|
+
|
|
237
|
+
def get_identifier(self, bucket: str, record_id: str) -> str:
|
|
238
|
+
f = f"{bucket}-{record_id}"
|
|
239
|
+
if self.download_config.fields:
|
|
240
|
+
f = "{}-{}".format(
|
|
241
|
+
f,
|
|
242
|
+
hashlib.sha256(",".join(self.download_config.fields).encode()).hexdigest()[:8],
|
|
243
|
+
)
|
|
244
|
+
return f
|
|
245
|
+
|
|
246
|
+
def map_cb_results(self, cb_results: dict) -> str:
|
|
247
|
+
doc_body = cb_results
|
|
248
|
+
flattened_dict = flatten_dict(dictionary=doc_body)
|
|
249
|
+
str_values = [str(value) for value in flattened_dict.values()]
|
|
250
|
+
concatenated_values = "\n".join(str_values)
|
|
251
|
+
return concatenated_values
|
|
252
|
+
|
|
253
|
+
def generate_download_response(
|
|
254
|
+
self, result: dict, bucket: str, file_data: FileData
|
|
255
|
+
) -> DownloadResponse:
|
|
256
|
+
record_id = result["id"]
|
|
257
|
+
filename_id = self.get_identifier(bucket=bucket, record_id=record_id)
|
|
258
|
+
filename = f"{filename_id}.txt"
|
|
259
|
+
download_path = self.download_dir / Path(filename)
|
|
260
|
+
logger.debug(
|
|
261
|
+
f"Downloading results from bucket {bucket} and id {record_id} to {download_path}"
|
|
262
|
+
)
|
|
263
|
+
download_path.parent.mkdir(parents=True, exist_ok=True)
|
|
264
|
+
try:
|
|
265
|
+
with open(download_path, "w", encoding="utf8") as f:
|
|
266
|
+
f.write(self.map_cb_results(cb_results=result))
|
|
267
|
+
except Exception as e:
|
|
268
|
+
logger.error(
|
|
269
|
+
f"failed to download from bucket {bucket} "
|
|
270
|
+
f"and id {record_id} to {download_path}: {e}",
|
|
271
|
+
exc_info=True,
|
|
272
|
+
)
|
|
273
|
+
raise SourceConnectionNetworkError(f"failed to download file {file_data.identifier}")
|
|
274
|
+
return DownloadResponse(
|
|
275
|
+
file_data=FileData(
|
|
276
|
+
identifier=filename_id,
|
|
277
|
+
connector_type=CONNECTOR_TYPE,
|
|
278
|
+
metadata=FileDataSourceMetadata(
|
|
279
|
+
version=None,
|
|
280
|
+
date_processed=str(time.time()),
|
|
281
|
+
record_locator={
|
|
282
|
+
"connection_string": self.connection_config.connection_string,
|
|
283
|
+
"bucket": bucket,
|
|
284
|
+
"scope": self.connection_config.scope,
|
|
285
|
+
"collection": self.connection_config.collection,
|
|
286
|
+
"document_id": record_id,
|
|
287
|
+
},
|
|
288
|
+
),
|
|
289
|
+
),
|
|
290
|
+
path=download_path,
|
|
291
|
+
)
|
|
292
|
+
|
|
293
|
+
def run(self, file_data: FileData, **kwargs: Any) -> download_responses:
|
|
294
|
+
bucket_name: str = file_data.additional_metadata["bucket"]
|
|
295
|
+
ids: list[str] = file_data.additional_metadata["ids"]
|
|
296
|
+
|
|
297
|
+
cluster = self.connection_config.connect_to_couchbase()
|
|
298
|
+
bucket = cluster.bucket(bucket_name)
|
|
299
|
+
scope = bucket.scope(self.connection_config.scope)
|
|
300
|
+
collection = scope.collection(self.connection_config.collection)
|
|
301
|
+
|
|
302
|
+
download_resp = self.process_all_doc_ids(ids, collection, bucket_name, file_data)
|
|
303
|
+
return list(download_resp)
|
|
304
|
+
|
|
305
|
+
def process_doc_id(self, doc_id, collection, bucket_name, file_data):
|
|
306
|
+
result = collection.get(doc_id)
|
|
307
|
+
return self.generate_download_response(
|
|
308
|
+
result=result.content_as[dict], bucket=bucket_name, file_data=file_data
|
|
309
|
+
)
|
|
310
|
+
|
|
311
|
+
def process_all_doc_ids(self, ids, collection, bucket_name, file_data):
|
|
312
|
+
for doc_id in ids:
|
|
313
|
+
yield self.process_doc_id(doc_id, collection, bucket_name, file_data)
|
|
314
|
+
|
|
315
|
+
async def run_async(self, file_data: FileData, **kwargs: Any) -> download_responses:
|
|
316
|
+
raise NotImplementedError()
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
couchbase_destination_entry = DestinationRegistryEntry(
|
|
320
|
+
connection_config=CouchbaseConnectionConfig,
|
|
321
|
+
uploader=CouchbaseUploader,
|
|
322
|
+
uploader_config=CouchbaseUploaderConfig,
|
|
323
|
+
upload_stager=CouchbaseUploadStager,
|
|
324
|
+
upload_stager_config=CouchbaseUploadStagerConfig,
|
|
325
|
+
)
|
|
326
|
+
|
|
327
|
+
couchbase_source_entry = SourceRegistryEntry(
|
|
328
|
+
connection_config=CouchbaseConnectionConfig,
|
|
329
|
+
indexer=CouchbaseIndexer,
|
|
330
|
+
indexer_config=CouchbaseIndexerConfig,
|
|
331
|
+
downloader=CouchbaseDownloader,
|
|
332
|
+
downloader_config=CouchbaseDownloaderConfig,
|
|
333
|
+
)
|