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], Path, List[Path]]] = None, file: Optional[Union[IO[bytes], Sequence[IO[bytes]]]] = None, api_url: str = 'https://api.unstructuredapp.io/general/v0/general', api_key: str = '', **unstructured_kwargs: Any) List[Any][source]

Unstructured API检索元素列表。

参数
  • file_path (可选[Union[str, List[str], Path, List[Path]]]) –

  • file (可选[Union[IO[bytes], Sequence[IO[bytes]]]]) –

  • api_url (str) –

  • api_key (str) –

  • unstructured_kwargs (Any) –

返回类型

List[Any]