smartdoc: auto classifier & extractor
Hi, I just want you to create some wireframes so that I want to build them through Tailwind and HTMX and also with backend FastAPI. So now I have this application like where I have the FastAPI implemented in like typically four APIs available like more available, but typically you have this OCR API and extraction API and classification API and also there will be a pipeline API. So user will, first user will try to, can use as them separately each API or else they can use pipeline strategy. So here I need the UI where a user can upload the document, any document like PDF, image like that. And then whenever he clicks the run OCR, it should also side by side, it should show the OCR document and the OCR output and same for classification document and this thing and same for extraction. Yeah, for extraction, we also might have set of keys based on the class selected. So there should be also a some class, classes drop down so that after uploading the document, they can select the classes and then it should show the side by side thing like first the document and next to that, this is the class, so these are the keys and these are the extracted values, something like that and the same values should be highlighted in the document. So this is the thing and with the pipeline, it should actually show the progress like extraction, OCR done, classification done, extraction done. So one side you can keep this original document and you can have it as this is the OCR output, this is the and this is the classification, this is the extraction output, so that we can go through all these things. So this is the basic idea so that you can improve on this like how you are thinking.