Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Unstructured.IO API support #648

Merged
merged 4 commits into from
Nov 22, 2023
Merged

Unstructured.IO API support #648

merged 4 commits into from
Nov 22, 2023

Conversation

semirke
Copy link
Contributor

@semirke semirke commented Nov 21, 2023

Description

Added Unstructured.IO API support and extended the metadata from parsed elements.
Original functionality was reserved fully.

Fixes # (issue)

Type of Change

Please delete options that are not relevant.

  • Bug fix / Smaller change

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • I stared at the code and made sure it makes sense

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran make format; make lint to appease the lint gods - I did but they failed to run bc of missing deps :/ tried my best really.

András Otártics added 2 commits November 21, 2023 20:08
Added API support to UnstructuredReader and extended metadata.
Default behaviour is local. If url or api = True is passed, class
switche to parse through API.
Using requests Unconditional's docker install returned error code 400.
So stuck with native py api.
@EmanuelCampos
Copy link
Collaborator

@semirke can you fix the linting please?

@semirke
Copy link
Contributor Author

semirke commented Nov 22, 2023

Done :)

@EmanuelCampos EmanuelCampos merged commit 18b5167 into run-llama:main Nov 22, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants