Unstructured-IO / unstructured-api

Apache License 2.0
528 stars 110 forks source link

Return just text (not json) #251

Closed mrahmadt closed 1 year ago

mrahmadt commented 1 year ago

Hi

I checked github and the documentation for a way to return the full text from any document (I don't need partitioning), and I couldn't find anyone mentioned a solution

I can loop through the json output and get the "text" attribute in my code but I thought to ask you if this is already available as an option in unstructured-api

awalker4 commented 1 year ago

Hi there, at the moment we don't have an option like this, so the solution you mentioned is probably your best bet.