langchain_community.document_loaders.unstructured
.get_elements_from_apiΒΆ
- langchain_community.document_loaders.unstructured.get_elements_from_api(file_path: Optional[Union[str, List[str]]] = None, file: Optional[Union[IO, Sequence[IO]]] = None, api_url: str = 'https://api.unstructured.io/general/v0/general', api_key: str = '', **unstructured_kwargs: Any) List [source]ΒΆ
Retrieve a list of elements from the Unstructured API.
- Parameters
file_path (Optional[Union[str, List[str]]]) β
file (Optional[Union[IO, Sequence[IO]]]) β
api_url (str) β
api_key (str) β
unstructured_kwargs (Any) β
- Return type
List