Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / ИИ-агенты и ассистенты

ИИ-агенты и ассистенты

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.

Шаги

  1. Webhook
  2. AI Agent
  3. Respond to Webhook
  4. Structured Output Parser
  5. Convert to Base64
  6. Generate Output
  7. Call Fetch File From File Management
  8. AWS SNS
  9. Error Trigger
  10. Edit Fields
  11. AWS SNS1
  12. Convert to Base
  13. Resize to 800x800 Max
  14. AWS Bedrock Chat Model

Похожие автоматизации