Poetry fixes (#1382)

This commit is contained in:
Dev Khant
2024-06-06 23:11:46 +05:30
committed by GitHub
parent a4bfd9cfc6
commit b0e436d9c4
8 changed files with 2922 additions and 4049 deletions

View File

@@ -9,7 +9,14 @@ except ImportError:
) from None
from langchain_community.document_loaders import GoogleDriveLoader as Loader
from langchain_community.document_loaders import UnstructuredFileIOLoader
try:
import unstructured # noqa: F401
from langchain_community.document_loaders import UnstructuredFileIOLoader
except ImportError:
raise ImportError(
'Unstructured file requires extra dependencies. Install with `pip install "unstructured[local-inference, all-docs]"`' # noqa: E501
) from None
from embedchain.helpers.json_serializable import register_deserializable
from embedchain.loaders.base_loader import BaseLoader