Enable javascript in your browser for better experience. Need to know to enable it? Go here.

Driving innovation in social services with Amazon Bedrock

Singapore is undergoing a significant social shift, driven by its rapidly aging population. In 2022, 18% of its citizens were seniors aged 65 and above. By 2030, this demographic is projected to increase to 25%. Even with heightened focus and investments in healthcare, economic policies, and social schemes, the social sector grapples with surging healthcare demands and manpower constraints. 

 

Volunteerism is recognized as an important means to augment these efforts. However, despite its potential, Singapore’s social sector faces significant hurdles. Although more than half of Singaporeans have expressed an interest in volunteering, only 22% actually do. There are many reasons for this, but of particular importance are inefficient processes and inadequate support systems for attracting, retaining and seamlessly integrating volunteers. In this context, technological innovation becomes not just beneficial but necessary.

 

At Thoughtworks, we recognize the immense value generative AI can bring to solving long standing challenges faced by the social sector. This motivated us to explore how AI can reinvent the volunteer experience and amplify its impact towards the aging population. 

 

In partnership with AWS, we designed and developed an innovation project by bringing together our expertise in product innovation and AI capabilities and AWS’ advanced infrastructure and solutions for generative AI. In six weeks, we developed ISLA — an AI-powered chatbot that helps volunteers deliver exceptional services to those in need and enables social service providers to streamline their volunteer operations.  

 

In this post, we will explore how we leveraged Amazon Bedrock and Thoughtworks’ GenAI Digital Product Accelerator to define impactful use cases in the volunteer experience, de-risk product decisions by assessing desirability, viability, feasibility and consider both the ethical and practical considerations implications of using generative AI in such a field. 

High-impact AI use cases to streamline the volunteer journey

 

Applying Thoughtworks’ AI-Powered Digital Products approach, we began our exploration by identifying high-impact use cases for AI to reduce friction in the volunteer’s journey. We mapped several interactions between volunteers, social service agencies, social workers and beneficiaries, uncovering significant pain points and opportunities for AI intervention. For each identified area, we envisioned the various roles AI can play: as an assistant to guide, an automator to streamline tasks, a personalizer to tailor experiences, and a comforter for emotional support. 

 

This strategic alignment of AI capabilities for specific volunteer pain points allowed us to define three clear use cases for ISLA:

Screenshot of the ISLA user interface

1.  Train and onboard new volunteers

 

Training and onboarding can be a tedious and time-consuming process for both volunteers and social service providers. ISLA summarizes and contextualizes dense and lengthy training materials, responds to queries from volunteers, and provides clear and concise information as and when they need it. 

2. Role-playing to build rapport

For volunteers, building rapport and creating trust with their benefactors is crucial to building a healthy partnership. ISLA offers role play simulations, taking on the role of a benefactor. This offers volunteers an immersive learning experience that enhances their skills and confidence to build rapport and nurture long-lasting relationships. 

Screenshot of the ISLA user interface

3. Simplify documentation through voice-to-text transcription and summarization

Documenting visits and interactions with benefactors often takes up a lot of a volunteer’s time, often involving hours of the volunteer’s time to scribe, clarify and condense, and submit their notes. ISLA removes the hassle by simplifying the note-taking process through voice-to-text transcription and summarization. Automating such routine tasks help free up volunteers so they can focus on what matters most: taking care of their benefactors.

From idea to impact: Developing ISLA using Amazon Bedrock

 

Together with AWS, we embarked on a journey to create a proof-of-concept that was technologically advanced but also empathetic and contextually aware. We leveraged AWS’s Amazon Bedrock that makes it easy to evaluate and experiment with top foundation models from leading AI companies like Anthropic, Meta, Stability AI and Amazon, and built on our own expertise in generative AI — and deep understanding of the public sector and social services — to build a product that showcases our combined expertise and shared commitment to driving innovation and social impact.

 

An analysis of ISLA’s technical architecture

 

Amazon Bedrock's Central Role:

  • We integrated Amazon Bedrock's managed services to tap into a diverse array of foundation models, leveraging the platform's capacity to serve large language models (LLMs) through a seamless API interface. This integration is key to scaling our chatbot's capabilities and ensuring it remains at the forefront of AI-driven innovation.

     

Strategic model selection:

 

  • Our selection of Amazon Titan for the foundational model is a strategic decision that anchors our project in versatility and high performance. Titan's expansive range of applications spans from nuanced text generation to intricate semantic search capabilities and innovative image generation, all while adhering to the rigorous standards for responsible AI practices shared by both AWS and Thoughtworks. 

  • The Titan text models are adept at enhancing productivity, enabling a spectrum of tasks including sophisticated content creation, accurate classification, and dynamic conversational exchanges, all pivotal in providing precise, contextually relevant search results that resonate with users.

  • Based on our need in terms of allowance, performance and capabilities, Titan offered the most cost effective solution for the specific use case we had.

  • Titan's plans to support more than 100 languages and fine-tuning capabilities will allow us to customize the models to our specific organizational needs, striking an optimal balance between performance excellence and cost-effectiveness. This customization is vital for handling extensive datasets and fostering significant user interactions.

Efficient software development kit (SDK) integration:

 

  • The adoption of the Amazon Bedrock SDK proved to be less challenging than anticipated. Its familiar patterns meant our developers could swiftly adapt to it, leading to rapid development cycles and minimal need for constant documentation consultation.

     

Retrieval-augmented generation (RAG) and knowledge base capabilities:

 

  • The late 2023 release of Amazon Bedrock's fully-managed RAG service was promptly explored. Although its initial constraints—such as limited model selection and a rigid response mechanism—led us to hold off immediate integration, we recognized its future potential to streamline our chatbot's data retrieval process. 

  • Instead, our approach was to leverage LangChain which is already integrated with Amazon Bedrock to achieve RAG functionality.

     

Crafting custom solutions:

 

  • We navigated through the complexities of inter-library dependencies, ensuring our system remains robust against library updates. This approach minimized potential conflicts and preserved the integrity of our chatbot's operations.

 

Exploring and debating the landscape of generative AI with the AWS team has been exhilarating. The preliminary phases have shone a spotlight on Claude v2.1, favoring its deployment for its remarkable stability and performance — qualities essential for production. 

 

However, the journey doesn't end here. We're energized by the progress of models like Titan and are committed to staying on the cusp of AI innovation. Amazon Bedrock's seamless integration and rich palette of AI models position it as the ideal platform for our project, ensuring that when we shift into production, we'll have the most sophisticated managed services at our disposal. 

The Future of AI in Social Services

 

Looking ahead, our vision for ISLA extends far beyond its current capabilities. We envisage it evolving into an AI companion that not only assists but anticipates the needs of volunteers and social workers. The potential to revolutionize the social sector is immense — transforming the way support is delivered, enhancing community engagement, and ultimately, contributing to a more empathetic and effective social services ecosystem. ISLA is just the beginning of a journey towards a smarter, more compassionate future in social care.

Partner with Thoughtworks for Generative AI and Innovation

 

Thoughtworks is an AWS Premier Services Partner and AWS Marketplace Seller with multiple AWS Competencies including Machine Learning, Data & Analytics Services and Government Services. Thoughtworks brings advanced modernization and software engineering expertise to help customers redesign organizations, evolve architecture, and transform business applications and engineering teams.

 

Embarking on your AI transformation journey with Thoughtworks and Amazon Bedrock is a stride towards pioneering change. We invite enterprises to leverage Thoughtworks’ GenAI Digital Product Accelerator for creating cutting-edge AI solutions.

 

Connect with our team of experts to explore Amazon Bedrock and discover how it can propel your business forward. You can also explore our offerings on the AWS Marketplace to access a suite of tools and services designed for AI innovation.

Disclaimer: The statements and opinions expressed in this article are those of the author(s) and do not necessarily reflect the positions of Thoughtworks.

We help organizations get more from AWS