Библиотека / ИИ-агенты и ассистенты
ИИ-агенты и ассистенты
Extract doctor stamp details from images with AWS Bedrock Claude and SNS
When an API call/webhook arrives, it runs an AI agent with AWS Bedrock and Claude using AWS Bedrock, Aws Sns.
Что делает
# 🩺 Doctor Document Image Extraction Workflow ## Overview This workflow processes doctor-related document images and extracts structured information using AI-powered Vision OCR. The workflow: 1. Receives an extraction request through a Webhook. 2. Fetches the source image from File Management. 3. Resizes the image to a maximum of 800x800 pixels. 4. Sends the image to an AWS Bedrock Vision model. 5. Validates and extracts doctor/facility information using a structured prompt. 6. Parses the AI response into a predefined JSON structure. 7. Generates the final extraction response. 8. Encodes the response into Base64. 9. Publishes the result to AWS SNS for downstream processing. ## Supported Information Doctor: - Name - Qualifications - Speciality - Registration Number - Registration Council - Designation - Department - Mobile Number - Email - Landline Number Facility: - Hospital / Clinic name - Address - Email - Mobile Number - Landline Number - Website ## AI Extraction Rules The AI agent is instructed to: - Extract only information clearly visible in the image. - Never guess or hallucinate missing information. - Avoid extracting patient information. - Detect invalid/non-physical documents. - Avoid duplicate doctor records. - Preserve the original readable text as much as possible. ## AI Model AWS Bedrock Model: Claude Haiku ## Output The extracted JSON is converted to Base64 and published to AWS SNS for downstream processing. ## Error Handling Workflow errors are captured using an Error Trigger and published through the same downstream notification mechanism.
Шаги
- Webhook
- AI Agent
- Respond to Webhook
- Structured Output Parser
- Convert to Base64
- Generate Output
- Call Fetch File From File Management
- AWS SNS
- Error Trigger
- Edit Fields
- AWS SNS1
- Convert to Base
- Resize to 800x800 Max
- AWS Bedrock Chat Model
Похожие автоматизации
Отчёты, аналитика и дашбордыЕжедневная рассылка новостей AWS в Microsoft Teams с фильтрацией через Bedrock ClaudeШагов: 12Оповещения и уведомленияОтправка тестового сообщения через AWS SNSШагов: 2Синхронизация данных и ETLSend daily JLPT kanji-safe lessons to Microsoft Teams with Sheets and ClaudeШагов: 18Мониторинг, эксплуатация и инцидентыПолучение уведомлений о событиях AWS SNSШагов: 1