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