OCR for uploading document as a data source or knowledge source