robocorp / rpaframework

Collection of open-source libraries and tools for Robotic Process Automation (RPA), designed to be used with both Robot Framework and Python
https://www.rpaframework.org/
Apache License 2.0
1.09k stars 210 forks source link

Add support for Textract Expense/Invoice analysis to RPA.Cloud.AWS library #769

Open Moellz opened 1 year ago

Moellz commented 1 year ago

Hi everyone, thank you for your great work with rpaframework and robocorp in general. I've started using the AWS library for Textract invoice analysis and am missing the possibility to use AnalyzeExpense instead of AnalyzeDocument. This would greatly simplify downstream processes of my invoice processing robot. The API call in the library would be a quick change, but the [ExpenseDocuments] object would have to be implemented to be able to return an expense document model.

As a Robocorp RPA developer I'd like to have an additional argument for the [Analyze Document] and [Start Document Analysis] keywords to choose the expense API. New keywords would also be okay.

Any feedback would be appreciated.

tonnitommi commented 1 year ago

Thanks for the feedback @Moellz!

@cmin764 this could be considered when adding AWS Textract as a supported engine under RPA.DocumentAI. Similar to using specific models from Google Document AI, it should be possible to use various prebuild models of the Textract.