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

@@ -1,10 +1,11 @@
import hashlib
try:
import unstructured # noqa: F401
from langchain_community.document_loaders import UnstructuredXMLLoader
except ImportError:
raise ImportError(
'XML file requires extra dependencies. Install with `pip install --upgrade "embedchain[dataloaders]"`'
'XML file requires extra dependencies. Install with `pip install "unstructured[local-inference, all-docs]"`'
) from None
from embedchain.helpers.json_serializable import register_deserializable
from embedchain.loaders.base_loader import BaseLoader