tensorlakeai / indexify

A realtime and indexing and structured extraction engine for Unstructured Data to build Generative AI Applications

Home Page:https://getindexify.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add error to return type of extractor

yenicelik opened this issue · comments

Extractors may (gracefully) fail. In these cases, they should probably return an error type.
If they don't return an error, we have two options:
(1) They return an empty object: In this case, it seems like the data has been processed, which would be false
(2) The extractor panics. In this case another set of extractors will retry extracting the initial data, in this case we will be busy for no reason.