Multimodal Chat with File using OCR > Introduction to Multimodal Chat with File using OCR recipe
Introduction to Multimodal Chat with File using OCR recipe
The Multimodal Chat with File using OCR agent extracts content from files, images, PDFs, and folders by leveraging optical character recognition (OCR) technology. This technology converts images of typed, handwritten, or printed text into machine-readable, editable, and searchable text data. You can query the extracted content through the Amazon Bedrock Claude LLM.
The agent prompts users to provide a file or folder path that contains documents for data extraction. It validates the provided paths before processing to ensure accurate data extraction. When a folder path is provided, the agent extracts data from all the files within the folder. When a file path is provided, the agent processes data from that individual file. This path validation avoids incorrect assumptions during data loading, ensuring reliable and precise extraction before enabling user queries through the Amazon Bedrock Claude LLM.
The agent supports data extraction from the following file formats: