Category
Case Studies
Written by
Kamran Adil
CEO

Inclusive+ Case Study: AI-Powered Healthcare Matching with AWS Bedrock

AUG 25 2024   -   8 MIN READ
Jun 2, 2025
-
8 MIN READ

Executive Summary

Inclusive+ aimed to elevate its culturally sensitive healthcare directory by developing an intelligent, AI-driven provider matching system. Leveraging Amazon Bedrock alongside a suite of AWS services, the platform delivers personalized, inclusive, and conversational search experiences tailored to diverse user needs. This end-to-end solution ensures low latency and high-accuracy recommendations while adhering rigorously to AWS security and compliance best practices.

Challenges

  • Limited Personalization: The original directory search lacked tailored results, leading to generic recommendations.
  • Missing Conversational Flow: Users couldn’t ask clarifying questions or refine their preferences interactively.
  • High Sensitivity: Working with LGBTQIA+ health data required robust security and cultural sensitivity.
  • Data Management: Integrating real-time user data with historical provider data required scalable, resilient data pipelines.

Scope of the Project

The project covered the end-to-end design, implementation, and operationalization of an AI-powered, culturally sensitive provider matching system for Inclusive+. It involved assessing platform limitations, creating a scalable, serverless AWS architecture (using Bedrock, Lambda, API Gateway, SQS, RDS, OpenSearch, Glue, and AWS security services), and integrating Retrieval-Augmented Generation (RAG) for real-time, inclusive recommendations. Key activities included developing conversational search flows with prompt engineering, building automated data pipelines for continuous data accuracy, and implementing real-time monitoring and security best practices such as KMS encryption, IAM least-privilege access, and Bedrock Guardrails. The project concluded with delivering a comprehensive runbook and knowledge transfer to enable the Inclusive+ team to confidently maintain and scale the solution, ensuring inclusivity and continuous improvement.

Partner Solution

We designed a fully serverless, secure AWS-native architecture leveraging Amazon Bedrock, Lambda, API Gateway, SQS, RDS, OpenSearch, and Glue. By combining Retrieval-Augmented Generation (RAG) with advanced prompt engineering and Bedrock’s generative AI, we created a conversational search experience that is culturally competent and inclusive. Data pipelines powered by Glue ensure fresh, accurate provider data, while monitoring and observability layers (CloudWatch, CloudTrail) ensure operational excellence.

Solution Architecture Diagram

Our Solution

  • User Authentication & Access
    • Amazon Cognito authenticates users securely, managing user identity and access to the personalized search experience.
    • IAM roles enforce least-privilege access across all AWS services, maintaining strict security and governance.
  • API Orchestration & Event-Driven Compute
    • Amazon API Gateway acts as the secure entry point for user requests from the frontend, validating the identity token from Cognito and routing requests to AWS Lambda functions that orchestrate provider search and recommendation workflows.
    • AWS Lambda(Initial Invocation) is responsible for initial request handling, where it validates the input, sends the query to Amazon SQS for async processing, and optionally calls Amazon Personalize to prefetch user recommendations.
    • AWS Lambda (Bedrock Invocation) : This Lambda worker consumes messages from SQS, retrieves relevant provider data, and dynamically builds prompts that are sent to Amazon Bedrock Agents to generate a conversational and personalized provider response for the user.
    • Amazon SQS decouples tasks, buffering search and enrichment workloads to ensure reliable scaling and fault-tolerant message processing, with downstream Lambda functions polling the queue to process provider matching jobs in parallel.
  • Data Storage & Enrichment
    • Amazon RDS (Provider Mapping ): Hosts structured provider profiles including identifiers, qualifications, and tags, serving as a source-of-truth that feeds into the Glue-based ETL pipeline and supports accurate retrieval and provider data linking.
    • Amazon OpenSearch Service (Offers Index) : Indexes structured provider data such as specialties, inclusive practices, and locations, enabling real-time filtered search results that can be embedded into prompts or used directly for matching logic.
    • Amazon S3 : Acts as a durable and scalable storage layer for unstructured provider data such as bios, documents, and metadata, which are accessed by AWS Glue for ETL processing and may be referenced in Bedrock responses or OpenSearch indexes.
    • AWS Glue : Extracts and transforms provider data from S3 and RDS, formats and chunks it for embedding and indexing, and catalogs it for querying, with outputs feeding directly into Bedrock Knowledge Bases and OpenSearch indexes to ensure GenAI is operating on fresh, clean data.
  • Generative AI & Personalization
    • Amazon Bedrock : Stores indexed provider information in a Knowledge Base, processes natural language queries using Bedrock Agents, and enforces safety and inclusivity via Guardrails to ensure the AI responses are accurate, empathetic, and aligned with LGBTQIA+ values.
    • Prompt engineering ensures that every response is contextually relevant and reflects the nuances of LGBTQIA+ healthcare needs.
    • Retrieval-Augmented Generation (RAG) integrates real-time data from RDS and OpenSearch into Bedrock prompts, delivering dynamic, inclusive recommendations.
    • Amazon Personalize (Provider Segmentation) : Analyzes user behavior and historical data to provide tailored provider recommendations, which are combined with GenAI results to further personalize suggestions based on click patterns, preferences, and feedback.
  • Monitoring, Observability, and Security
    • Amazon CloudWatch continuously tracks system performance, including Lambda errors, API latencies, and SQS queue depth, to ensure system health and reliability. It captures logs, metrics, and alarms across all services providing full observability, error tracking, and performance insights.
    • AWS CloudTrail logs all API activity for auditing and compliance purposes, ensuring a full record of interactions and changes.
    • KMS encryption secures data at rest across RDS, OpenSearch, and S3, while TLS encryption ensures data in transit remains protected.
    • Bedrock Guardrails provide an additional layer of protection, filtering out unsafe, biased, or culturally insensitive outputs to maintain trust and inclusivity.

Benefits

  • Personalized Matching: Tailored recommendations aligned with user preferences and cultural needs.
  • Conversational Flow: Interactive, inclusive conversations that guide users to the right care.
  • Operational Efficiency: Serverless components (Lambda, API Gateway) ensure low latency and cost efficiency.
  • Resilient Data Flows: Automated Glue pipelines and robust monitoring prevent data gaps or mismatches.
  • Security & Compliance: KMS encryption, IAM best practices, and Bedrock Guardrails ensure privacy and trust.

Metrics Used to Measure Success & Lessons Learned

To evaluate the effectiveness of the Inclusive+ Generative AI platform and ensure continuous improvement, we tracked several key performance indicators (KPIs):

  • Relevance and Accuracy: Regularly measured the accuracy of AI-generated provider matches against verified RDS data and user expectations, ensuring personalized and culturally competent results.
  • User Engagement: Monitored click-through rates, interaction depth, and return visits to gauge user satisfaction and trust in the platform.
  • Response Latency: Targeted sub-second response times for Bedrock-generated answers, ensuring a seamless, real-time conversational experience.
  • Error Rates: Tracked Lambda errors, API Gateway 4xx/5xx responses, and SQS queue backlogs through CloudWatch dashboards to maintain system stability.
  • User Feedback: Captured explicit feedback through in-app ratings and qualitative surveys to guide prompt and response refinements.
  • Cost Efficiency: Analyzed Bedrock token usage and Lambda/SQS metrics to maintain cost-effective scalability.
  • Bias and Inclusivity: Conducted periodic reviews to ensure recommendations remain unbiased and culturally affirming for LGBTQIA+ users.

From these metrics, key lessons learned included the importance of iteratively refining prompt structures to align with evolving user needs and conversational nuances. Real-time feedback loops also highlighted the value of continuous prompt optimization and proactive monitoring of data integrity to sustain trust and engagement. These insights have driven ongoing enhancements, ensuring that Inclusive+ remains a leader in inclusive, culturally competent healthcare recommendations.

Outcome (Business Impact)

  • Enhanced user satisfaction and trust through personalized, culturally sensitive provider recommendations tailored to LGBTQIA+ identities and healthcare needs.
  • Improved match accuracy by 40% compared to the previous static directory search, driven by dynamic Bedrock-powered conversations and RAG-enhanced relevance.
  • Reduced search-to-decision time by 35%, enabling users to find culturally competent providers more efficiently and confidently.
  • Strengthened brand trust, with 92% of surveyed users indicating they felt more seen and supported by the culturally sensitive, inclusive platform.
  • Eliminated manual intervention for prompt and data updates by leveraging fully automated data pipelines and real-time observability.

With AWS, we’ve reduced our root cause analysis time by 80%, allowing us to focus on building better features instead of being bogged down by system failures.
Ashtutosh Yadav
Ashtutosh Yadav
Sr. Data Architect

Get started on your cloud modernization journey today!

Let Cloudtech build a modern AWS infrastructure that’s right for your business.