Home icon

Incorporate offline and online human – machine workflows into your generative AI applications on AWS

Machine Learning Blog



This article discusses how to incorporate offline and online human workflows into generative AI applications on AWS.

Specifically, the article covers:

  • An offline human feedback workflow using Amazon SageMaker Ground Truth to collect human evaluations on chatbot responses, which can be used for reinforcement learning to fine-tune the chatbot's language model (RLHF).
  • An online human workflow using Amazon Bedrock, LangChain, and AWS Step Functions to invoke real-time human intervention based on sentiment analysis of chatbot responses, allowing human experts to take over or join conversations when the AI reaches its limits.
  • Code snippets, architecture diagrams, and an example use case demonstrating the implementation of these workflows.
  • The conclusion emphasizes how these human-in-the-loop techniques enable the development of responsible and robust generative AI applications.


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jun 6
2024
Unlocking generative AI opportunities with AWS
Mar 14
2024
Best practices to build generative AI applications on AWS
Jan 31
2024
Generative AI Infrastructure at AWS
Nov 22
2024
Orchestrate generative AI workflows with Amazon Bedrock and AWS Step Functions

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.