unstructured
unstructured copied to clipboard
add read and combine json
For review.
read_and_combine_json
function is used in the "Multi-files API Processing" example in the documentation
I made a mistake. I believe the intent of the function was to return as a Iterable[dict[str, Any]]
. I can make this change.
Referencing the original documentation. The intent appears to have it return as Iterable[dict[str, Any]]
into dict_to_elements
. If it returned as just a list, the code might not work as intended.
combined_json_data = read_and_combine_json("Connector-Output/world-development-bank-2023")
elements = dict_to_elements(combined_json_data)
chunks = chunk_by_title(elements)
@preemware - Are you still working on this?