Reprocessing Documents


A common problem is the need to reprocess a set of documents.

You can perform this quickly and easily through the API

assistants = my_project.assistants.list()

for assistant in assistants:
    print(f"{assistant.id} {assistant.name}")

# Lets Identify that we want the last assistant to reprocess

# Simply go to each document and request it reprocess with the
# assistant

for company_10k in company_10k_store.query(page_size=1000).content: