Success Story

A Chilean corporate wellbeing platform takes a generative-AI assistant to production on AWS

HR-tech / Corporate wellbeing
AI

At a glance

A Chilean corporate wellbeing platform added a generative-AI conversational assistant to its app. Craftech designed it, built it on a serverless architecture on AWS with Amazon Bedrock, and rolled it out progressively to production. The assistant answers from the company's documentation and hands off to human support when needed.

The company is a Chilean corporate wellbeing platform: it offers companies a benefits and wellbeing app for their employees. It wanted to add a generative-AI conversational assistant to that app and worked with Craftech to design it, build it and take it to production on AWS.

Solution implemented

  • Design and development of a generative-AI conversational assistant, with multiple personalities, embedded in the company's app
  • RAG (Retrieval-Augmented Generation) so the assistant answers from the company's documentation
  • Integration with the ticketing system to hand off to human support
  • Serverless architecture with AWS Lambda for the chatbot and embeddings processing, exposed through Amazon API Gateway
  • Amazon Bedrock as the language model foundation and Amazon Comprehend for text processing
  • Infrastructure as code with Serverless Framework, CI/CD with integrated tests and credentials in AWS Secrets Manager
  • Progressive rollout to production, with conversation monitoring and traceability

Business Challenge

The assistant had to resolve user questions about benefits and how to use the app, be available 24 hours a day and hand off to a person when a question required it. Its answers had to rely on the company's own documentation, and the assistant had to integrate with the existing support flow.

Solution

Craftech designed and built a generative-AI conversational assistant with multiple personalities. The solution uses RAG: the assistant retrieves the relevant information from the company's documentation and answers on that basis. When a question goes beyond what it can resolve, it routes the case to the ticketing system so the support team can pick it up. The platform is serverless on AWS: AWS Lambda functions for the chatbot and embeddings processing, exposed through Amazon API Gateway, Amazon Bedrock as the language model foundation, Amazon Comprehend for text processing and Amazon S3 for storage. The infrastructure was defined as code with Serverless Framework, with CI/CD with integrated tests and credentials in AWS Secrets Manager. The rollout was progressive, with conversation monitoring and traceability.

Outcomes

  • Generative-AI assistant in production inside the app
  • Answers grounded in the company's documentation, available 24 hours a day
  • Handoff to human support through the ticketing system
  • Monitoring and traceability of every conversation

Technologies used

Amazon Bedrock as the language model foundation, with RAG over the company's documentation. AWS Lambda functions exposed through Amazon API Gateway, Amazon Comprehend for text processing and Amazon S3 for storage. Infrastructure as code with Serverless Framework, CI/CD with integrated tests and AWS Secrets Manager for credentials.

Stack & technologies

Amazon BedrockAWS LambdaAmazon API GatewayAmazon ComprehendAmazon S3AWS Secrets ManagerServerless Framework

Facing a similar challenge?

Get a free AWS cost & architecture assessment.

The future of your company
takes off with Craftech

Leverage our AWS expertise to propel your company into the cloud.

Get your free assessment